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 7FEDDA04DD; Wed, 21 Oct 2020 10:05:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C6116ACCC; Wed, 21 Oct 2020 10:05:11 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id CAE3BACC9 for ; Wed, 21 Oct 2020 10:05:08 +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 09L84e6b016545; Wed, 21 Oct 2020 01:05:06 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=ujOQQ+G4XgHefwCoYJWOBCQUqKfBSs0CxvDwFRDV0ug=; b=bkr4kHIF1I0nwXdIjPe2TZuuJljdyWeL0Kx2JjhkQAh7rvdiVuBfLrYlcT5LlTBtdryW CZqECopEEZnTNGXlgp+RraeIitNY36lxTw4GnFGY5RkvIdzfrc3ynWjBZzSIwaM1mZbG 8+vlzmrSCMjrhfW+fPREKfJ9Yka2mEw0OcGCirKzY0sfxK7UnyHIxyht3i404Duq20Ig cR7ITA9MlnHMwn8srDbea+npRqljcpClfRaN3nFebrJ9PXDVTI9nm1IyZi+BfaEo7yEj mDesBtaVx9TgqB169AsSCCgp+ECmyAkrmuy7Bye/8ryqRBM4ZUXVwwZC5S3sVuwxu+MQ Tg== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 347wyqccu6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 21 Oct 2020 01:05:06 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 21 Oct 2020 01:05:05 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 21 Oct 2020 01:05:04 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 21 Oct 2020 01:05:04 -0700 Received: from vvenus124.il.marvell.com (unknown [10.5.116.64]) by maili.marvell.com (Postfix) with ESMTP id 69D523F704C; Wed, 21 Oct 2020 01:05:02 -0700 (PDT) From: To: CC: , , , , , Date: Wed, 21 Oct 2020 11:03:32 +0300 Message-ID: <20201021080332.27463-1-guyk@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201020081624.25210-1-guyk@marvell.com> References: <20201020081624.25210-1-guyk@marvell.com> 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.737 definitions=2020-10-21_03:2020-10-20, 2020-10-21 signatures=0 Subject: [dpdk-dev] [PATCH v2] 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 --- v2 - fix definition comment --- lib/librte_regexdev/rte_regexdev.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/librte_regexdev/rte_regexdev.h b/lib/librte_regexdev/rte_regexdev.h index 4077e62c9..000165892 100644 --- a/lib/librte_regexdev/rte_regexdev.h +++ b/lib/librte_regexdev/rte_regexdev.h @@ -474,6 +474,15 @@ 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 supports out of order scan. + * Out of order scan means the response of a specific job can be returned as + * soon as it is ready even if previous jobs on the same queue didn't complete. + * + * @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