From: Yaniv Rosner <yrosner@nvidia.com>
To: <dev@dpdk.org>
Cc: Bing Zhao <bingz@nvidia.com>
Subject: [PATCH] net/mlx5: add GRE as L4 layer for entropy calculation
Date: Wed, 26 Feb 2025 09:51:55 +0000 [thread overview]
Message-ID: <20250226095155.55582-1-yrosner@nvidia.com> (raw)
Signed-off-by: Yaniv Rosner <yrosner@nvidia.com>
Acked-by: Bing Zhao <bingz@nvidia.com>
---
drivers/net/mlx5/mlx5_flow_hw.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index e72b87d70f..27ee9d6cd3 100644
--- a/drivers/net/mlx5/mlx5_flow_hw.c
+++ b/drivers/net/mlx5/mlx5_flow_hw.c
@@ -14875,6 +14875,9 @@ flow_hw_calc_encap_hash(struct rte_eth_dev *dev,
case RTE_FLOW_ITEM_TYPE_ICMP6:
data.next_protocol = IPPROTO_ICMPV6;
break;
+ case RTE_FLOW_ITEM_TYPE_GRE:
+ data.next_protocol = IPPROTO_GRE;
+ break;
default:
break;
}
--
2.48.1
reply other threads:[~2025-03-03 10:37 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=20250226095155.55582-1-yrosner@nvidia.com \
--to=yrosner@nvidia.com \
--cc=bingz@nvidia.com \
--cc=dev@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
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).