Bug 470 - vmxnet3 pmd cannot received icmp6 ns packet
Summary: vmxnet3 pmd cannot received icmp6 ns packet
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: ethdev (show other bugs)
Version: 16.04
Hardware: x86 Linux
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2020-05-09 13:53 CEST by longyu
Modified: 2020-05-11 09:31 CEST (History)
1 user (show)



Attachments

Description longyu 2020-05-09 13:53:19 CEST
Environment:

Vmware ESXi 6.5.0


vmxnet3 bind information:

Network devices using DPDK-compatible driver
============================================
0000:03:00.0 'VMXNET3 Ethernet Controller' drv=igb_uio unused=uio_pci_generic
0000:0b:00.0 'VMXNET3 Ethernet Controller' drv=igb_uio unused=uio_pci_generic


I changed vmxnet3_recv_pkts function to use rte_pktmbuf_dump dump all the mbuf pakcet received。

I changed vmxnet3_recv_pkts like this:

+ int i;

........

 rcd_done:
+			for (i = 0; i < nb_rx; i++) {
+				struct rte_mbuf *m = rx_pkts[i];
+				rte_pktmbuf_dump(stdout, m, m->pkt_len);
+			}

Then I run our program and redirect the dump information to a file. Same time, I used ping6 to send icmp6 ns packet in another virtual machine。
 
After awhile I greped icmp6 ns packet type from dumped file,but got none packet dump information.

After that, I binded vmxnet3 to kernel driver, and setted ipv6 address,this time the interface can received icmp6 ns packet.

Note You need to log in before you can comment on or make changes to this bug.