patch 'net/mlx5/hws: add template match none flag' has been queued to stable release 23.11.2
Xueming Li
xuemingl at nvidia.com
Fri Jul 12 13:01:36 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=6fe9802a243792e4a43f0ce2ffd12c65442d5e35
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From 6fe9802a243792e4a43f0ce2ffd12c65442d5e35 Mon Sep 17 00:00:00 2001
From: Yevgeny Kliteynik <kliteyn at nvidia.com>
Date: Mon, 6 May 2024 14:44:11 +0300
Subject: [PATCH] net/mlx5/hws: add template match none flag
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 2471994eedab4090cb73173d9986834b15e98aad ]
Instead of passing 0 as an enum parameter, define flag NONE.
This resolves the following code analysis error: "enumerated
type mixed with another type".
This value is currently used in tests only, and will later
be used in backward-compatible steering API.
Fixes: 5cadd74fbc08 ("net/mlx5: add HW steering low-level abstract stub")
Signed-off-by: Yevgeny Kliteynik <kliteyn at nvidia.com>
Acked-by: Matan Azrad <matan at nvidia.com>
---
drivers/net/mlx5/hws/mlx5dr.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/mlx5/hws/mlx5dr.h b/drivers/net/mlx5/hws/mlx5dr.h
index d88f73ab57..f003d9f446 100644
--- a/drivers/net/mlx5/hws/mlx5dr.h
+++ b/drivers/net/mlx5/hws/mlx5dr.h
@@ -80,6 +80,7 @@ enum mlx5dr_action_aso_ct_flags {
};
enum mlx5dr_match_template_flags {
+ MLX5DR_MATCH_TEMPLATE_FLAG_NONE = 0,
/* Allow relaxed matching by skipping derived dependent match fields. */
MLX5DR_MATCH_TEMPLATE_FLAG_RELAXED_MATCH = 1,
};
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2024-07-12 18:40:17.910756370 +0800
+++ 0085-net-mlx5-hws-add-template-match-none-flag.patch 2024-07-12 18:40:14.246594210 +0800
@@ -1 +1 @@
-From 2471994eedab4090cb73173d9986834b15e98aad Mon Sep 17 00:00:00 2001
+From 6fe9802a243792e4a43f0ce2ffd12c65442d5e35 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 2471994eedab4090cb73173d9986834b15e98aad ]
@@ -13 +15,0 @@
-Cc: stable at dpdk.org
@@ -22 +24 @@
-index 36ecccf9ac..86cd4f1db5 100644
+index d88f73ab57..f003d9f446 100644
@@ -25 +27 @@
-@@ -81,6 +81,7 @@ enum mlx5dr_action_aso_ct_flags {
+@@ -80,6 +80,7 @@ enum mlx5dr_action_aso_ct_flags {
More information about the stable
mailing list