From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C270DA0524 for ; Fri, 5 Feb 2021 12:31:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCF1340682; Fri, 5 Feb 2021 12:31:55 +0100 (CET) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mails.dpdk.org (Postfix) with ESMTP id 80D47188949 for ; Fri, 5 Feb 2021 12:31:54 +0100 (CET) Received: by mail-wr1-f51.google.com with SMTP id l12so7340161wry.2 for ; Fri, 05 Feb 2021 03:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d6ryHNC/fgAY0QT4itmaEu0C79Unv8wSzheFCR2Ga9U=; b=do3DfaoZIbBmH3LNm6dWI69OgQYcrO5zblWSSlHDqPVD0ZTwJTemjuJnfYbmUJLOGT Mtf/wDCKGprPx3OYa2whV0AeyPNgULDzgyINUVtEHItmpkg+y2zOhxqEk1biiUOQau/h A5VmcQfIyb2d9ZNExZdDqnvLtnJCVgY08KcQfr++ftyH+leoeca8T9HlnoIndsjWOqjY TEZdNhsB4Lcm5HtHZEGu9aipMoEZ1X+WzUni3oL6ZgbeCU6WLCt6XWmIbMoQTjnP94CX jR/91MQCcGCsHM4zE1R+0e4qKUBM6sHHXdBAWMXSbEkrrU3eV40I8vA77TyJ0WkS8Q3X THUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d6ryHNC/fgAY0QT4itmaEu0C79Unv8wSzheFCR2Ga9U=; b=CFirIrh092C6Xica9YMOxmyEJt6fKtgPM/9oMA4D122Z7Ga9wKQB8aRPqpCS+yxY1f fFTH29lf3cEPQdmbjZJs9HLtAq+9NK/ttfD+3txQrApQmFtWxhBA0on4DoG34/tU22zb 5YMMhqUC4YFSDh26Un9vC6tL0Fg9dK/kvk1nrZJrk2obZoqm1OS4wKQVWGCTuc0hrkVo AJIiUE2t2nkRnkMKGfmvbuRri7DKYNLbGWle1Du5t9zyrPNYS718X6ncgaPz84H1xV+u +eAJLYo3zhpn6MlAEDg+IG5PKOGMFUA7yUa3O0JFvaKf/3EmmxpEX6NLsvZmb4YpFg0D 4jUA== X-Gm-Message-State: AOAM531B2vsHe18nx6jx8VtavLrxkymYk0bKomc/l1VgTHIondB9Pe0D TlcwX7MD5XSmbI3zIr49pDrRqC56pW1JTIJY X-Google-Smtp-Source: ABdhPJxjsZS85gCpQl3+MWZ7dY1+YlwRSelJSxgDmrxIkUIphOW8sMMIi2We4tf9Jkl9WIhcM3dUuw== X-Received: by 2002:a5d:60d0:: with SMTP id x16mr4530585wrt.269.1612524714278; Fri, 05 Feb 2021 03:31:54 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id e4sm11607881wrw.96.2021.02.05.03.31.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:31:53 -0800 (PST) From: luca.boccassi@gmail.com To: Ori Kam Cc: dpdk stable Date: Fri, 5 Feb 2021 11:16:54 +0000 Message-Id: <20210205111920.1272063-128-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210205111920.1272063-1-luca.boccassi@gmail.com> References: <20210205111920.1272063-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'regex/mlx5: fix number of supported queues' has been queued to stable release 20.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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 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 --- 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@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,