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.