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 A1819A04DD; Tue, 20 Oct 2020 11:17:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 94D3DBCF5; Tue, 20 Oct 2020 11:11:25 +0200 (CEST) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id D7A55BCE0 for ; Tue, 20 Oct 2020 11:11:21 +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 ; Tue, 20 Oct 2020 17:11:20 +0800 Received: from HKMAIL103.nvidia.com (10.18.16.12) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 20 Oct 2020 09:11:18 +0000 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 20 Oct 2020 09:11:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FLLSnlKHknUR49t5TFczyCsAUDuDmcg+ty0l2G87W86WdHq4e0ipxhcwcZC0sWdt4JvDnBIpQR7izmtUKETWaXymU1XH39BgOPOEKXm/iE7aOOI709gWYprym+grLiIkH95i19lYKp2ezDIpwqLYbXZq/ESJyckd3zg/M4BB+YYt/QZnqAu00zIhX+aWMMezb29nxncgLVSjqEhSMybIkH+svPkbCBKI8jEaQTgZDsbxSSpZ3Ec8ZtTZ0+/PoatGHQUhP/Prya8cYg++ERMyA483MOUtbKpNBnkdL1kSaTLk162LPq7SfAIAlIZ8R8APlRGSStxV+WjA1Ks9OUIUiA== 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=yxgsp+WZcIL12QEz+j/GsREPKgcaZgAUtGljlZjQ2eI=; b=PzJJNNwdzhm7KsDU/SA3CV+GsEhAtAr58m4e/Mom04bUbh16dHsGAg33ZLen+QGBE+KfZ7ElCMdblugrqOhGI6XCtw+2XdPllw0sF6wwM519TK0tVRIwbYc7s+NPnCtc/mvDs+6NKxLVEvLmmVNiWt8h0DuATq34cyTJ64fajnjV/k6zUWSHqfWIWggm/DR995GDYD096m52DfqjFnau2FwrC90WVNJz1Z2hnERyzn5r8mJKnz8gGjP4fTXYYHQAN88u6mizePbAl+83v2h3ji8HSK8JkBuL4noDNhBNTZVyUqM7bYtY4BkESjpBO59RGag5vEIXzEhvHL2+wpLDww== 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 DM6PR12MB4516.namprd12.prod.outlook.com (2603:10b6:5:2ac::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Tue, 20 Oct 2020 09:11:16 +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; Tue, 20 Oct 2020 09:11:16 +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: [PATCH v1] regexdev: add OOS capability definition Thread-Index: AQHWprmR6SwEpPzel0qjl9uwvQ/cPqmgNDdA Date: Tue, 20 Oct 2020 09:11:16 +0000 Message-ID: References: <20201020081624.25210-1-guyk@marvell.com> In-Reply-To: <20201020081624.25210-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: 44674da7-fb8d-41d2-e78f-08d874d819d2 x-ms-traffictypediagnostic: DM6PR12MB4516: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: G4L+4152pFeUeucVrnI1i6gYvND9R7VYzvzRReZFsboKlUgsXFFmtLD/Gxqye/PFSlmn35eoX5H2mLELCxS1wM9N5EkUTKXDv+Fatkry/kWhXyUAzpMzeTxlOGifSnBSJkf71pUpSd+qi+iusCfuAdOb6NVZANIG3N2PYUvkx0xCx80KrRqOlEIQdWnus7g88vK8rPMG0cytGQeEdPV3G+kxHWgwJ0CYdOHibziAAWkgMhrK9ODWiUmKY5TefwkQfHxWND9imclaZfyM17SN1J29ENoeAefr8kljJi5aPouSCG+9JQzT3aK2vIHbhMmf 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)(39860400002)(136003)(376002)(346002)(366004)(396003)(66446008)(76116006)(66946007)(33656002)(2906002)(71200400001)(64756008)(66556008)(66476007)(7696005)(6506007)(5660300002)(52536014)(83380400001)(86362001)(6916009)(55016002)(478600001)(316002)(54906003)(186003)(4326008)(8936002)(26005)(9686003)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: Lr8eoXjZ4FuDLubhTkk3W4GOffiz1sFKBsyeH4hoo9QSNhe/N59DVH5v2daU3bY+5Ya28bPIGG6EkNVbg6BJTHnmgtx6eKxFXs5geGeJ33yBwtM6sLtbIbzh7FiLYz16BttrhvqxnXbBcflpYZ3OLFkPbD6t3PW1mATOUCnlNQow19U15H5bv68O3d97BPYGV/B9pkj80o9l9ti/RihtEQeJYw/Dg0cgZlaQZ8whsNi8HSt5KDVQEyaUD+G13ytLWG2HZ4W2pa3OtEiURkMsKB1PMTwam/RGzATpf4BZZIcUNhW2cRqMTGl2Iir2cSh5mrvuT2Hiu55yoNmFwj+RAi/ZNbB6cYg/YjJF3aA/H5Ma/nSevb22iCayF/0OsdGw5yfPKwOIxEFzPoOoB7N+x6E0BlFGNQ5sIO1UHnE0exVic2v/NCXCODcPTpC9eSYfUTTqWIZ67dUv1zqW3TopB9C1nKczhIp/wmJW7Gz9e9frkI6zrEg8+BECI35yycPsmBRtr/XAdyF3doDPj942GIeHkMD4J1b2SVo9g0QReZpQ43wdy4bdYEcRUg1eDKMD/hm3Jtpi2nqb/Hptc/5CwUHONFZ1sFqHcC5DY5liwm3SZ+UqHhQ2HgwoJUKMLLMAXolRFUqeZfNbhYyq1NVbJA== 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: 44674da7-fb8d-41d2-e78f-08d874d819d2 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2020 09:11:16.7405 (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: RRpaSHcwOjb4Ucjg0h4924fv8YnNAoZ3sgwBusb3TLquoUkVqee+OuNgoHUqXCRK6Udzw0MT7K5KsJqbVaDgFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4516 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603185080; bh=yxgsp+WZcIL12QEz+j/GsREPKgcaZgAUtGljlZjQ2eI=; 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=j12Ja0R8P/MYgTIyxe7rmM/MJwOzlkHxFtkN5CzGt6Usa7IiaWu95xJ+TTaJQ5OYV BrvMRL3h6xi7jbjVd/0cKL4r0UXPNFDdv5g58b73IuyUnjg4EwmRI6Tc1s5Pu58kMc Fm7ioTgbJyBQR1YrQ+8k89AXWOQX2cGrafyf8plealx0MGMe4P4ooU98vIyGGa4lOD A+U+qY1PA/0zhkUP+Ozzw+dXP4fRQM02eyV9waa6OjCwL3lEiBE4hIrnq45u/Dz70b Vr4PiL2eQ/TyiEIc3oQg06YYETGVMMZp6lqde2d3zL5WPPvyXee19PRcPYo2g066Uf gebuwjy032w3w== Subject: Re: [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" Hi Guy > -----Original Message----- > From: guyk@marvell.com > Sent: Tuesday, October 20, 2020 11:16 AM > dev@dpdk.org; jerinj@marvell.com > Subject: [PATCH v1] 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 > --- > lib/librte_regexdev/rte_regexdev.h | 8 ++++++++ > 1 file changed, 8 insertions(+) >=20 > 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 > */ >=20 > +#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 Acked-by: Ori Kam Best, Ori