From: Stephen Hemminger <stephen@networkplumber.org>
To: <kirankumark@marvell.com>
Cc: Aman Singh <aman.deep.singh@intel.com>,
Thomas Monjalon <thomas@monjalon.net>,
Ferruh Yigit <ferruh.yigit@amd.com>,
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>, <dev@dpdk.org>
Subject: Re: [PATCH v9 1/2] ethdev: support RSS based on RoCEv2 header
Date: Wed, 4 Jun 2025 13:23:11 -0700 [thread overview]
Message-ID: <20250604132311.4c847ada@hermes.local> (raw)
In-Reply-To: <20250529154343.1589903-1-kirankumark@marvell.com>
On Thu, 29 May 2025 21:13:42 +0530
<kirankumark@marvell.com> wrote:
> From: Kiran Kumar K <kirankumark@marvell.com>
>
> On supporting hardware, RoCEv2 header can be used to
> perform RSS in the ingress path.
>
> Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
> ---
> V9 Changes:
> * Fix checkpatch warnings.
> V8 Changes:
> * Fixed doc
> V7 Changes;
> * Addressed review comments related to rss_type_table.
> app/test-pmd/config.c | 4 +++-
> doc/guides/rel_notes/release_25_07.rst | 5 +++++
> lib/ethdev/rte_ethdev.h | 2 ++
> 3 files changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
> index e89af21cec..26fd920a36 100644
> --- a/app/test-pmd/config.c
> +++ b/app/test-pmd/config.c
> @@ -92,7 +92,8 @@ const struct rss_type_info rss_type_table[] = {
> { "all", RTE_ETH_RSS_ETH | RTE_ETH_RSS_VLAN | RTE_ETH_RSS_IP | RTE_ETH_RSS_TCP |
> RTE_ETH_RSS_UDP | RTE_ETH_RSS_SCTP | RTE_ETH_RSS_L2_PAYLOAD |
> RTE_ETH_RSS_L2TPV3 | RTE_ETH_RSS_ESP | RTE_ETH_RSS_AH | RTE_ETH_RSS_PFCP |
> - RTE_ETH_RSS_GTPU | RTE_ETH_RSS_ECPRI | RTE_ETH_RSS_MPLS | RTE_ETH_RSS_L2TPV2},
> + RTE_ETH_RSS_GTPU | RTE_ETH_RSS_ECPRI | RTE_ETH_RSS_MPLS | RTE_ETH_RSS_L2TPV2 |
> + RTE_ETH_RSS_IB_BTH},
> { "none", 0 },
> { "ip", RTE_ETH_RSS_IP },
> { "udp", RTE_ETH_RSS_UDP },
> @@ -149,6 +150,7 @@ const struct rss_type_info rss_type_table[] = {
> { "l3-dst-only", RTE_ETH_RSS_L3_DST_ONLY },
> { "l3-src-only", RTE_ETH_RSS_L3_SRC_ONLY },
> { "ipv6-flow-label", RTE_ETH_RSS_IPV6_FLOW_LABEL },
> + { "ib-bth", RTE_ETH_RSS_IB_BTH },
> { NULL, 0},
> };
>
> diff --git a/doc/guides/rel_notes/release_25_07.rst b/doc/guides/rel_notes/release_25_07.rst
> index 6b070801de..9a3677f972 100644
> --- a/doc/guides/rel_notes/release_25_07.rst
> +++ b/doc/guides/rel_notes/release_25_07.rst
> @@ -55,6 +55,11 @@ New Features
> Also, make sure to start the actual text at the margin.
> =======================================================
>
> +* **Added new RSS offload types for IB_BTH in RSS flow.**
> +
> + Added ``RTE_ETH_RSS_IB_BTH`` macro so that the RoCE Infiniband base transport header
> + can be used as input set for RSS.
> +
> * **Added burst mode query function to Intel drivers.**
>
> Added support for Rx and Tx burst mode query to the following drivers:
> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
> index ea7f8c4a1a..8e0c89581e 100644
> --- a/lib/ethdev/rte_ethdev.h
> +++ b/lib/ethdev/rte_ethdev.h
> @@ -602,6 +602,8 @@ struct rte_eth_rss_conf {
>
> #define RTE_ETH_RSS_L2TPV2 RTE_BIT64(36)
> #define RTE_ETH_RSS_IPV6_FLOW_LABEL RTE_BIT64(37)
> +/** RoCE InfiniBand Base Transport Header */
> +#define RTE_ETH_RSS_IB_BTH RTE_BIT64(38)
>
> /*
> * We use the following macros to combine with above RTE_ETH_RSS_* for
> --
> 2.48.1
>
Applied with some rebasing and whitespace fixes to next-net.
prev parent reply other threads:[~2025-06-04 21:58 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-22 5:14 [PATCH] ethdev: support RSS based on RoCEv2 header kirankumark
2025-04-23 0:06 ` Thomas Monjalon
2025-04-23 17:30 ` Stephen Hemminger
2025-04-29 9:52 ` [PATCH v2 1/2] " kirankumark
2025-04-29 9:52 ` [PATCH v2 2/2] drivers: add support for IB_BTH header for RSS in cnxk device kirankumark
2025-04-29 15:06 ` [PATCH v2 1/2] ethdev: support RSS based on RoCEv2 header Stephen Hemminger
2025-04-30 9:10 ` [PATCH v3 " kirankumark
2025-04-30 9:10 ` [PATCH v3 2/2] drivers: add support for IB_BTH header for RSS in cnxk device kirankumark
2025-04-30 10:20 ` [PATCH v4 1/2] ethdev: support RSS based on RoCEv2 header kirankumark
2025-04-30 10:20 ` [PATCH v4 2/2] drivers: add support for IB_BTH header for RSS in cnxk device kirankumark
2025-04-30 14:12 ` Stephen Hemminger
2025-04-30 14:48 ` [PATCH v4 1/2] ethdev: support RSS based on RoCEv2 header Stephen Hemminger
2025-05-05 5:33 ` [PATCH v5 " kirankumark
2025-05-05 5:33 ` [PATCH v5 2/2] drivers: add support for IB_BTH header for RSS in cnxk device kirankumark
2025-05-05 5:57 ` [PATCH v6 1/2] ethdev: support RSS based on RoCEv2 header kirankumark
2025-05-05 5:57 ` [PATCH v6 2/2] drivers: add support for IB_BTH header for RSS in cnxk device kirankumark
2025-05-20 15:17 ` [PATCH v6 1/2] ethdev: support RSS based on RoCEv2 header Stephen Hemminger
2025-05-21 6:22 ` [EXTERNAL] " Kiran Kumar Kokkilagadda
2025-05-29 15:34 ` [PATCH v7 " kirankumark
2025-05-29 15:34 ` [PATCH v7 2/2] drivers: add support for IB_BTH header for RSS in cnxk device kirankumark
2025-05-29 15:39 ` [PATCH v8 1/2] ethdev: support RSS based on RoCEv2 header kirankumark
2025-05-29 15:39 ` [PATCH v8 2/2] drivers: add support for IB_BTH header for RSS in cnxk device kirankumark
2025-05-29 15:43 ` [PATCH v9 1/2] ethdev: support RSS based on RoCEv2 header kirankumark
2025-05-29 15:43 ` [PATCH v9 2/2] drivers: add support for IB_BTH header for RSS in cnxk device kirankumark
2025-06-04 20:41 ` Stephen Hemminger
2025-06-04 20:23 ` Stephen Hemminger [this message]
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=20250604132311.4c847ada@hermes.local \
--to=stephen@networkplumber.org \
--cc=aman.deep.singh@intel.com \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@amd.com \
--cc=kirankumark@marvell.com \
--cc=thomas@monjalon.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.