[dpdk-users] Effect of Run pktgen application with NIC under linux control and dpdk control

SaurabhGL saggarwal848 at gmail.com
Tue Feb 21 14:54:54 CET 2017


Hi Dpdk Team,

I am new to dpdk and am trying to run dpdk pktgen application by command
mentioned below :
./pktgen -c 0x1f -n 3 --vdev=eth_pcap0,iface=enp2s0 -- -P -m "[1:3].0"

Before run the application i execute the script named "dpdk-devbind.py
--status" It's showing status as mentioned below:

Network devices using DPDK-compatible driver
============================================
<none>

Network devices using kernel driver
===================================
0000:02:00.0 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
if=enp2s0 drv=r8169 unused= *Active*
0000:04:01.0 '82546EB Gigabit Ethernet Controller (Copper)' if=enp4s1f0
drv=e1000 unused=
0000:04:01.1 '82546EB Gigabit Ethernet Controller (Copper)' if=enp4s1f1
drv=e1000 unused=

Other network devices
=====================
<none>

It is showing no interface are under the DPDK-compatible driver list, Is it
means that we are not using the interface enp2s0 with dpdk?
if not, Is it affecting  on performance of pktgen application ?

And Next I to bring the interfaces "enp2s0" from kernel driver list to the
"DPDK-compatible driver" list as shown below

Network devices using DPDK-compatible driver
============================================
0000:02:00.0 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
drv=igb_uio unused=r8169,uio_pci_generic

Network devices using kernel driver
===================================
0000:04:01.0 '82546EB Gigabit Ethernet Controller (Copper)' if=enp4s1f0
drv=e1000 unused=igb_uio,uio_pci_generic
0000:04:01.1 '82546EB Gigabit Ethernet Controller (Copper)' if=enp4s1f1
drv=e1000 unused=igb_uio,uio_pci_generic

Other network devices
=====================
<none>

but I am not able to got the it interface name and not in active mode also,
How to use now pktgen application without interface name?

Thanks in advance for quick solution
-- 
Thanks & Regards

Saurabh Aggarwal


More information about the users mailing list