From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
by inbox.dpdk.org (Postfix) with ESMTP id 7A3A64332D;
Tue, 14 Nov 2023 18:31:20 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 4A7EF4028A;
Tue, 14 Nov 2023 18:31:20 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id A88E84027B
for ; Tue, 14 Nov 2023 18:31:18 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 97B944332E; Tue, 14 Nov 2023 18:31:18 +0100 (CET)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1323] NIC RSS Symmetric hash is not working on Marvell
OcteonTx2 (otx2) platform when configuring 4 tuple
Date: Tue, 14 Nov 2023 17:31:18 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: ethdev
X-Bugzilla-Version: 20.11
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: pingtosiva@gmail.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=16999830780.a91FB.1740446
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--16999830780.a91FB.1740446
Date: Tue, 14 Nov 2023 18:31:18 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1323
Bug ID: 1323
Summary: NIC RSS Symmetric hash is not working on Marvell
OcteonTx2 (otx2) platform when configuring 4 tuple
Product: DPDK
Version: 20.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: pingtosiva@gmail.com
Target Milestone: ---
The NIC RSS symmetric hash is not working on the otx2 platform i.e., client=
to
server and server=C2=A0to client traffic are not hashed=C2=A0to the same co=
re. Below is
code snippet how 4 tuple hashing is enabled on NIC RSS.
As read from a different article, I have tried with symmetric hash_key as 0=
x00,
0x01 instead of 0x6D,0x5A. Even then symmetric=C2=A0hash is not working.
This is critical for my stateful application development. Kindly provide if
there is a way to implement it. Thanks! in advance.
DPDK version used is 20.11.
#define RSS_HASH_KEY_LENGTH 40
static uint8_t symmetric_hash_key[RSS_HASH_KEY_LENGTH] =3D {=C2=A0=C2=A00x6=
D, 0x5A, 0x6D,
0x5A, 0x6D, 0x5A, 0x6D, 0x5A,=C2=A0=C2=A00x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A=
, 0x6D, 0x5A,=C2=A0
0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A,=C2=A0=C2=A00x6D, 0x5A, 0x6D=
, 0x5A, 0x6D,
0x5A, 0x6D, 0x5A,=C2=A0=C2=A00x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A=
,};uint8_t
symmetric_hash_key_be[RSS_HASH_KEY_LENGTH];
struct rte_eth_conf port_cfg;
port_cfg.rx_adv_conf.rss_conf.rss_hf =3D (ETH_RSS_UDP | ETH_RSS_TCP |
ETH_RSS_SCTP) | (ETH_RSS_IP & ~ETH_RSS_IPV6_EX);
port_cfg.rx_adv_conf.rss_conf.rss_key_len =3D RSS_HASH_KEY_LENGTH;
port_cfg.rx_adv_conf.rss_conf.rss_key =3D symmetric_hash_key;
port_cfg.txmode.mq_mode =3D ETH_MQ_TX_NONE;
// Other port_cfg params are updated.
rte_eth_dev_configure(port_id, nb_rxq, nb_txq, &port_cfg);
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--16999830780.a91FB.1740446
Date: Tue, 14 Nov 2023 18:31:18 +0100
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
NIC RSS Symmetric hash is not working on Marvell OcteonTx2 (o=
tx2) platform when configuring 4 tuple
Product
DPDK
Version
20.11
Hardware
All
OS
All
Status
UNCONFIRMED
Severity
major
Priority
Normal
Component
ethdev
Assignee
dev@dpdk.org
Reporter
pingtosiva@gmail.com
Target Milestone
---
The NIC RSS symmetric hash is not =
working on the otx2 platform i.e., client to
server and server=C2=A0to client traffic are not hashed=C2=A0to the same co=
re. Below is
code snippet how 4 tuple hashing is enabled on NIC RSS.
As read from a different article, I have tried with symmetric hash_key as 0=
x00,
0x01 instead of 0x6D,0x5A. Even then symmetric=C2=A0hash is not working.
This is critical for my stateful application development. Kindly provide if
there is a way to implement it. Thanks! in advance.
DPDK version used is 20.11.
#define RSS_HASH_KEY_LENGTH 40
static uint8_t symmetric_hash_key[RSS_HASH_KEY_LENGTH] =3D {=C2=A0=C2=A00x6=
D, 0x5A, 0x6D,
0x5A, 0x6D, 0x5A, 0x6D, 0x5A,=C2=A0=C2=A00x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A=
, 0x6D, 0x5A,=C2=A0
0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A,=C2=A0=C2=A00x6D, 0x5A, 0x6D=
, 0x5A, 0x6D,
0x5A, 0x6D, 0x5A,=C2=A0=C2=A00x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A=
,};uint8_t
symmetric_hash_key_be[RSS_HASH_KEY_LENGTH];
struct rte_eth_conf port_cfg;
port_cfg.rx_adv_conf.rss_conf.rss_hf =3D (ETH_RSS_UDP | ETH_RSS_TCP |
ETH_RSS_SCTP) | (ETH_RSS_IP & ~ETH_RSS_IPV6_EX);
port_cfg.rx_adv_conf.rss_conf.rss_key_len =3D RSS_HASH_KEY_LENGTH;
port_cfg.rx_adv_conf.rss_conf.rss_key =3D symmetric_hash_key;
port_cfg.txmode.mq_mode =3D ETH_MQ_TX_NONE;
// Other port_cfg params are updated.
rte_eth_dev_configure(port_id, nb_rxq, nb_txq, &port_cfg);