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 D1CBA459CC for ; Wed, 18 Sep 2024 15:58:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2C3943293; Wed, 18 Sep 2024 15:58:01 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2088.outbound.protection.outlook.com [40.107.93.88]) by mails.dpdk.org (Postfix) with ESMTP id 586B44325C; Wed, 18 Sep 2024 15:57:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=U7PkTv45/6knJU0DhQ4eA4fCmrLY3qDPugSsq1IT9ZsRp4cwpOOmSeYBQWdmsrNp7B7kOvoTOaN03bj17RSbCVKalFaYNwm/rniJI83gypuG535jfhkw2fwvnTgYLDrI8429R7+rgVKAhc+/HzsoyMVihVFWU8b8IkMqba7aK+yttF1H3E6edrI4zsYq2tevKnePtUZAflhJLnTPR0biUsD+A5YyA6gZalfLaAvSfsVeplo/ebUxEw1XtDnfk2ciGD7Cxoj1TE9snaritre7VCEHCd1ZgtNbalRQfthKAykO8l/areHP+xcjBwD6C3UwJLidxgPRNIpuHBwBLAI4oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=vfbJgwtUKkTTNy32vHOe/tFdOgAutDOCEVNDJL4bOW0=; b=WTs/8rF5q4rrnoQkv5HyrvhJcW04hu6+gb7b0rlzbEtMRWSElTUb2icoFMSHZn4WbHrdaTfEbD4U/3I2AfbP+yIjGNX49b7rBizdVVEVJSQut9YpyRpxU6gNGpvRXl4G19a+Cb2EhgH4vI8HmtTGkYmfOA8tyxcyV+YBS4/IejGQz2k+pKWNbVbTKEP24ehJEI7Yrt7UjGnEv3+Rg39s5/VNYUtBqGOFG0eTflhmWgTu0Wla+hA6TlxkU1ROOa8p3/197Dv2BTPSTshLUwpnTbAjvY0VHjyQy0GnA/yFLxlJajWf9n94Lug9lrBuS42hjcmSM1qkkpu/pTP0VcjJvQ== 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=vfbJgwtUKkTTNy32vHOe/tFdOgAutDOCEVNDJL4bOW0=; b=fqUfFWO+C5owu8nMwqRaG7z+N2Ujx2iBGX+cigk2RHx9BRh8AQThFtMDQuQmvt+EmwcaGP7VQJMLNBRfpBNV0ukPdU4hPV/nonri78+omlozsfVycNmlNttL4XkS8ee3hj8+rTrdUNR0D3kfSkYvVN/GwOm6uNYp9wDfDcEO1vdj9cuI/oDCwiLT249Z56lsmXZOzwXAaIhazdYmr8LXgR3mxfFL6OBL70XGFIoGZOWpj93dFsPoue56yAKi/7jZGtRe0Nc5O3PrXo5f6ciuMfhwC/zG+0Utdqd7EnQoOYd7+72oaDj7dlB4e3jNEKzyPGcArw3tM3ywKJGPsYA6eA== Received: from CH3PR12MB8460.namprd12.prod.outlook.com (2603:10b6:610:156::15) by SA1PR12MB6919.namprd12.prod.outlook.com (2603:10b6:806:24e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.24; Wed, 18 Sep 2024 13:57:56 +0000 Received: from CH3PR12MB8460.namprd12.prod.outlook.com ([fe80::2e9d:7265:3b84:59b5]) by CH3PR12MB8460.namprd12.prod.outlook.com ([fe80::2e9d:7265:3b84:59b5%4]) with mapi id 15.20.7962.022; Wed, 18 Sep 2024 13:57:56 +0000 From: Dariusz Sosnowski To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , Raslan Darawsheh , Ori Kam , "stable@dpdk.org" Subject: RE: [PATCH v2 5/9] net/mlx5: fix number of supported flex parsers Thread-Topic: [PATCH v2 5/9] net/mlx5: fix number of supported flex parsers Thread-Index: AQHbCdFHewfles5wqUqxefbogS6S97Jdkd6Q Date: Wed, 18 Sep 2024 13:57:56 +0000 Message-ID: References: <20240911160458.524732-1-viacheslavo@nvidia.com> <20240918134623.8441-1-viacheslavo@nvidia.com> <20240918134623.8441-6-viacheslavo@nvidia.com> In-Reply-To: <20240918134623.8441-6-viacheslavo@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: CH3PR12MB8460:EE_|SA1PR12MB6919:EE_ x-ms-office365-filtering-correlation-id: f7a88968-23f4-496f-eee4-08dcd7e9e5f1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|366016|1800799024|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?zD5QvcDqyhPkW5gHqY/v7st9hl37SHHTKz6iiG297uBKQiwGB5houb71vHlP?= =?us-ascii?Q?8EWp74Mt0TfTP5L/C58FtLnGqbVPmYe5uaRsnA/00QASpfuhiTOEdfO+uNFQ?= =?us-ascii?Q?51ZdoLgGAktQUcJYy+OyYkoJWZrWKBofv3ZbP7mEiyZBobv+kLSp+5S4p0LB?= =?us-ascii?Q?cjzr+NKwNilZLleqgAXXE0vp2QvVRmAym8oyfolUSqtpUL4p8VqIL09t3pWr?= =?us-ascii?Q?EghpNTBto6j63cBp/UWw4XKWMTo4k1+Y3YFkRlIz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q?3MjGKyKVNURBdQxpn5Gyct1zbLKhH7EjSclR9lZCJOaVLg945xoMgZ5m3YPa?= =?us-ascii?Q?jbxlR2Mo9Y1a56i9XQJqYAgqJE1mpoxQTR3DVK2NBipcoPl02PYEcYaSlBpV?= =?us-ascii?Q?e8SvVVsRECZsFkg7NgDdRkWD1SemASFg1S6G7CNRepRGSEaSKsELOCCt2cup?= =?us-ascii?Q?xDN5LDr4KXxE3Old0Vlh8vZkLJ0LlzOy+88RulLNRZUISswg1FypUIR8VcCC?= =?us-ascii?Q?Ma0XTnP2CN58O3AfGuAExeKO3wrCiJHImWhJqlqzkA5eO5tSMw=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8460.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9cSooYa70CMJfxO96k0ylA/zDgzCr3tZr541dmZ+ehiyd87LQdtJTDWViARo?= =?us-ascii?Q?XrPS1fNaslpN1uvDUOjigIu0cD5qHCTSfUUg5dKCoQcPoHJeChWpNf8ofy/W?= =?us-ascii?Q?WNcdST/CXVHHIii6oI3HKcBpscl3R75j+2c4jFfDNKi0zTgDbeyG7+gM5278?= =?us-ascii?Q?6yRi4+h5HpLkY0CpVre+I5i2zM0jLMM8nmOH9KJxtMdFFbyR4YTpYuhPSowQ?= =?us-ascii?Q?vHuaQymHAjB3Fji/APOPy7l7wiZrEkR8GWgM0wrLBVuZJeIiGuMk7q2E4fPM?= =?us-ascii?Q?m6P4j1IxOE0i2s3H3Cb1CmOVGC8Rzs3q/hs9wINlfmogR1E7iPUcOXk/MRIP?= =?us-ascii?Q?kVmzvuIb8CipwRjJlE2EoXwZZpeUX0qoT2MiewpBK/9JLapJTJN9EoukxqWa?= =?us-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ei4fjLDuLgf0ZpjKMgqSD8d?= =?us-ascii?Q?HbVeOR3217z/UB2wfzRtB4okwVxAxulGCIRPxfmX3Jd7l7IbJxMf7Rw8JNg0?= =?us-ascii?Q?kRy93gU+E/SvRdu4Dd6VKWPvmC1j0J+CAvcBJ9411CCiTqgMMZbrpZuzRu2c?= =?us-ascii?Q?P8vKImX5G1XWiXn3wTsNl8Caxvm3DWdPZYvckhe1vXVByUMACXqtOhHj2XaN?= =?us-ascii?Q?NZO4q8aAtWIC4HXB1veWJbZs7cyptGb3s1wOApNzwcSSe/h5xpRJ7675fWSj?= =?us-ascii?Q?q2GfEI8neMXs9ZvZjPJ4+gT6gsDKjtZ2MsKUwpx0?= 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: CH3PR12MB8460.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7a88968-23f4-496f-eee4-08dcd7e9e5f1 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2024 13:57:56.4054 (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: QypK2J/zFXfGkr2F13IYM30mST3QqccGOepopG5ZyEa/ONTpAjyX5YmWAgIxOG6p/cTLZy7KLAiuxmyln+0L2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB6919 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Slava Ovsiienko > Sent: Wednesday, September 18, 2024 15:46 > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Ori Kam ; Dariusz Sosnowski > ; stable@dpdk.org > Subject: [PATCH v2 5/9] net/mlx5: fix number of supported flex parsers >=20 > The hardware supports up to 8 flex parser configurations. > Some of them can be utilized internally by firmware, depending on the > configured profile ("FLEX_PARSER_PROFILE_ENABLE" in NV-setting). > The firmware does not report in capabilities how many flex parser configu= ration > is remaining available (this is device-wide resource and can be allocated= runtime > by other agents - kernel, DPDK applications, etc.), and once there is no = more > available parsers on the parse object creation moment firmware just retur= ns an > error. >=20 > Fixes: db25cadc0887 ("net/mlx5: add flex item operations") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko > --- > drivers/net/mlx5/mlx5.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h index > 6d163996e4..b1423b6868 100644 > --- a/drivers/net/mlx5/mlx5.h > +++ b/drivers/net/mlx5/mlx5.h > @@ -69,7 +69,7 @@ > #define MLX5_ROOT_TBL_MODIFY_NUM 16 >=20 > /* Maximal number of flex items created on the port.*/ > -#define MLX5_PORT_FLEX_ITEM_NUM 4 > +#define MLX5_PORT_FLEX_ITEM_NUM 8 >=20 > /* Maximal number of field/field parts to map into sample registers .*/ > #define MLX5_FLEX_ITEM_MAPPING_NUM 32 > -- > 2.34.1 Acked-by: Dariusz Sosnowski Resending the Ack for each patch separately, because patchwork assigned my = Ack for the series to v1, not v2. Best regards, Dariusz Sosnowski