From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 33472A00C5; Mon, 24 Oct 2022 08:53:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 24CB64161A; Mon, 24 Oct 2022 08:53:39 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2047.outbound.protection.outlook.com [40.107.223.47]) by mails.dpdk.org (Postfix) with ESMTP id E7E6F40E5A for ; Mon, 24 Oct 2022 08:53:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aaVybB1OJN5qP0WlU2B6NEe+0T4IV4nhPpQzfQ6Y05h/cjg7rqvZ8X1WyWQPdfQp6FLt6eJZcgIVjUZrtM8iD7ygUs9XNCKq5voTqdE/nYPf5JkGOf8l4DszxTnKfAx27PvR8U6EFeNv2JfjyW4hQIoti8XunlGnb5RdOi3XwO+zgyK3nH086ocUHURXfxZdOA0VjcVxsXqjlND1CZPwAyDArIQCk4fgvKNYosLGV8CddnKdGMhy6er5/cuB/Vs5/GP9uh2eF27JSyKd47Xn1kmMee6kmkLdP4icz2fYoNdXsz72KEUsCPEvhJVdP7XBnmjZvXAma1c4r1j3YrRKuw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=riI7RRqdMc2CVa3KIOuUj6jNhzON9Cl9ZlPrWyWToBk=; b=UKpYV5aG/jM3Kn23yvQckf4aFWl5j11Dic6YvCmeohvr/D93pm40Ru/S1+x/cb1solYQNu5bwoKnvM9259kw01Fi7RPNlD22HqgTGLiFcXEnD69ZnNRzaL8CRkNNGTgKclsAD5fifFYf3CDihGInoZR4SfiUP+HPBzLSaCdYZDQ4DGgdVOV6ytWO3OQLOVfdTYNhL6HKj1M+Y0iNHmX6Ni8n7A/mkEHygE0FJkLTKV+ZbP2Y/onNS9pGFcCiZBl5hyx+k358Q5XqRE1W8aEJTOtrpOpWQ4I9T9NCnW2qjKlTygFnsadojbtCvjlhBWB9pAAO1XRyVobk5Tv2//bnjA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=riI7RRqdMc2CVa3KIOuUj6jNhzON9Cl9ZlPrWyWToBk=; b=gnqsC6mhA83LH4Wg7K+84Bt8QoWpmLzzxa/WbmIH/D1Xj2SPUJZ+rTYdQA49s1dBJKv1VY46UTICPUHFwZbhVcS4XQko1e44rHB7iZw5m3GOCAH2O2LGmxS2T982O1Vm1rWBE9RbA7lqzskPiBwgcW5Lw5zbv/WjVhUtV9edmTz33qvZt/2s3isfPBxMegmLK3GiwlKO5aqUBwHL7i6FYm68UjGXME0G9bE3RAnKH4vBU/r+zT3VMQN/2Go1cPSEPqP5q+BVuyAQv/x5eq2jJEc+Nfkg1nz+ozs/IrHwb1ZvJm2Jfx9KaCwTIiJ1qIjEWQ+z+ZDK+BjB+tdbeb2I+A== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by MW4PR12MB7031.namprd12.prod.outlook.com (2603:10b6:303:1ef::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Mon, 24 Oct 2022 06:53:36 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::7c8c:ea68:bd84:9458]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::7c8c:ea68:bd84:9458%4]) with mapi id 15.20.5746.028; Mon, 24 Oct 2022 06:53:36 +0000 From: Slava Ovsiienko To: Alex Vesker , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Suanming Mou , Ferruh Yigit , Matan Azrad CC: "dev@dpdk.org" , Ori Kam , Mark Bloch Subject: RE: [v6 11/18] net/mlx5/hws: Add HWS definer layer Thread-Topic: [v6 11/18] net/mlx5/hws: Add HWS definer layer Thread-Index: AQHY5JzwNUUUxableEmz6jDvoAVnvq4dIWPg Date: Mon, 24 Oct 2022 06:53:36 +0000 Message-ID: References: <20220922190345.394-1-valex@nvidia.com> <20221020155749.16643-1-valex@nvidia.com> <20221020155749.16643-12-valex@nvidia.com> In-Reply-To: <20221020155749.16643-12-valex@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR12MB3753:EE_|MW4PR12MB7031:EE_ x-ms-office365-filtering-correlation-id: efaab34d-3a2b-4832-a1de-08dab58c796a x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: k0FnAMG1eJoJ/uXeUezphktwWUSKsm8RdLHNa0zDZU76bDoTh/ihY21hTf5dlm7DMBFeAhjXEW6DSTF7RUlv2EiW7BxcpzRTBLJGZwpNdy8DvtXkZUTuYR2z5UeC+beBO+gj/Wgl0CPcDJvvsNZq18ocuMSnNR5io2BzPHMiLiMLOC/9fyEqI5TjtFngpX29YsPCv3eoulR/5Dvf5d71FYieQHAiJncjKdWYMzAiVlaFGpugkhqgH02sCtn2QNfyCEEH7Bu3u2CKgLuvd+LZ2NVfSPII/9KnN53U23LNi11JXLt0fYOyCXi214re/I7BstYPBcAlG5LmGbJEvf2/mQ8q1PokOMQLPg/QP2fsUW7H9KC4XppCBY8T3KgkktYHDFQkbM5x4S6hq6dtZCBWvGiRouLgUcjXxNJCpJZJkMy3cqL1HFH4bYeQNmIaDCBzisb3SDqQJIAGyOt32J6fMPiT/wyFAt2/7Z6qD3/oSRKEYoAex6emP+aZz6RhcL0YbFAMShjvnhwsA5Nm288M924m64oaiy3dXQucR9s5hkNYs6B6NFGTRyXT2RWMYJMYfD9hJJdPbp2E0zC6v1fYCdZ0jeegEcAZqaDzIPXnuZfEPchL0+sG5EDL/dpGDroYvayaeZY+m4bEFrWvgO/pVUJ/b4yXmx7A7TBNUNYMIoEJ4UOj2Q5sQHeFAk5kCegzFbEKwoQO54heOz4jchaGIXvEbomDkl13k+bAXtYjSrjAnekn1ubzs1wOa2m6nPyUVdoFlQVoGSWb4YaY/zSIxQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(376002)(136003)(366004)(39860400002)(396003)(451199015)(186003)(2906002)(83380400001)(38070700005)(55016003)(38100700002)(86362001)(33656002)(41300700001)(122000001)(110136005)(5660300002)(53546011)(6636002)(71200400001)(6506007)(54906003)(8936002)(316002)(7696005)(478600001)(66556008)(66476007)(66946007)(64756008)(8676002)(52536014)(66446008)(4744005)(9686003)(26005)(76116006)(4326008)(107886003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?cXZh2QsNMsRIw4tG5m8GuZ4TMaVGW14+1ePdeEn+hGrtn45SWVIBhi9pzZ7j?= =?us-ascii?Q?Txr919tm0l7Zmqd4zbI8P0gs9tFnxPsKGj4HBjiqQl9/5qRtuXakRocpq43g?= =?us-ascii?Q?axngc12hA0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?us-ascii?Q?6VqMeU15SKrhlo8QnbqirfEzVcbkbfa0QfhGHJ574gpqH3N2xxk/k4tDkqM0?= =?us-ascii?Q?MLxGqHex3R29lkesrIPMbCsUFTJGyOq9YJL4r/QIRCjzpBKko/TbT2GJxDca?= =?us-ascii?Q?+zJ7r0HxA+/hqoeU+l+Q25ODruhluH+jh8zd+vCsfWGXSzuB1UINyyWNghUB?= =?us-ascii?Q?FGZfOzSX9WGhZqSLap2h/80ZI5IaPPnJ9X8KrsmEPqcoyVJoOr8s61vvvh9C?= =?us-ascii?Q?0RuTm6XtmLjkXWHF+/iAEei0x8EVwgVtM6hXY2ipXA3GP5HvB1X5prMqRxh2?= =?us-ascii?Q?H+OfV6+85VPfCRLXubP2me8xQtQHkfdk1ouInv3vMwgvvbCxQNggYmu7L2O3?= =?us-ascii?Q?MXA0YQU4y4zi8UwxJl0vAoWZcepbLD+DDpbLLehqqMer1Cx9AKYjSqJGFuSc?= =?us-ascii?Q?VxMQ6Ok9ot1v12mifjZS7Pu7K4+w3lZBIq6j396klYH5Io8806EZWKRea8ZQ?= =?us-ascii?Q?z+U7cp3bseVTT7NTPtIAETokfcRLcCoPS+cpVjmtzxZDQT/mDrw1x2eIPCUY?= =?us-ascii?Q?+SMANtGb2A+HF590VvpmVk4/hsxE7ZRg8Sgk4GAI?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: efaab34d-3a2b-4832-a1de-08dab58c796a X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2022 06:53:36.3114 (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: VXV4BAqVs/l8pX2fWmVexhJYVg/kiUaEVQe1MT4im5W5BQ0y3TkN29nBO8yizgc3WnIwaDVZKiit+9P0iLg4yw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7031 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Alex Vesker > Sent: Thursday, October 20, 2022 18:58 > To: Alex Vesker ; Slava Ovsiienko > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Suanming Mou ; Ferruh Yigit > ; Matan Azrad > Cc: dev@dpdk.org; Ori Kam ; Mark Bloch > Subject: [v6 11/18] net/mlx5/hws: Add HWS definer layer >=20 > Definers are HW objects that are used for matching, rte items > are translated to definers, each definer holds the fields and > bit-masks used for HW flow matching. The definer layer is used > for finding the most efficient definer for each set of items. > In addition to definer creation we also calculate the field > copy (fc) array used for efficient items to WQE conversion. >=20 > Signed-off-by: Mark Bloch > Signed-off-by: Alex Vesker Acked-by: Viacheslav Ovsiienko