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 B6565A04DD; Wed, 21 Oct 2020 09:39:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0DEC3AC79; Wed, 21 Oct 2020 09:39:16 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 324D6AC78 for ; Wed, 21 Oct 2020 09:39:14 +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 09L7Ye7J026935; Wed, 21 Oct 2020 00:39:12 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0220; bh=gJFTYa6XT7QvWRC512D8i7I0z+VCXbqJ/YvqRVtPHKc=; b=ddhlMrelMiG449hYcPnfDXyGVvIKfRN6BWtArYIEZYhsY9aj91d3nzozA0Lqwu4E8Sbj PBguaMBBmVvEUF9YEVuUBmqfyNsFE02sA1Bi9ZbzULJ50maHe8pgMm7iDvm45/5k22TR 1PKmTtdi/8IjP4f1qz/0JK8oS9SfM95AuvCF98t/Fj982O9DDSv3eTvRSxqXSDwfEy8H UEfom0+EczRZ5mzf55SVn6VsL8yXa9mrNlY9YWm40Bi/QN27si8fsUnN7Zlz7PczlJVV l07JrSqq/p/yghb/DGffPfv4jhGgoaCcFQbOcUktPtGY7godU3NBWxAb6h+qq1SM/qyR 0g== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 347wyqcahh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 21 Oct 2020 00:39:11 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 21 Oct 2020 00:39:11 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 21 Oct 2020 00:39:10 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.57) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 21 Oct 2020 00:39:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wx2p1Tf2dwdxjxYWJEZLbg0O3laB4Vj49F4x6zQhGSIbS97B0qj+Z0B83tnRDBKlwzxm3xJnQlYtIT0G5VcI12+rnVxge3J7meroh8uu2dHewRiZzyyywWTO2LUZc39ZTyUlyEbSttV9z2X7Oh/leuIaWN9c77NO0sXL5lpOR/9wLIXUL/dlG2qyq1kgzcRuwIxAE3Q02pdJf9+zS0isz6SPaNzaGrN8CFlBWIFv4a8dB0QU+cme0YlDnYSuPekpuUDyDAgMbl7k5VcZ5kBy91Qhyg8KJEq5AgDccF5M6e4OfCcQDk3MQi4JAYwNgoXqGRG4noyK6fKhKF41OnRoKg== 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=gJFTYa6XT7QvWRC512D8i7I0z+VCXbqJ/YvqRVtPHKc=; b=Doejm2S1qKygqJiSfFzFWAoHtyTGbUyjogxE/hKjic914V9HA1Qfhc08ZZHgdPTLSt2FhteK+VJwDGQ63MMjisjHmFfl6xcpWqX1VISytgeyvkz1IF35AVTANsjuv8mB/tEomXtBYJ7///S3P2OKgrq1Vh1z37t28yfr3qwbxqIwqJ1k6wXlo77/p+uqUbJCEDnPfCj/HrpnUw0NR55zN0d83QtLiZm4JHibvUuohKwjimoJyY4XvcPR40+wUsR0eA7p89lGTfqhvv3UN/KH2mfmKz7R4CO0nvx1kiu1VOAUQGzKc5EQvd/pbzQnjdQn5CHwLGQFu2I2Zh0l88KArw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gJFTYa6XT7QvWRC512D8i7I0z+VCXbqJ/YvqRVtPHKc=; b=d1oY/3e5QW7VuKcx5hSNlwLYMAiHwPW5qQr7BKoUkNdOBS6Qjw8fdYIiqTQK7aEnnqwOY5eq2eFeM9P8sTcsVqHKwSK21IvhoZuYmtipAGvyPfWPrOiDFkUYCGXd+W5MSr+74EjuxtySe6D+DyAVLxjOUwacfu2Mr167+BvZhbg= Received: from DM6PR18MB2410.namprd18.prod.outlook.com (2603:10b6:5:187::16) by DM6PR18MB3681.namprd18.prod.outlook.com (2603:10b6:5:2ac::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.22; Wed, 21 Oct 2020 07:39:09 +0000 Received: from DM6PR18MB2410.namprd18.prod.outlook.com ([fe80::e184:1839:91a0:cd59]) by DM6PR18MB2410.namprd18.prod.outlook.com ([fe80::e184:1839:91a0:cd59%7]) with mapi id 15.20.3477.028; Wed, 21 Oct 2020 07:39:08 +0000 From: Guy Kaneti To: Ori Kam , NBU-Contact-Thomas Monjalon CC: "dev@dpdk.org" , Smadar Fuks , "Dovrat Zifroni" , Jerin Jacob Kollanukkaran Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH v1] regexdev: add OOS capability definition Thread-Index: AQHWprmNERmFGYclqEi3vQwTz8gKhqmgbfmAgAAcyGCAARumgIAABlHg Date: Wed, 21 Oct 2020 07:39:08 +0000 Message-ID: References: <20201020081624.25210-1-guyk@marvell.com> <4454512.6pSV32BM37@thomas> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [176.231.67.98] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cb60b15b-bf88-4133-8a60-08d875946566 x-ms-traffictypediagnostic: DM6PR18MB3681: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5baxIpRGiInf3Sx9PHWIjDFf4PoEDvbq/z+448MpWn4EhPv43QA0RKV8aF0Suuuq1upbelKflSQadkq72+OmykFfFhb1btY2WRkIZZShdd4c4ehbqmlZ/2KOscQ4R99MOBvvopyI2vRXCPOIKr7eN8+Rhkk3KztWxl0BaoL1ssTsjkAwdhh6kq2kwDW6vTODvAeeJP5OR0V+UxRMPacxsFHUanC5BYwXZ3CFY5F+0vflKsnpVp65Pc5seEpAj2FHqnewg4KCI9JgvsVDEKUztxTAIZJmX74Kox4zLIPbCYn1d9FlFDWdU4QkpG3/HHtt7PX5ttF01KAWjVQ4AQKc6A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR18MB2410.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(366004)(346002)(39860400002)(376002)(136003)(33656002)(83380400001)(8936002)(71200400001)(4326008)(2906002)(55016002)(186003)(86362001)(478600001)(9686003)(53546011)(66946007)(6506007)(8676002)(54906003)(52536014)(26005)(66446008)(66556008)(110136005)(107886003)(7696005)(64756008)(76116006)(66476007)(5660300002)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: H/6eS/jd94qcxje0Pu8JnSLZndCXMlnfNnzCiWiK3tPCsFh7u95Q9iSNHDhj84wL2gb6VvsWKzj+Oh4LyULocwyUMKIlHUUZ0u354IrYI7vMB+tC8hQtkHjDzBaFkGB9Tm04psaCd3WGjo1cdhkwR1ni6/e3TK2yfkcdeXA7j/5h2Vi/0v3PwwWy9QzNV6w9GMpn8aMrA3fVaWsxC89t7qdiOINfWqyd6Mt1PIyYH29iLK+g/k9uk+dY6OTI/hTzDjZfwx8LkSxJnla1g0Ot7jPBlfEcz8ZmEIWU1ZKv6bUwtCg1qqknBuONR0lXQ4o0wuu9uVnx+SNnIO9aTvDK4YraeKDVlq5/pDwcDrk0SNgZAn4UMEyOlJYO0LcRZhEdqa1GESg48wJLSwtxoze/JdKnQQ3Tx8iooQylQahUUMdmd7a2TIYG6g5yGPDbEd/AXmuKTpV9O0ekS23n/k0Tc52tAHb0HDo9W8Fs5tEzUPSJH7i8r6CnWwpZlmLD9N4K60oIr9QCCF96DtTHLFozhSLxCG+DJPoY5OygXVGc8czqeiqNDn3r9841eR9KyRkQPQGx+QfPT9Z7N7Ub00RmigVyFrajJ2tqXh8jFGFX61CoiFcT9RpqjYvj/6RyEmz1TduAW2K/86JQDjISM6aZJA== 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: DM6PR18MB2410.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb60b15b-bf88-4133-8a60-08d875946566 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2020 07:39:08.8674 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pBvNE8LgwoK/VfOqBg4Q8VyON6k/y90a4uOz9MQQG4clgWnnAGYJoAwVtoKIc00KKhcpZ5zs3EKdELjfFyWuGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB3681 X-OriginatorOrg: marvell.com 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: Re: [dpdk-dev] [EXT] Re: [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" > -----Original Message----- > From: Ori Kam > Sent: Wednesday, October 21, 2020 10:15 AM > To: Guy Kaneti ; NBU-Contact-Thomas Monjalon > > Cc: dev@dpdk.org; Smadar Fuks ; Dovrat Zifroni > ; Jerin Jacob Kollanukkaran > Subject: RE: [EXT] Re: [dpdk-dev] [PATCH v1] regexdev: add OOS capability > definition >=20 > Hi >=20 > > -----Original Message----- > > From: Guy Kaneti > > Sent: Tuesday, October 20, 2020 5:24 PM > > Subject: RE: [EXT] Re: [dpdk-dev] [PATCH v1] regexdev: add OOS > > capability definition > > > > > > > > > -----Original Message----- > > > From: Thomas Monjalon > > > Sent: Tuesday, October 20, 2020 3:37 PM > > > To: Guy Kaneti > > > Cc: orika@nvidia.com; dev@dpdk.org; Smadar Fuks > > > ; Dovrat Zifroni ; Jerin > > > Jacob Kollanukkaran > > > Subject: [EXT] Re: [dpdk-dev] [PATCH v1] regexdev: add OOS > > > capability definition > > > > > > External Email > > > > > > -------------------------------------------------------------------- > > > -- > > > 20/10/2020 10:16, guyk@marvell.com: > > > > From: Guy Kaneti > > > > > > > > Add out of order scan capability to check PMD support for OOS. > > > > > > > > Signed-off-by: Guy Kaneti > > > > --- > > > > --- a/lib/librte_regexdev/rte_regexdev.h > > > > +++ b/lib/librte_regexdev/rte_regexdev.h > > > > +#define RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_F (1ULL << 22) > /**< > > > RegEx > > > > +device support out of order scan, this means the scan can be > > > > +retired > > > > > > s/support/supports/ > > > > I followed the other RTE_REGEXDEV_CAPA_ definitions I can fix it here > > > > > > > > What means "retired"? > > > > This was the original description in the rte_regexdev.h: > > > > #define RTE_REGEX_QUEUE_PAIR_CFG_OOS_F (1ULL << 0) /**< Out of > order > > scan, If not set, a scan must retire after previously issued > > * in-order scans to this queue pair. If set, this scan can be retired > > as soon > > * as device returns completion. Application should not set out of > > order scan > > * flag if it needs to maintain the ingress order of scan request. > > > I agree with Thomas, it is not very clear, The idea was to show that a sc= an can > return a result From newer job/search on a specific queue before a previo= us > job on the same queue is completed. How about this description: /**< RegEx device supports out of order scan. * Out of order scan means the response of a specific job can be returned a= s * soon as it is ready even if previous jobs on the same queue didn't compl= ete. * >=20 > Best, > Ori >=20 > > > > > > > + * as soon as device returns completion. > > > > + * > > > > + * @see RTE_REGEX_QUEUE_PAIR_CFG_OOS_F > > > > + * @see struct rte_regexdev_info::regexdev_capa */ > > > > > >