DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] VLAN tagged traffic IP distribution with MLNX-5.2
@ 2021-04-06  9:47 Krauz, Pavel
  0 siblings, 0 replies; only message in thread
From: Krauz, Pavel @ 2021-04-06  9:47 UTC (permalink / raw)
  To: users

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
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-06  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06  9:47 [dpdk-users] VLAN tagged traffic IP distribution with MLNX-5.2 Krauz, Pavel

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git