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 8963CA04DD; Wed, 21 Oct 2020 11:17:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BFD3FA94D; Wed, 21 Oct 2020 11:17:10 +0200 (CEST) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id F023EA94C for ; Wed, 21 Oct 2020 11:17:08 +0200 (CEST) Received: from HKMAIL103.nvidia.com (Not Verified[10.18.92.9]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 21 Oct 2020 17:17:06 +0800 Received: from HKMAIL104.nvidia.com (10.18.16.13) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 21 Oct 2020 09:17:03 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.106) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 21 Oct 2020 09:17:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZRfGFD9pC5oZpp07G7iTtlr398YA2JJ9DwvkMgRclzuJocRF4/9VvU51v7MTanEvizV1l4x9VlPFeOKMkbxQfaF44Ujg0bttwlRG6s+LYZfBZFfY9WIb7PavlHAlejPqnHiAfjHQK/I6NtatsYpSyRpe6DVxYDVIHbyZytiiFdq5grGYgzKRygx4gxSfwQbQyhEheGsA+ZREQi5XGcBfNx4UbVv9YR5o1EOXZ+W1rb6L4qciHoLRqWxO5/Iz5b7sN5OOcQx3wRfrX7zcY3KEyjPf8Zr4BTUevQd8XnojnI9cHIvZWR429BshN9xPbpUU1D5u6cAgO3r9JDvzFA/75w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mwR75vSd9iBm+6K9k9IhZlbWm3i+fWdCw413rzkb2SA=; b=L0RtzbKj05h5uIm2PpWR+EryyaI0B6RlJBKqbJxTR1tQrsbXvZlo/npZmOfhBYv3TlIDqOCuuznS+LV/9L7NRiJT6VJ/5C6epkIN1q5Ynbmz2W34DXcTCt7sT6DQP+DkEpQQMaylyxf+UaShksey47LO44uCi5UfUNNkwdhrBziXIylErV0OgdXdRDTjcCjc0l5HstAlD3+RvuMc/7M5ptKQj2weqB3xgwZsHC+qn/1SF2YBol68Psaw5Mf3BgeXymUTNNx4f/wvma+9Jlisxm2GYfpELuryveY0V5uPmpWLabZ/K3qk4F0/u7ZRdMrfiC6hHuH/ynwy2yeuBST9DQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from DM6PR12MB4987.namprd12.prod.outlook.com (2603:10b6:5:163::31) by DM5PR12MB2501.namprd12.prod.outlook.com (2603:10b6:4:b4::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Wed, 21 Oct 2020 09:17:01 +0000 Received: from DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::cf2:dfd0:1877:bf3a]) by DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::cf2:dfd0:1877:bf3a%3]) with mapi id 15.20.3477.028; Wed, 21 Oct 2020 09:17:01 +0000 From: Ori Kam To: "guyk@marvell.com" CC: NBU-Contact-Thomas Monjalon , "smadarf@marvell.com" , "dovrat@marvell.com" , "dev@dpdk.org" , "jerinj@marvell.com" Thread-Topic: [dpdk-dev] [PATCH v2] regexdev: add OOS capability definition Thread-Index: AQHWp4D13eajglY7/ESR5CPEO6/ObamhxrXw Date: Wed, 21 Oct 2020 09:17:01 +0000 Message-ID: References: <20201020081624.25210-1-guyk@marvell.com> <20201021080332.27463-1-guyk@marvell.com> In-Reply-To: <20201021080332.27463-1-guyk@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [147.236.152.129] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 329eca5a-81a6-4c1c-4a5e-08d875a211cb x-ms-traffictypediagnostic: DM5PR12MB2501: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Rt30p0mWjJFjDVoEBe/RjziGlzvB1KNglHSyJrHu0qxdDLXvn2shcalW+TvpRQcCgzQ5dZo2QcdCrumdBh3EELBTz0jM3kDfiCWi5JtOagaTGVVJb/gcdiB+/ex5uVvxQSq3cpbaDkc0ZsqwvtpyTzq3+lgwieaTXQpI8MBKqIwukYP82/VNYQCZ9bhaxtnxR+f6VX84biJYDoWYId40LAapnjnn1asabL0e7BFCSXAPXWB8uAF4j/Iyo3qhmi/AaOJWCaWNTyI0VnoZjW0z2XAL2V9/cEaI1q1ncGdOXmxg6jEuWNGWrHjPKW4Opov7zmqgY1ezAY8tgtvxWofV8A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4987.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(376002)(346002)(39860400002)(396003)(8936002)(316002)(33656002)(26005)(6916009)(54906003)(6506007)(76116006)(53546011)(4326008)(8676002)(7696005)(66946007)(71200400001)(66556008)(64756008)(66446008)(66476007)(2906002)(5660300002)(52536014)(9686003)(478600001)(86362001)(83380400001)(55016002)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: GI0FG9ugGsL38tt0uLrtBTq2ddel6iROpMTxgHmf9f1kdcuWoryS8jdfU3ANDAjpiQMgUAYgiYX52iZ4ewSM+ykc/c2IpOnr6Cam6nGSSfJPgAtO8WVInEnDNh2fObmET5YVuWq8UGMobQOysXWPI8phPRVJzRPSOco0i2VyduQxieezNFOQDJ7G7tfMkyIFAQIQ+iYCEdcgFLRC5mQuNz36OWOmTnaWCFRi8ml0d2kqs+zdzU+0RJSp+eItSYyvDhJQL3ZIxXPS/sclbW68s4alwEylExNqcTZiH9E5o9/Wo7/BzZCUf4GVTkT/84z14c7KvDqL0KI07XKX9ScI0eYiCpw8ngNEGnwi+C9yDvw5kUhc+4QrtID+kUgxQjQRY7vnrYw+rz6ktK3ANjWVsC+h97Ew3z3p7B7+XeZSd4tmnZo00wS+g+WbJxnKYOHKpSkuQvw1N5eNHkRWiTE8W9vFU883RP4fphBRgjXqTQ0doPaxKeY8aglxUJnirPjW7ZTB47W/cwib3PiHP7H683/LiPa6EMZD5S2+tqh1wKBMj09druCzArh7AL2v3if6Nyhhhw7GKGFGaFQmhqLnlannIkiQ+H9iRm4BUYRVdIoiyghlLvNHQBmJ4JfNLVthzv5dkR3mR7ENhEtbDsa6VA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4987.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 329eca5a-81a6-4c1c-4a5e-08d875a211cb X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2020 09:17:01.6092 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ik1Ug+rQQ42yico0PyJDInK9LlDalaJ/6p05yHJbrFj/JaiA1tQ4bxKpHOwHc7MJmD9WMQH2y9c6VgrPdNitQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2501 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603271826; bh=mwR75vSd9iBm+6K9k9IhZlbWm3i+fWdCw413rzkb2SA=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-microsoft-antispam-prvs:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:x-ms-exchange-transport-forked: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=i8J9N/uO6Pt2idIlodsBX+Pah8NW+LtugSBC2dgIbIMDsqJKU+F2R8+hQMpZ1jQ3I jEV/JpYcYgP8uxoCSaeMmMB9bJE4Fqj0t9MObj8bG75PCKens+/kHSb5tUup7JYcac uRYwQthQbBxTRffjkisdYD2Q1ZCH/M/VAMzzoSkuZcSLUoV2I4kn3s5SkJkZpsrCsS p0AGYApz1zHVyrf7AQFiRXG9CyjJGmErGcqINWsad7X8NnELdBbh0HT8M4tvwBFPN/ Ga83UmpvrV735muAHy9EkpXBZsATt9ZylADxQgoyAZJ+NmVe33YfkVuFWq1EBB/pv0 mcHlg6GgfK/dQ== Subject: Re: [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" > -----Original Message----- > From: dev On Behalf Of guyk@marvell.com > Sent: Wednesday, October 21, 2020 11:04 AM > Subject: [dpdk-dev] [PATCH v2] regexdev: add OOS capability definition >=20 > From: Guy Kaneti >=20 > Add out of order scan capability to check PMD > support for OOS. >=20 > Signed-off-by: Guy Kaneti > --- > v2 - fix definition comment > --- > lib/librte_regexdev/rte_regexdev.h | 9 +++++++++ > 1 file changed, 9 insertions(+) >=20 > 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 > */ >=20 > +#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 returne= d as > + * soon as it is ready even if previous jobs on the same queue didn't co= mplete. > + * > + * @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 Acked-by: Ori Kam Thanks, Ori