.. code-block:: console
modprobe vfio-pci
- dpdk_nic_bind.py -b vfio-pci 01:10.0
- dpdk_nic_bind.py -b vfio-pci 01:10.1
+ dpdk-devbind.py -b vfio-pci 01:10.0
+ dpdk-devbind.py -b vfio-pci 01:10.1
#. Run a DPDK application on the VFs:
.. code-block:: console
modprobe vfio-pci
- dpdk_nic_bind.py -b vfio-pci 01:10.0
- dpdk_nic_bind.py -b vfio-pci 01:10.1
+ dpdk-devbind.py -b vfio-pci 01:10.0
+ dpdk-devbind.py -b vfio-pci 01:10.1
#. run DPDK application on VFs:
cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
ifconfig -a
- /root/dpdk/tools/dpdk_nic_bind.py --status
+ /root/dpdk/tools/dpdk-devbind.py --status
rmmod virtio-pci ixgbevf
modprobe uio
insmod /root/dpdk/x86_64-default-linuxapp-gcc/kmod/igb_uio.ko
- /root/dpdk/tools/dpdk_nic_bind.py -b igb_uio 0000:00:03.0
- /root/dpdk/tools/dpdk_nic_bind.py -b igb_uio 0000:00:04.0
+ /root/dpdk/tools/dpdk-devbind.py -b igb_uio 0000:00:03.0
+ /root/dpdk/tools/dpdk-devbind.py -b igb_uio 0000:00:04.0
- /root/dpdk/tools/dpdk_nic_bind.py --status
+ /root/dpdk/tools/dpdk-devbind.py --status
run_testpmd_bonding_in_vm.sh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: console
cd /root/dpdk/tools
- ./dpdk_nic_bind.py -b igb_uio 0000:02:00.0
+ ./dpdk-devbind.py -b igb_uio 0000:02:00.0
For Niantic NIC.
.. code-block:: console
cd /root/dpdk/tools
- ./dpdk_nic_bind.py -b igb_uio 0000:09:00.0
+ ./dpdk-devbind.py -b igb_uio 0000:09:00.0
On host_server_1: Terminal 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: console
cd /root/dpdk/tools
- ./dpdk_nic_bind.py -b igb_uio 0000:03:00.0
+ ./dpdk-devbind.py -b igb_uio 0000:03:00.0
For Niantic NIC.
.. code-block:: console
cd /root/dpdk/tools
- ./dpdk_nic_bind.py -b igb_uio 0000:06:00.0
+ ./dpdk-devbind.py -b igb_uio 0000:06:00.0
On host_server_2: Terminal 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
ifconfig -a
- /root/dpdk/tools/dpdk_nic_bind.py --status
+ /root/dpdk/tools/dpdk-devbind.py --status
rmmod virtio-pci
modprobe uio
insmod /root/dpdk/x86_64-default-linuxapp-gcc/kmod/igb_uio.ko
- /root/dpdk/tools/dpdk_nic_bind.py -b igb_uio 0000:00:03.0
- /root/dpdk/tools/dpdk_nic_bind.py -b igb_uio 0000:00:04.0
+ /root/dpdk/tools/dpdk-devbind.py -b igb_uio 0000:00:03.0
+ /root/dpdk/tools/dpdk-devbind.py -b igb_uio 0000:00:04.0
- /root/dpdk/tools/dpdk_nic_bind.py --status
+ /root/dpdk/tools/dpdk-devbind.py --status
run_testpmd_in_vm.sh
~~~~~~~~~~~~~~~~~~~~