Reputation: 93
I have implemented a simple code that sends the packet from one machine to other using DPDK. When I use E1000E then I am able to receive packets. But when I use vmxnet3 then at the receiver side erroneous packets are received as per ethernet stats. rte_eth_rx_burst() dont receive any packet. Is there a way to solve this? Why packets are erroneous?
update: vmxnet3 is receiving non DPDK packets correctly but when it comes to DPDK packets sent by our custom generator, it is still categorised as erroneous. Did something changed with respect to security in ESXI and Vcenter? I worked for earlier version of ESXI with vcenter 6+.
[EDIT-1] details shared based on the comment
VMShpere version: 7
Upvotes: 0
Views: 881
Reputation: 4798
[answer based on the live debug] there is no issue on the DPDK side with either e1000e or vmxnet3 device. Based on the current debug it based on switch on vsphere
Debugging with kernel driver vmnext3
, shows
it fails
.tcpdump
showcases that VM-1 is not receiving packets from the switch from VM-2. While packets from VM-1 are received.The same is behaviour with DPDK l2fwd/testpmd/skeleton and even sample application. Hence DPDK 18.11.11 LTS with vmxnet3 has no issues in sending or receiving packets.
Upvotes: 0