net/cnxk: support ESP based RSS hashing
PATCH 1/1 net/cnxk: support ESP based RSS hashing
From: Satheesh Paul <[email protected]>
Support ESP based RSS hashing.
--- drivers/common/cnxk/roc_mbox.h | 1 + drivers/net/cnxk/cnxk_ethdev.c | 3 ++ drivers/net/cnxk/cnxk_ethdev.h | 67 ++++++++++++++++------------------ 3 files changed, 36 insertions(+), 35 deletions(-)
drivers/common/cnxk/roc_mbox.h +1 -0
@@ -1777,6 +1777,7 @@ struct nix_rss_flowkey_cfg {#define FLOW_KEY_TYPE_CH_LEN_90B BIT(18)#define FLOW_KEY_TYPE_CUSTOM0 BIT(19)#define FLOW_KEY_TYPE_VLAN BIT(20) +#define FLOW_KEY_TYPE_ESP BIT(23)#define FLOW_KEY_TYPE_L4_DST BIT(28)#define FLOW_KEY_TYPE_L4_SRC BIT(29)#define FLOW_KEY_TYPE_L3_DST BIT(30)
drivers/net/cnxk/cnxk_ethdev.c +3 -0
@@ -935,6 +935,9 @@ cnxk_rss_ethdev_to_nix(struct cnxk_eth_dev *dev, uint64_t ethdev_rss,if (ethdev_rss &RTE_ETH_RSS_GTPU ) flowkey_cfg |=FLOW_KEY_TYPE_GTPU ; +if (ethdev_rss &RTE_ETH_RSS_ESP ) + flowkey_cfg |=FLOW_KEY_TYPE_ESP ; +return flowkey_cfg; }
drivers/net/cnxk/cnxk_ethdev.h +32 -35
79 lines not on this page · raw message
Signature · 1 line
2.42.0
Jerin Jacob
AppliedQuoted 18 lines
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Wednesday, April 2, 2025 1:55 PM
To: Nithin Kumar Dabilpuram <[email protected]>; Kiran Kumar Kokkilagadda <[email protected]>; Sunil Kumar Kori <[email protected]>; Satha Koteswara Rao Kottidi <[email protected]>; Harman Kalra <[email protected]>
Cc: [email protected]; Satheesh Paul Antonysamy <[email protected]>
Subject: [EXTERNAL] [dpdk-dev] [PATCH ] net/cnxk: support ESP based RSS hashingFrom: Satheesh Paul <psatheesh@ marvell. com> Support ESP based RSS hashing. Signed-off-by: Satheesh Paul <psatheesh@ marvell. com> Reviewed-by:
Kiran Kumar K <kirankumark@ marvell. com> --- drivers/common/cnxk/roc_mbox. h | 1 + drivers/net/cnxk/cnxk_ethdev. c
Quoted 6 lines
From: Satheesh Paul <[email protected]>
Support ESP based RSS hashing.
Signed-off-by Satheesh Paul <[email protected]>Reviewed-by Kiran Kumar K <[email protected]>
Applied to dpdk-next-net-mrvl/for-main. Thanks