patch 'net/mlx5/hws: extend tag saving for match and jumbo' has been queued to stable release 23.11.2
Xueming Li
xuemingl at nvidia.com
Fri Jul 12 13:01:37 CEST 2024
Hi,
FYI, your patch has been queued to stable release 23.11.2
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/14/24. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=74f5047f66841abb7e1133241d3942075901a898
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From 74f5047f66841abb7e1133241d3942075901a898 Mon Sep 17 00:00:00 2001
From: Erez Shitrit <erezsh at nvidia.com>
Date: Mon, 6 May 2024 14:44:14 +0300
Subject: [PATCH] net/mlx5/hws: extend tag saving for match and jumbo
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 8c163b6f9ebbd4d159d2fc875008090ade71f943 ]
Save the exact tag when matching over jumbo masking.
Fixes: 348cdeec6472 ("net/mlx5/hws: add FW WQE rule creation logic")
Signed-off-by: Erez Shitrit <erezsh at nvidia.com>
Acked-by: Matan Azrad <matan at nvidia.com>
---
drivers/net/mlx5/hws/mlx5dr_rule.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/net/mlx5/hws/mlx5dr_rule.c b/drivers/net/mlx5/hws/mlx5dr_rule.c
index 02d57409ab..82ceaf0750 100644
--- a/drivers/net/mlx5/hws/mlx5dr_rule.c
+++ b/drivers/net/mlx5/hws/mlx5dr_rule.c
@@ -150,8 +150,13 @@ mlx5dr_rule_save_delete_info(struct mlx5dr_rule *rule,
rule->tag_ptr = simple_calloc(2, sizeof(*rule->tag_ptr));
assert(rule->tag_ptr);
- src_tag = (uint8_t *)ste_attr->wqe_data->tag;
- memcpy(rule->tag_ptr[0].match, src_tag, MLX5DR_MATCH_TAG_SZ);
+ if (is_jumbo)
+ memcpy(rule->tag_ptr[0].jumbo, ste_attr->wqe_data->action,
+ MLX5DR_JUMBO_TAG_SZ);
+ else
+ memcpy(rule->tag_ptr[0].match, ste_attr->wqe_data->tag,
+ MLX5DR_MATCH_TAG_SZ);
+
rule->tag_ptr[1].reserved[0] = ste_attr->send_attr.match_definer_id;
/* Save range definer id and tag for delete */
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2024-07-12 18:40:17.949282866 +0800
+++ 0086-net-mlx5-hws-extend-tag-saving-for-match-and-jumbo.patch 2024-07-12 18:40:14.246594210 +0800
@@ -1 +1 @@
-From 8c163b6f9ebbd4d159d2fc875008090ade71f943 Mon Sep 17 00:00:00 2001
+From 74f5047f66841abb7e1133241d3942075901a898 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 8c163b6f9ebbd4d159d2fc875008090ade71f943 ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org
@@ -18 +20 @@
-index ef96c77c2a..171a0bff38 100644
+index 02d57409ab..82ceaf0750 100644
@@ -21 +23 @@
-@@ -195,8 +195,13 @@ mlx5dr_rule_save_delete_info(struct mlx5dr_rule *rule,
+@@ -150,8 +150,13 @@ mlx5dr_rule_save_delete_info(struct mlx5dr_rule *rule,
More information about the stable
mailing list