numam-dpdk/tools
Gary Mussar 07c9d24e9d tools: fix virtio interface name when binding
The dpdk-devbind.py script does not find/display the ifname for virtio
interfaces since the "net" directory is not directly under the device
directory but rather under a subdirectory.
eg.
> dpdk-devbind.py --status
0000:00:03.0 'Virtio network device' if= drv=virtio-pci unused=

This change searches for the first "net" directory under the device
directory hierarchy.
eg.
0000:00:03.0 'Virtio network device' if=ens3 drv=virtio-pci unused=

Fixes: 629395b063 ("igb_uio: remove PCI id table")

Signed-off-by: Gary Mussar <gmussar@ciena.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-09-27 08:08:31 +02:00
..
cpu_layout.py tools: remove extra blank lines in CPU layout 2016-03-24 22:04:10 +01:00
dpdk-devbind.py tools: fix virtio interface name when binding 2016-09-27 08:08:31 +02:00
dpdk-pmdinfo.py tools: fix json output of pmdinfo 2016-10-04 11:52:10 +02:00
dpdk-setup.sh unify tools naming 2016-07-22 22:31:02 +02:00