From: Ajit Khaparde <ajit.khaparde@broadcom.com>
To: dev@dpdk.org
Cc: ferruh.yigit@intel.com
Subject: [dpdk-dev] [PATCH 0/3] add support for RSS level
Date: Fri, 6 Dec 2019 16:59:16 -0800 [thread overview]
Message-ID: <20191207005919.10962-1-ajit.khaparde@broadcom.com> (raw)
Some of NICs can allow a DPDK application to select the RSS level
to perform RSS hash on an incoming encapsulated packets. But it is
not possible to set this currently because rte_eth_rss_conf does
not have any field to indicate the RSS level while specifying RSS
configuration parameters.
This patchset extends rte_eth_rss_conf by adding rss_level.
An application can specify the RSS level based on the packet
encapsulation level and apply the setting to the specified device.
- rss_level of 0 requests the default behavior.
- rss_level of 1 requests RSS to be performed on the outermost packet
encapsulation level.
- rss_level of 2 and subsequent values request RSS to be performed
on the specified inner packet encapsulation level, from outermost to
innermost.
Patch 1/3 extends rte_ethdev.h to add this support.
Patch 2/3 has modifications to testpmd to use this feature.
Patch 3/3 has bnxt modifications to configure rss_level based on the
settings passed by the application.
Please review.
Ajit Khaparde (3):
ethdev: add RSS hash level
app/testpmd: support RSS hash level setting
net/bnxt: add support to set RSS hash level
app/test-pmd/cmdline.c | 187 +++++++++++++++++++++++++++++++++
app/test-pmd/config.c | 7 ++
app/test-pmd/parameters.c | 6 +-
app/test-pmd/testpmd.c | 8 ++
app/test-pmd/testpmd.h | 1 +
drivers/net/bnxt/bnxt.h | 1 +
drivers/net/bnxt/bnxt_ethdev.c | 7 ++
drivers/net/bnxt/bnxt_hwrm.c | 9 +-
drivers/net/bnxt/bnxt_rxq.c | 3 +
drivers/net/bnxt/bnxt_vnic.c | 75 +++++++++++++
drivers/net/bnxt/bnxt_vnic.h | 4 +
lib/librte_ethdev/rte_ethdev.h | 27 +++++
12 files changed, 332 insertions(+), 3 deletions(-)
--
2.21.0 (Apple Git-122.2)
next reply other threads:[~2019-12-07 0:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-07 0:59 Ajit Khaparde [this message]
2019-12-07 0:59 ` [dpdk-dev] [PATCH 1/3] ethdev: add RSS hash level Ajit Khaparde
2019-12-07 9:13 ` Andrew Rybchenko
2019-12-07 19:56 ` Ajit Khaparde
2019-12-09 7:35 ` Andrew Rybchenko
2019-12-09 14:41 ` Ferruh Yigit
2019-12-07 22:27 ` Stephen Hemminger
2019-12-08 18:02 ` Ananyev, Konstantin
2019-12-07 0:59 ` [dpdk-dev] [PATCH 2/3] app/testpmd: support RSS hash level setting Ajit Khaparde
2019-12-07 0:59 ` [dpdk-dev] [PATCH 3/3] net/bnxt: add support to set RSS hash level Ajit Khaparde
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=20191207005919.10962-1-ajit.khaparde@broadcom.com \
--to=ajit.khaparde@broadcom.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).