[dpdk-users] Network - Drivers

Kumaraparameshwaran Rathnavel krath at cloudsimple.com
Wed Dec 14 10:38:42 CET 2016


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 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?

Thanking You,
Param.


More information about the users mailing list