patch 'net/mlx5: fix NIC flow capability query' has been queued to stable release 22.11.4

Xueming Li xuemingl at nvidia.com
Mon Dec 11 11:11:13 CET 2023


Hi,

FYI, your patch has been queued to stable release 22.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/13/23. 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=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=a908d0cb5bccbb73972f33ecab8c9db63916f157

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From a908d0cb5bccbb73972f33ecab8c9db63916f157 Mon Sep 17 00:00:00 2001
From: Ori Kam <orika at nvidia.com>
Date: Sun, 29 Oct 2023 20:22:58 +0200
Subject: [PATCH] net/mlx5: fix NIC flow capability query
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit d3ed65675362b2fb0a644f642e2e8eb40830bac1 ]

Add query for nic flow table support bit.

Fixes: 5f44fb1958e5 ("common/mlx5: query capability of registers")

Signed-off-by: Ori Kam <orika at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Acked-by: Suanming Mou <suanmingm at nvidia.com>
---
 drivers/common/mlx5/mlx5_devx_cmds.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/common/mlx5/mlx5_devx_cmds.c b/drivers/common/mlx5/mlx5_devx_cmds.c
index 5ae2627caa..9fdca2fecc 100644
--- a/drivers/common/mlx5/mlx5_devx_cmds.c
+++ b/drivers/common/mlx5/mlx5_devx_cmds.c
@@ -1003,6 +1003,7 @@ mlx5_devx_cmd_query_hca_attr(void *ctx,
 			      MLX5_GENERAL_OBJ_TYPES_CAP_CONN_TRACK_OFFLOAD);
 	attr->rq_delay_drop = MLX5_GET(cmd_hca_cap, hcattr, rq_delay_drop);
 	attr->nic_flow_table = MLX5_GET(cmd_hca_cap, hcattr, nic_flow_table);
+	attr->nic_flow_table = MLX5_GET(cmd_hca_cap, hcattr, nic_flow_table);
 	attr->max_flow_counter_15_0 = MLX5_GET(cmd_hca_cap, hcattr,
 			max_flow_counter_15_0);
 	attr->max_flow_counter_31_16 = MLX5_GET(cmd_hca_cap, hcattr,
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-12-11 17:56:24.703587800 +0800
+++ 0048-net-mlx5-fix-NIC-flow-capability-query.patch	2023-12-11 17:56:22.997652300 +0800
@@ -1 +1 @@
-From d3ed65675362b2fb0a644f642e2e8eb40830bac1 Mon Sep 17 00:00:00 2001
+From a908d0cb5bccbb73972f33ecab8c9db63916f157 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit d3ed65675362b2fb0a644f642e2e8eb40830bac1 ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +21 @@
-index ff2d6d10b7..3afb2e9f80 100644
+index 5ae2627caa..9fdca2fecc 100644
@@ -22,4 +24,4 @@
-@@ -1082,6 +1082,7 @@ mlx5_devx_cmd_query_hca_attr(void *ctx,
- 	attr->striding_rq = MLX5_GET(cmd_hca_cap, hcattr, striding_rq);
- 	attr->ext_stride_num_range =
- 		MLX5_GET(cmd_hca_cap, hcattr, ext_stride_num_range);
+@@ -1003,6 +1003,7 @@ mlx5_devx_cmd_query_hca_attr(void *ctx,
+ 			      MLX5_GENERAL_OBJ_TYPES_CAP_CONN_TRACK_OFFLOAD);
+ 	attr->rq_delay_drop = MLX5_GET(cmd_hca_cap, hcattr, rq_delay_drop);
+ 	attr->nic_flow_table = MLX5_GET(cmd_hca_cap, hcattr, nic_flow_table);


More information about the stable mailing list