[dpdk-users] Network - Drivers

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Dec 14 10:52:38 CET 2016


Hi,

2016-12-14 15:08, Kumaraparameshwaran Rathnavel:
> Hi All,
> 
> I have been trying to use network drivers provided by the DPDK to write a small client - server application. I will explain the configuration

I suggest to start your tests with testpmd in txonly mode.

> I used uio_pci_generic and igb_uio both modules in the Kernel for DPDK Network drivers in userspace. The client and server were run on Centos VM with virtual box as the Host and made sure that Virtual NIC had the driver.
> 
> The sequence of calling the functions as 
> 
> rte_eth_dev_count
> rte_eth_dev_configure
> tx_queue_setup
> rte_pkt_mbuf_alloc
> 
> I filled the packet with Ethernet Header and Ethertype as 0x8870. I did fill the pkt_len and l2_hdr len. I did not fill the VLAN Tag, Outer VLAN tag,
> flags. Transmission is showing success but I am not receiving any packet in the other side wheree i run the receiver setup.
> 
> Can you suggest what should be done and how it should be done.
> 
> Does Drivers work in Virtual Box? If not which is prefered ESX or KVM and does Virtual NICs work?

The supported NICs are listed here: http://dpdk.org/doc/nics
Virtualbox is not known to be fully compatible, but virtio works with Qemu/KVM
and vmxnet3 works with ESX.


More information about the users mailing list