From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2BC0BA04DD; Wed, 28 Oct 2020 14:19:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A67D3CAD4; Wed, 28 Oct 2020 14:19:16 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 49CADCACD for ; Wed, 28 Oct 2020 14:19:15 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from ophirmu@nvidia.com) with SMTP; 28 Oct 2020 15:19:09 +0200 Received: from nvidia.com (pegasus05.mtr.labs.mlnx [10.210.16.100]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 09SDJ8q4027750; Wed, 28 Oct 2020 15:19:08 +0200 From: Ophir Munk To: dev@dpdk.org, Thomas Monjalon , Ori Kam Cc: Ophir Munk Date: Wed, 28 Oct 2020 13:18:58 +0000 Message-Id: <20201028131858.25879-1-ophirmu@nvidia.com> X-Mailer: git-send-email 2.8.4 Subject: [dpdk-dev] [PATCH v1] regex/mlx5: add out of order scan capability X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add missing out of order scan capability RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_F to mlx5 regex PMD. Signed-off-by: Ophir Munk Acked-by: Ori Kam --- Depends-on: patch-81673 ("regexdev: add OOS capability definition") ` Depends-on: patch-81509 ("app/regex: configure qp according to device capabilities") drivers/regex/mlx5/mlx5_rxp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regex/mlx5/mlx5_rxp.c b/drivers/regex/mlx5/mlx5_rxp.c index b8fab79..7936a52 100644 --- a/drivers/regex/mlx5/mlx5_rxp.c +++ b/drivers/regex/mlx5/mlx5_rxp.c @@ -116,7 +116,8 @@ mlx5_regex_info_get(struct rte_regexdev *dev __rte_unused, 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; + 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; return 0; -- 2.8.4