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 F2A8545537; Sun, 30 Jun 2024 14:39:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1CE4E402CB; Sun, 30 Jun 2024 14:39:18 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2053.outbound.protection.outlook.com [40.107.92.53]) by mails.dpdk.org (Postfix) with ESMTP id 2E15A402C9 for ; Sun, 30 Jun 2024 14:39:17 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LfuM2oylwUqXsVSQAyMgytvJrXGz85n0lO9JZ815CQUXyV0ChC/Jfa4xDhyIBJNHPBGGpAbXxxLlZrXinbvO6t2kgvMT1Q7tMnwcBK8sAyUJBLDIg2jOk6EPy3kqS0CK1gaE0tYkWPSnBfH3mW3Qks3ihHV0mfLfsEMU68b3mZdLmZJ6Cv5iRF6G0BouLJSIpD45kzQJn/eQzHUsWDyTy1M4KnBRw9WAj1svOGctwjeZ8O10BWf4xaplWOHul6OV/g1gb0OudYjNqrg0fePp+PG7oX7ERCVddg9uWkCyVMnwXTB6i1kFinna1MpRnH8ge9yVUjrFV3V9Pgql6Er5oQ== 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=jgvpNA8bGxY0BhxJP/SJyuqrLjwtupvn0xZQ5rPlbbk=; b=bRzLZGRv0THPELg/XioB0kz9p2WpdrljBm5tvLXcscNZcHxVuTy6Ezv2/8TSRVWdEow2jS5LSEglok//A353edT0RzHUrlNCYGn60Cb7zv+V+6t9ygTQAfgfVeKOClp9V538uMp68vDy6IUhGU1rt50a1PXUMv5U+tlnRYTtcCcGzYwUCBsVUlZscZMbCofZrsOCT4WqUgq1LSROQkmU39LgeH6wbIUDQc1rDtZKia1yEP0wL6nKnrPBAND1IC1k5DwyzRLFVX1vsEFZCVPhFteeSzXKIA0wCGUWXSrGd37kDbiSKmZZVUFjBOh/ZpaII9sRVAzC387ZSJ5QidoZww== 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=jgvpNA8bGxY0BhxJP/SJyuqrLjwtupvn0xZQ5rPlbbk=; b=EEqvrvty8aywx0FQRECweEZW7KaW5gE+UpFQlrFWNGwIq5axwWkfNlm4DEnw04J+WciWnG6zqUBeykzpYTamN2vUh8RI+wB1NHQc5GlszioCopK4PECt0xyp7EwTQbLNgfRXiJbwmVgIC2uIWh2wC3RClzX/cNZnGgtdCTKR9y/vo6h85Q3wdOsyb2Wcy17UhNUmjz+3Uk0noMBKhXDd0D2ivQYD/hxSF99EUOKsO3PY5KK0CJVTab1av6y1Nh9nrp++yDOQtzQu8AgwdjjWD2QU7S22rYWnUhGM9+M7EiqobtPyp5MmTfMVNJm69X1f3p1Gc9Qm3AO+pLh0J01pYw== Received: from SJ1PR12MB6050.namprd12.prod.outlook.com (2603:10b6:a03:48b::17) by SA3PR12MB9160.namprd12.prod.outlook.com (2603:10b6:806:399::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.32; Sun, 30 Jun 2024 12:39:13 +0000 Received: from SJ1PR12MB6050.namprd12.prod.outlook.com ([fe80::14f0:5e5a:46c6:fdc6]) by SJ1PR12MB6050.namprd12.prod.outlook.com ([fe80::14f0:5e5a:46c6:fdc6%6]) with mapi id 15.20.7719.028; Sun, 30 Jun 2024 12:39:13 +0000 From: Raslan Darawsheh To: Dariusz Sosnowski , Slava Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad CC: "dev@dpdk.org" Subject: Re: [PATCH v3 0/8] net/mlx5: flow fast path validation Thread-Topic: [PATCH v3 0/8] net/mlx5: flow fast path validation Thread-Index: AQHax/TPFL5gOX16s0mHSQmNNFOPD7HgRQgU Date: Sun, 30 Jun 2024 12:39:13 +0000 Message-ID: References: <20240612162426.978117-1-dsosnowski@nvidia.com> <20240626181428.1678402-1-dsosnowski@nvidia.com> In-Reply-To: <20240626181428.1678402-1-dsosnowski@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: 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: SJ1PR12MB6050:EE_|SA3PR12MB9160:EE_ x-ms-office365-filtering-correlation-id: ea1d7eb5-135a-4c98-892e-08dc9901a5b0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?OwpZMJVsv+ewXkIpTcYV3Vnf3LhTWaWjSEA6WW8x6ZHB9jpfHdz053DpmX?= =?iso-8859-1?Q?fEkly+5f3vevtl1xPt/CVKlLXiOT+sMfyoaVjcLz/OeNdQRrqY4A8LPHc8?= =?iso-8859-1?Q?9I3dlwTe3o04bXrwoTWxwEVPwsjwfxxsM+8O/xEeUwwJ1S66kH1xFwkAPw?= =?iso-8859-1?Q?r33zJWs/jGC2LQdqifkJYNP+u/xly+IO+Lyi6Uvqum/7Rng0pC/Rz0vr99?= =?iso-8859-1?Q?bvvQI44xClsa7Pa3CoQEitmjX2pl+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?iso-8859-1?Q?e9ctFwYvCQMhdlwpMZiJfQaus6Kp0v5IbE3ZffDPqGesitP20SIxZi51hP?= =?iso-8859-1?Q?NNTNRIWKorbxJp7+ePPRrLll3QHQdilvtK01we1+pBHxldKGiY75wAKr/n?= =?iso-8859-1?Q?BI7XUHIh3+olLubL5AGQaOgHiManL7PPt0K+rdFDqj7znEzdTQFcYzlyGr?= =?iso-8859-1?Q?7ALo7IrJyf27/oLr0ZmDnJZjiN1tq7BzXlnTUUHNge2oLL+Kfd+I928y0K?= =?iso-8859-1?Q?/H/z+yg4PVSXNqqj797b7IxCMlzs+yy7RoZPVGOTuiQUNj6PpmNK9vWHOx?= =?iso-8859-1?Q?Lmfc1LkQp3r5Oxh+HNLMD5BCi/N4dB+k9YmTcQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ1PR12MB6050.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?DqoeKPdjuTMpxqmlFDBhHMjS0E68efFDuO2Th1730sTaqhU38l4migIlBl?= =?iso-8859-1?Q?C6Z97hGDSaPaaZCAZpATIhUP/L5l/VQg1oGPHaoeCEecploCw8my/H/iKi?= =?iso-8859-1?Q?q6XiZQ25T6TvsDPiERZvj/EPsvnbIcXPX32mOZoLQ2N/+6yDpKJ6m9HZld?= =?iso-8859-1?Q?2JXiOaBHsE8FztI7Wjye/QrEfcZeiMEuv6tBcsGZmwuAJuGYFqgVwOehZ0?= =?iso-8859-1?Q?dEZsiWH5TP9FzTnMU/vtI1IucsuuqhRUqTwaAtQoqffDRcWf8g1hnPXvvi?= =?iso-8859-1?Q?VVF6Ocy8RkygTTOUHccDqZaN5LIvDOW47Jn88lzjdMsUKGTQ2dWfRMnd2m?= =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NkbWKUH5lZzzXKySWeLGRccMVhny0?= =?iso-8859-1?Q?C4RxvAWflPdfusaxDGkBcJtoVazBr7DHG4iiSj947rvcwMldPH5oCHYjwK?= =?iso-8859-1?Q?XiRCRCf+KtOvEZ61lCkLf75yRQlXtnr6jwwolpCWQhDs6SWS08VBIC5Xtr?= =?iso-8859-1?Q?pWbVuYY0hTZvkakrgEeYnNAUM3Qgh75bdhSLf6zRdR+S43TzrFl8rWj5Bq?= =?iso-8859-1?Q?ARcuF9+KhOohVc4Ya0wo73bapQ1sneVYzxN7ylasKkRplP0T/dSNEep9GL?= =?iso-8859-1?Q?u59+Yb4uk1NUGv1rYw8sYt+PMwMj1q7iDZKKFR/R8uMDDF3+kHXXYYqLqF?= =?iso-8859-1?Q?3VTPji0l/lmWmdmlqoSXdcodsWhD7dqR3jiUm0RRgqkxrbQoQDCYn9P8vL?= =?iso-8859-1?Q?4FXfQ4dNk8uh0=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ1PR12MB6050.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea1d7eb5-135a-4c98-892e-08dc9901a5b0 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2024 12:39:13.3427 (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: RM29VrPhhYBTT43cbX668MiI6TNtlrC9ygvklvfc64jrcB036EtP1I6eponHRQSBXX0iPTWk92zpJlrDqpkeLw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB9160 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 Hi,=0A= From: Dariusz Sosnowski =0A= Sent: Wednesday, June 26, 2024 9:14 PM=0A= To: Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad=0A= Cc: dev@dpdk.org=0A= Subject: [PATCH v3 0/8] net/mlx5: flow fast path validation=0A= =0A= This patchset adds validations for flow items and actions=0A= supplied by the user to fast path async flow API functions=0A= implemented in mlx5 PMD.=0A= =0A= - Patches 1-7: Prepares mlx5 PMD for adding fast path validations.=0A= Specifically:=0A= =0A= - Required functionality for validating queue indexes and=0A= target represented ports are extracted for reuse.=0A= - Additional info, required for validation, is stored in=0A= pattern and actions templates.=0A= - Introduces mlx5_fp_debug_enabled() function for checking=0A= if mlx5 PMD was compiled in debug mode.=0A= =0A= - Patch 8: Introduce validations to:=0A= =0A= - rte_flow_async_create()=0A= - rte_flow_async_create_by_index()=0A= - rte_flow_async_actions_update()=0A= - rte_flow_async_destroy()=0A= =0A= These validations are enabled if and only if=0A= RTE_LIBRTE_MLX5_DEBUG macro is defined during compilation.=0A= =0A= v3:=0A= - Rebased on 24.07-rc1.=0A= - Removed Depends-on tag for already marged ethdev patch.=0A= =0A= v2:=0A= - Split series 32095 into separate ethdev and mlx5 series.=0A= - Rebased on latest commit in next-net-mlx-main.=0A= - Removed Depends-on tags for already merged mlx5 patch series.=0A= =0A= Dariusz Sosnowski (8):=0A= net/mlx5: extract target port validation=0A= net/mlx5: extract queue index validation=0A= net/mlx5: store pattern template items=0A= net/mlx5: store original actions in template=0A= net/mlx5: store expected type on indirect action=0A= net/mlx5: store modify field action=0A= common/mlx5: add debug mode indicator=0A= net/mlx5: add async flow operation validation=0A= =0A= doc/guides/rel_notes/release_24_07.rst | 1 +=0A= drivers/common/mlx5/mlx5_common.h | 13 +=0A= drivers/net/mlx5/mlx5_flow.c | 59 ++-=0A= drivers/net/mlx5/mlx5_flow.h | 12 +=0A= drivers/net/mlx5/mlx5_flow_hw.c | 620 +++++++++++++++++++++++--=0A= 5 files changed, 657 insertions(+), 48 deletions(-)=0A= =0A= --=0A= 2.39.2=0A= =0A= =0A= Series applied to next-net-mlx,=0A= =0A= Kindest regards,=0A= Raslan Darawsheh=0A= =0A=