blob: 560d30cac67f75c933c1ca9d7628053ecfb11d0a (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
ifdown {{ item.device_name }}
modprobe uio
lsmod |grep igb_uio
if [ $? == 0 ];then
rmmod igb_uio
fi
insmod {{ item.dpdk_build }}/kmod/igb_uio.ko
{{ item.dpdk_dir }}/tools/dpdk-devbind.py --bind=igb_uio {{ item.device_name }}
|