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 0E891A04DD; Wed, 21 Oct 2020 09:15:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2205BAC71; Wed, 21 Oct 2020 09:15:26 +0200 (CEST) Received: from hqnvemgate26.nvidia.com (hqnvemgate26.nvidia.com [216.228.121.65]) by dpdk.org (Postfix) with ESMTP id 2ABBCAC70 for ; Wed, 21 Oct 2020 09:15:24 +0200 (CEST) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 21 Oct 2020 00:15:09 -0700 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 21 Oct 2020 07:15:18 +0000 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.57) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 21 Oct 2020 07:15:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ni6q/F7uVtOT/F+xhcgwrlyfKoL3yVEekyyhfdiWphEtruJXb46j1UeS/bjHIQnYrkqEyiSGfutiKmxj00CluABbj0xcMoc6epOZ33llxDf32Eudz7dbBAGKkEGAbSfhMfNwopz1DBp1l6A7hCtbaf/9eWdYi0Jo35mk1qL+Th8CWxpSu0DFejPR2/k+FGhrA7InbV734wO1L2qSWhZlfjy4Ye0dHl0et+XBXcZFBPau+LeCGk0xjv8C4odYOdGTqA43sOBbHkO+CONSYUGr95u9PV177cSXqb4zI4zVYs9SFjVl0qx2HMryMeqOX40MPPd6L4O1f0OXob3p12Jz4Q== 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=IcH0e4uMJrDKUmBZywcv4GpIhKlTGmkuJilkwGL3oAU=; b=fr6cDpVXN+gT0XGjdD0IByAUQy5i7zAVwGXD9pwnopSdC7FMZ3HRKAWmjy5VDJ9OhqSV6NwrGWhKdUu1y3X8piI0veu/hpQPekKDgN5NSuK6PeD53ncwGeLAYPyD+84gl80hxzJsbJX9p+0xUrLlrvtZmK1FjnKjSRYtE1UTrYx5nMMWud6ClNrYbK7KckMmSyEONcPpmTOYurhcnj0wiA1teghJy5hz7I2WqeiS47+ZItFHGPzVpKZ6CuDzuY6YDdrf8iPzYhz4EwjIW39vhhVldVVLdzhYROs91iIzqRh9JUV4+VrPtnBd5h0+nxpsheqNsO8jzHOm0jKAyDk1XA== 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 DM5PR12MB1867.namprd12.prod.outlook.com (2603:10b6:3:10d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.28; Wed, 21 Oct 2020 07:15:17 +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 07:15:17 +0000 From: Ori Kam To: Guy Kaneti , 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: AQHWprmR6SwEpPzel0qjl9uwvQ/cPqmgbfmAgAAd8YCAARkq4A== Date: Wed, 21 Oct 2020 07:15:17 +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: 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: 0c2faf7d-659b-46f9-d005-08d875910ffb x-ms-traffictypediagnostic: DM5PR12MB1867: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: q59SkwPPFdP3VDZlAb1jJT0eTWLyESxFQlDH2ZYCHA2jMlwuIthswVbSEwtqALQ3m3r1qepmInGE2Am8vAVmI+zUIfb9RoCmIyZ0EoEXQd5RsHNpYbB/AO/GLVW/3JRpa8kTS1gZevHxFtvQnTcCalz4448c4aLPhR/VCaQxfyQ10A/y53hvorIIRIZYz2WRFdz4D2g/P9RQ6wBFm0KaQjUvF4h7tnOA7jeV9YTq0lGJjWHzdteIvcti4ZWYmzhgq9VEnMkOSsdJfKfSoyvH/HzResPJzw0vnF3YqLNkZ7NHgVkH3jObna0gKne7jsRiu03IGJPgltQOdQFztU1nZQ== 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)(39850400004)(346002)(376002)(136003)(396003)(366004)(26005)(316002)(478600001)(76116006)(55016002)(54906003)(86362001)(71200400001)(110136005)(83380400001)(2906002)(186003)(5660300002)(66476007)(8936002)(52536014)(66556008)(64756008)(7696005)(4326008)(33656002)(6506007)(66946007)(53546011)(66446008)(9686003)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 4xUhz8hbyHOu/Q3f45DRUGGA+w1+ai1wEq03caTTHhrf3VDgkitE+qTxZotzCzL8GKU2ANtMn2yszu8YwS/fB/gWXcP1P5NVc1oWIokJkdZiRiNxEPkzFCg4ieBCfNW/ucd3Djw6TngHFjyaVqRym7klw7rrwPTMDbOyZM+wSitT3BLovq7A9zUmzhIIXiQQWsQKGCotxlSspx3uPZW2V8QPA9SsISzmomw2GqZC064nTKg1NbNTVrXQf9X1che0V8nxKhGSJLQ0jo4+YrFMltHX6YbTMhfG9Kbnj6u1hhHUrUiV88OpGUCnChCoC068iIygCAaV1BiF09ffceekA7qEQr7/nmgjzh3rpdLWbreq1Fu4fybc//YetWWeTPzQvTPeRi6Ms9zAncVr92wH8BrxMg1HFbs898t2EWQIuQPYcnqSIsDkLqBINmnnBJs5pBnLQUhQV2Sagz3UopPimRzns/LwxyfbnbXwEKY1WiLmS+I8GxXrT4t22VWUolq879r7yAgdNI2tUo8EaMiF8LahBMg3WBa2/g0TqyRQWfBytnEnTXGck0BD6c1q8ZSAzJNLnORnUEGdpF2OrWGHyqI460usS8puRtTwK9r6PrwqnZXGg43qUA89nkWxGHiTBL1jg7wcFCiubgsdpELSzQ== 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: 0c2faf7d-659b-46f9-d005-08d875910ffb X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2020 07:15:17.0994 (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: Mj4qZNke29qpns9lOu9qX2TRf9v8iqM1OEwOlHaXVcMdMeE/t+iAMvLsCGuMAFU1JnCgH1tUdoQy8ozD3lWF4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1867 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603264509; bh=IcH0e4uMJrDKUmBZywcv4GpIhKlTGmkuJilkwGL3oAU=; 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=eL1Ibab2lVgqzLo11pJPLobSSdf2zEXdxpb5R1Ac/41EyukavwsRz62UVc8exj4ls TOvG+qL9hONh6vN2znQpqoo+eoK0V2UlKcne31d5L1ZFrYInjX++zBG7xlBa/Eov8V YNUc3y2QGcYeDFF+OFouhiUqqbQICqsbiBG0/Ou0bXYONBVmOTej24uSC+zCTLtt8I k8D6DtCtv0PhTzyovn8XTfYDxGLHrYQHIcPSEPabD1NmisI/ymoA7JrhQ/9lG0MWZq oRYZi7SoH50A76U2BGzV6spdcVSns/X4FrwtNUaGKr8Ec2U2drhLkaJKgaRPBiwSVH BEn7/Ku77H5vQ== 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" Hi > -----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 >=20 >=20 >=20 > > -----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/ >=20 > I followed the other RTE_REGEXDEV_CAPA_ definitions > I can fix it here >=20 > > > > What means "retired"? >=20 > This was the original description in the rte_regexdev.h: >=20 > #define RTE_REGEX_QUEUE_PAIR_CFG_OOS_F (1ULL << 0) > /**< Out of order scan, If not set, a scan must retire after previously i= ssued > * 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. >=20 I agree with Thomas, it is not very clear, The idea was to show that a scan= can return a result >From newer job/search on a specific queue before a previous job on the same= queue is completed. Best, Ori > > > > > + * as soon as device returns completion. > > > + * > > > + * @see RTE_REGEX_QUEUE_PAIR_CFG_OOS_F > > > + * @see struct rte_regexdev_info::regexdev_capa */ > > > >