* [PATCH] net/mlx5: add GRE as L4 layer for entropy calculation
@ 2025-02-26 9:51 Yaniv Rosner
0 siblings, 0 replies; only message in thread
From: Yaniv Rosner @ 2025-02-26 9:51 UTC (permalink / raw)
To: dev; +Cc: Bing Zhao
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-03 10:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-26 9:51 [PATCH] net/mlx5: add GRE as L4 layer for entropy calculation Yaniv Rosner
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).