No RX with VLAN filter offload

, ,

Hello,

DPDK: 19.11

Driver: mlx5

OS: CentOS Linux release 7.9.2009 (Kernel: 3.10.0-1160.66.1.el7.x86_64)

Iface: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function]

I am bringing-up our dpdk based L3 forwarding app in VM on Openshift redhat platform. It has both RX and TX HW offloads enabled, including VLAN filtering (DEV_RX_OFFLOAD_VLAN_FILTER). VLAN registers successfully in the VF - however no packets are getting received in with the registered VLAN. RX-packet counter doesn’t increment and there are no errors reported in stats, or even in logs with driver debug logging enabled via log-level=“mlx5,8”.

Port ID 0 stats, rxPkts: 27, txPkts: 107, rxBytes: 1524, txBytes: 10366, missed: 0, rxErrors: 0, txErrors: 0, rx_nombuf: 0
Port ID 0 stats, rxPkts: 27, txPkts: 112, rxBytes: 1524, txBytes: 10738, missed: 0, rxErrors: 0, txErrors: 0, rx_nombuf: 0
Port ID 0 stats, rxPkts: 27, txPkts: 122, rxBytes: 1524, txBytes: 11410, missed: 0, rxErrors: 0, txErrors: 0, rx_nombuf: 0

When no VLAN is registered or vlan filtering offload is disabled, then IP unicast, broadcast and multicast packets are received, but no VLAN packet, which means VLAN filtering offload doesn’t work. Result from dpdk 17.11 testing is also same. Does anyone noticed or reported such problem? Any help or pointer will be appreciated.

Thanks,
Rohit

hi ,
Could you describe how you test(commands, procedures).
Could you test with testpmd , then share the detail command?
It will help to understand the issue better.

Regards,
Levei

Hi @Levei_Luo,

Thank you for your reply.

I realized later that RX doesn’t work with mellanox CX4 SRIOV VF because the packet is double tagged with two .1q tags (802.1q in 802.1q). And there is a known issue in the Red Hat Openshift “inbox” driver to handle. So, until this is not fixed in inbox driver, it won’t work with DPDK driver either.

Regards,
Rohit

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.