> On Feb 21, 2017, at 7:54 AM, SaurabhGL <[email protected]> wrote: > > 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:
The virtual devices will not show up in dpdk-devbind.py and if the enp2s0 is not suppose to be in the list, but I have not run the eth_pcap device before. > > 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? I think the eth_pcap the interface needs to be owned by the kernel not DPDK, but I could wrong here. When you use PCAP the first way does it work? > > Thanks in advance for quick solution > -- > Thanks & Regards > > Saurabh Aggarwal Regards, Keith
