[dpdk-stable] patch 'regex/mlx5: fix number of supported queues' has been queued to stable release 20.11.1
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Fri Feb 5 12:16:54 CET 2021
Hi,
FYI, your patch has been queued to stable release 20.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/07/21. 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://github.com/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/caa3b2541d4e8b495432ac63595a14d0262de256
Thanks.
Luca Boccassi
---
>From caa3b2541d4e8b495432ac63595a14d0262de256 Mon Sep 17 00:00:00 2001
From: Ori Kam <orika at nvidia.com>
Date: Thu, 7 Jan 2021 18:57:11 +0200
Subject: [PATCH] regex/mlx5: fix number of supported queues
[ upstream commit 7a7a9907bf919101ead845c7b9a4b29aa67a2fb6 ]
The RegEx engine has no limitation on number of queues.
This commits modifies the max supported queues reported to the application.
Fixes: fbc8c7003b93 ("regex/mlx5: add completion queue creation")
Signed-off-by: Ori Kam <orika at nvidia.com>
---
drivers/regex/mlx5/mlx5_rxp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/regex/mlx5/mlx5_rxp.c b/drivers/regex/mlx5/mlx5_rxp.c
index bd721f0b11..0753ab3bdc 100644
--- a/drivers/regex/mlx5/mlx5_rxp.c
+++ b/drivers/regex/mlx5/mlx5_rxp.c
@@ -115,11 +115,10 @@ mlx5_regex_info_get(struct rte_regexdev *dev __rte_unused,
info->max_payload_size = MLX5_REGEX_MAX_PAYLOAD_SIZE;
info->max_rules_per_group = MLX5_REGEX_MAX_RULES_PER_GROUP;
info->max_groups = MLX5_REGEX_MAX_GROUPS;
- info->max_queue_pairs = 1;
info->regexdev_capa = RTE_REGEXDEV_SUPP_PCRE_GREEDY_F |
RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_F;
info->rule_flags = 0;
- info->max_queue_pairs = 10;
+ info->max_queue_pairs = UINT16_MAX;
return 0;
}
--
2.29.2
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2021-02-05 11:18:34.915493749 +0000
+++ 0128-regex-mlx5-fix-number-of-supported-queues.patch 2021-02-05 11:18:28.998694767 +0000
@@ -1 +1 @@
-From 7a7a9907bf919101ead845c7b9a4b29aa67a2fb6 Mon Sep 17 00:00:00 2001
+From caa3b2541d4e8b495432ac63595a14d0262de256 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7a7a9907bf919101ead845c7b9a4b29aa67a2fb6 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index 4449aa8c3d..380037e24c 100644
+index bd721f0b11..0753ab3bdc 100644
@@ -21 +22 @@
-@@ -103,11 +103,10 @@ mlx5_regex_info_get(struct rte_regexdev *dev __rte_unused,
+@@ -115,11 +115,10 @@ mlx5_regex_info_get(struct rte_regexdev *dev __rte_unused,
More information about the stable
mailing list