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 36216A04DC; Tue, 20 Oct 2020 10:18:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DA8DABAC6; Tue, 20 Oct 2020 10:18:11 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 6BCC0BAC4 for ; Tue, 20 Oct 2020 10:18:10 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09K8GK0r028791; Tue, 20 Oct 2020 01:18:08 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=6XT36n1tIA+fbPjunIzb8upZo4jGO9VnV3me9kzO+90=; b=WgNVD4HAliq86jRLl3bcRI7IUvlBcsGpRn2xoszEwmdN+3myoqRD1RLKQkYNgH84/CNt fcoYqK7ifvqI8n/vrHx4OMqv6VKzoXs5vrPzSYgY1h6wPzMDuH2MCCsayVlsSc46FuG/ SErcF+d0/rGQQouJyUn3B8V6TB9jLl7Eg6jPlchppz7z/PAQyah1LUYOxznsG1+2LfwS asB/bMdUuzXrsri+lCSk/wqFZd3gb72i7NWVt7NgsFm1JoKePu6z/Nzddq84VekHGdxH nIntioaD6Wz24YkR4nkbitbayb0U3jEsYasAb5ESzKLQCGHdvX9FosM7XCS0p8Tp6Zpo yw== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 347wyq8cns-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 20 Oct 2020 01:18:08 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 20 Oct 2020 01:18:07 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 20 Oct 2020 01:18:07 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 20 Oct 2020 01:18:07 -0700 Received: from vvenus124.il.marvell.com (unknown [10.5.116.64]) by maili.marvell.com (Postfix) with ESMTP id 564E23F703F; Tue, 20 Oct 2020 01:18:05 -0700 (PDT) From: To: CC: , , , , , Date: Tue, 20 Oct 2020 11:16:24 +0300 Message-ID: <20201020081624.25210-1-guyk@marvell.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-10-20_04:2020-10-20, 2020-10-20 signatures=0 Subject: [dpdk-dev] [PATCH v1] regexdev: add OOS capability definition 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" From: Guy Kaneti Add out of order scan capability to check PMD support for OOS. Signed-off-by: Guy Kaneti --- lib/librte_regexdev/rte_regexdev.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/librte_regexdev/rte_regexdev.h b/lib/librte_regexdev/rte_regexdev.h index 4077e62c9..60cccf816 100644 --- a/lib/librte_regexdev/rte_regexdev.h +++ b/lib/librte_regexdev/rte_regexdev.h @@ -474,6 +474,14 @@ rte_regexdev_get_dev_id(const char *name); * @see RTE_REGEXDEV_CFG_MATCH_ALL_F */ +#define RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_F (1ULL << 22) +/**< RegEx device support out of order scan, this means the scan can be retired + * as soon as device returns completion. + * + * @see RTE_REGEX_QUEUE_PAIR_CFG_OOS_F + * @see struct rte_regexdev_info::regexdev_capa + */ + /* Enumerates PCRE rule flags */ #define RTE_REGEX_PCRE_RULE_ALLOW_EMPTY_F (1ULL << 0) /**< When this flag is set, the pattern that can match against an empty string, -- 2.28.0