* [PATCH] net/mlx5: add GRE as L4 layer for entropy calculation
@ 2025-02-26 9:51 Yaniv Rosner
2025-05-12 6:21 ` Raslan Darawsheh
0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread
* Re: [PATCH] net/mlx5: add GRE as L4 layer for entropy calculation
2025-02-26 9:51 [PATCH] net/mlx5: add GRE as L4 layer for entropy calculation Yaniv Rosner
@ 2025-05-12 6:21 ` Raslan Darawsheh
0 siblings, 0 replies; 2+ messages in thread
From: Raslan Darawsheh @ 2025-05-12 6:21 UTC (permalink / raw)
To: Yaniv Rosner, dev; +Cc: Bing Zhao
Hi,
On 26/02/2025 11:51 AM, Yaniv Rosner wrote:
> 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;
> }
Patch applied to next-net-mlx,
--
Kindest regards
Raslan Darawsheh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-12 6:21 UTC | newest]
Thread overview: 2+ messages (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
2025-05-12 6:21 ` Raslan Darawsheh
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).