DPDK usage discussions
 help / color / mirror / Atom feed
From: "Krauz, Pavel" <Pavel.Krauz@anritsu.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] VLAN tagged traffic IP distribution with MLNX-5.2
Date: Tue, 6 Apr 2021 09:47:06 +0000
Message-ID: <OSBPR01MB41521A86D4B483F0E5329163E4769@OSBPR01MB4152.jpnprd01.prod.outlook.com> (raw)

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



                 reply	other threads:[~2021-04-06  9:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OSBPR01MB41521A86D4B483F0E5329163E4769@OSBPR01MB4152.jpnprd01.prod.outlook.com \
    --to=pavel.krauz@anritsu.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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