<div dir="ltr">Hi,<div><br></div><div>I am having a VM on Azure where I have got two &#39;accelerated networking&#39; interfaces of Mellanox</div><div># lspci -nn|grep -i ether<br>
6561:00:02.0 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016] (rev 80)<br>f08c:00:02.0 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016] (rev 80)</div><div><br></div><div>I have a DPDK application which needs to obtain &#39;all&#39; packets from the NIC.</div><div>I installed the drivers, compiled DPDK24.11 (Ubuntu20.04), my app starts and is able to detect the NIC&#39;s.</div><div>Everything looks good</div><div>myapp.out -c 0x07 -a f08c:00:02.0 -a 6561:00:02.0<br>
EAL: Detected CPU lcores: 8<br>
EAL: Detected NUMA nodes: 1<br>
EAL: Detected shared linkage of DPDK<br>
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket<br>
EAL: Selected IOVA mode &#39;PA&#39;<br>
EAL: VFIO support initialized<br>
mlx5_net: Default miss action is not supported.<br>
mlx5_net: Default miss action is not supported.<br>
All Ports initialized<br>
Port 0 is UP (50000 Mbps)<br>
Port 1 is UP (50000 Mbps)</div><div><br></div><div>The trouble is that the ARP packets are not being picked up by my DPDK application, I see them being delivered to the kernel via the eth interface corresponding to the port (MLX is a bifurcated driver, you don&#39;t really bind to the NIC, so you still see the eth interfaces at linux level and can run tcpdump on those, I see ARP packets in the tcpdump there on the interface)</div><div>I can receive UDP packets in my DPDK app though.</div><div><br></div><div>My application is not setting any rte_flow rules etc. so I was expecting that by default my dpdk app would get all the packets as is normally the case with other NIC&#39;s</div><div>Is there something I need to configure for Mellanox NIC somewhere such that I get &#39;all&#39; the packets including ARP packets in my DPDK app ?</div><div><br></div><div>Regards</div><div>-Prashant</div><div><br></div></div>