Hello all, I am having problem with IP RSS distribution when using Mellanox card (HPE 100G card: Mellanox Technologies MT27800 Family [ConnectX-5]) and different version of Mellanox EN/OFED package when receiving VLAN traffic. It seems that when DPDK is compiled with Mellanox 5.2 (mlnx-en-5.2-1.0.4.0-rhel7.9-x86_64.tgz) then VLAN tagged traffic is not RSS distributed to different queues when using IP distribution. When using older Mellanox 4.6 (mlnx-en-4.7-3.2.9.0-rhel7.7-x86_64.tgz) the RSS is working correctly.
We are using dpdk 19.11.4 but the result is same with dpdk 19.11.7. See my test with testpmd compiled with different version of Mellanox package using 4 queues and RSS IP distribution: In case of Mellanox 4.x VLAN traffic is distributed into 4 queues. When using Mellanox 5.2 all VLAN traffic is delivered to queue 0. When using non VLAN traffic everything is working correctly / distributed. Is there anything I am missing for VLAN or is it a bug? b.r. Pavel ------------------------------------------------------------------------------------------------------------------- ./testpmd-19114mlx4 -- -i --rxq=4 --txq=4 --rss-ip testpmd> show fwd stats all ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 ------- RX-packets: 1939023 TX-packets: 1939023 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 1/Queue= 1 ------- RX-packets: 1930938 TX-packets: 1930938 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 ------- RX-packets: 1647541 TX-packets: 1647541 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 1/Queue= 3 ------- RX-packets: 1912876 TX-packets: 1912876 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 7430387 RX-dropped: 0 RX-total: 7430387 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- ---------------------- Forward statistics for port 1 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 7430574 TX-dropped: 0 TX-total: 7430574 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 7430387 RX-dropped: 0 RX-total: 7430387 TX-packets: 7430574 TX-dropped: 0 TX-total: 7430574 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------------------------------------------------------------------------------------------------------------------------ ./testpmd-19114mlx5 -- -i --rxq=4 --txq=4 --rss-ip ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 ------- RX-packets: 16844572 TX-packets: 16844572 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 16844578 RX-dropped: 0 RX-total: 16844578 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- ---------------------- Forward statistics for port 1 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 16844650 TX-dropped: 0 TX-total: 16844650 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 16844578 RX-dropped: 0 RX-total: 16844578 TX-packets: 16844650 TX-dropped: 0 TX-total: 16844650 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++