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 E6F9745543; Mon, 1 Jul 2024 09:31:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F835402D1; Mon, 1 Jul 2024 09:31:35 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2073.outbound.protection.outlook.com [40.107.93.73]) by mails.dpdk.org (Postfix) with ESMTP id 08A6E4025D; Mon, 1 Jul 2024 09:31:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JitZUPfm9ZEDI6+KWgY55amhlpuSbt4uCyqlznPFPgkUmecxgHxztS3ddEdju+wM2WeXpvco6l9Cwi1HFkY6lS1i6Bo77GVb5g1jnmzWk8OPTqRmMOgGEF9XOVSaW1i2MfZ5gfn3F0N/i1S9YaeFRx7UNxKdcjtagcEpEvwK765+nsQVsnlY0Kr/H4VpS99FDi6cZDabq/vcP473j8qzy7xJvwG33ITbOBmdXVe7pNVj3LaW8cSuTCrQwM6f6z3m43Fjxi4nHI+ItIUOEsKEwcvoA6FzNLj626UFWa8eogyyMu/0SwDD1nQ/PQ71yYEJa8b7zHqKVPOH8ugif5Boug== 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=BvMiuTyiB06yIdwBio9rBV+03HKL+qDuZzUBUGwVSPM=; b=Elv9IINuPogWaCYslR+6mgPaD/XavczToaqIYW2bWi+3XwACFhZkq8Enm5Izd/trxnc53aK6mTJ47+hrttGXCXPzUgJt6dvYYQsTm5u+E4RT7c0Cqi4d9sIlFOwWqaYLbnRKTjEzx6myyUjzY+/k9bPdnJQn7Ys/6CYU7PQy7Hhc113bQCY8FVtvA+Q4eenzKcR5J//uSYMu6ct3W0RBbWo+A9wlETLPqLnw11qe55xeyH6miTp/ZPkIxHk9G9+OrAPS9s2Myt01he/kMO47MhNu9CG6NT9F9LYw7gWO8IciZeCux/KHnKHsEQ4NTJ0RG1YUwU45l1DA4tf3CmU2pA== 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=BvMiuTyiB06yIdwBio9rBV+03HKL+qDuZzUBUGwVSPM=; b=Y9JRTVNKYfdBtTjGuYO5aw6m1JYmfjEmh9c6Z/jdxvADRZNQHIMzPLSB5HAS5X3VaK42baIASWoFEzrvJJVKg8m+WfoiTjT+dcC01uulXg1NP+l9We5YNWUNEX4LuLPBowsPzreyIGVrjpRS/dY3HvWv51qthfSUqvmWlQOWhKMYd/DjINML1ionrT7e9K3LAyzJv14oTkapFuepfPpHgVJ5BkgtmkcZRXKfYoPr3T+xjNBhQTQavAgFXH7TVx40cENefLaS8nMFIOlzKLkJAwF8fMbKrL57p3BHbnFf+lJAk+b5D5Yye9guyNcEWRTV58IyEiBFuvXbQ5tgUf8BTQ== Received: from SJ1PR12MB6050.namprd12.prod.outlook.com (2603:10b6:a03:48b::17) by BL3PR12MB6380.namprd12.prod.outlook.com (2603:10b6:208:38d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.29; Mon, 1 Jul 2024 07:31:29 +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.029; Mon, 1 Jul 2024 07:31:29 +0000 From: Raslan Darawsheh To: Bing Zhao , Slava Ovsiienko , "dev@dpdk.org" CC: Ori Kam , Dariusz Sosnowski , Suanming Mou , Matan Azrad , rongwei liu , "stable@dpdk.org" Subject: Re: [PATCH] net/mlx5: fix mlx5 device start failure Thread-Topic: [PATCH] net/mlx5: fix mlx5 device start failure Thread-Index: AQHavY+2ACWmbf54e0mRe6WwcAmQB7HhlSc7 Date: Mon, 1 Jul 2024 07:31:29 +0000 Message-ID: References: <20240613124528.547952-1-bingz@nvidia.com> In-Reply-To: <20240613124528.547952-1-bingz@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_|BL3PR12MB6380:EE_ x-ms-office365-filtering-correlation-id: 4734df42-665d-45c9-64ee-08dc999fd2cf x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?kFDrOl/g/9vemlMScibN6mIrgStEhdMuWKOhNeN8xzLVYOUTxUnT6patPQ?= =?iso-8859-1?Q?Y4rc+i5eb8+SlIU9oZCJuqx5e74i9yYTx6UVQAthICiXwReZ8BqmJunCWJ?= =?iso-8859-1?Q?PZL0h/ByXkS6wj9oMs+s13HhJJ0oe7v4fVNkFubVVMjrsucAy2IbuUceKc?= =?iso-8859-1?Q?ASYggLnGSTYWSNnV/WCoJaYYIkmJZL8YsP7DIg2H/hQP/rjWX4WkoGeJ62?= =?iso-8859-1?Q?8FE+3jEsCQ+4MNKD3Ji2gHYfyBM65tHCtySTKreefZzZe0mPcKoWKXcy7s?= =?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twL0xo/BneTQayrl/25SFzJSwfhAt/Z?= =?iso-8859-1?Q?TbbiqHxhEGD8H3EeuFzikJVOzo8vUfu4dew9i422G4qDlNKsG+VEYh0EGZ?= =?iso-8859-1?Q?nGsyEuVFzj/jGdmYwcJznHprUv1aTOf+E/f+wDkxDzQeCEd2yaBl95hOUR?= =?iso-8859-1?Q?R35o1CR6XqzbTjQ8MdywsJ2qhyK10s3cmwcRrhZJsDo1YiWI4rkX+O+M6n?= =?iso-8859-1?Q?9TFJ+lZ1MgT4oFG9W/CsYQgIOwBTIOfDlGUyyv9+6bVJnG5Lm2pmZS8w9s?= =?iso-8859-1?Q?Fa0nhDY2k6CKu5TgGxAqfUzqozxhKVuIzJ5jqg=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)(366016)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?YVRBSfkCMiTPzX2sM0X81MV+MMF7qaVnHF+hhzWb/nP1S6iFJqWc0QO3uF?= =?iso-8859-1?Q?Pe0xkxy3Y4ImHcFJTsFBIszx3rbsGySz/c5trYv6svVYcKQfuquOt2Ux87?= =?iso-8859-1?Q?Pa5UCpSWGC9emKICKC8SV50eSlYxFKjPWCO0dSsNhmZHeELg5GSfZmFk62?= =?iso-8859-1?Q?XK+MQygewmVcTuyMQEk9dDHQ/sg+rZy4tMZXriILvZMVp6zEEgO90XwFU4?= =?iso-8859-1?Q?L/hS7IKwd0E10NZheh4TkpPBL671cIL1GzOXJLPHXeCTk1/7OaxR8k7gKW?= =?iso-8859-1?Q?4RX6RCIfBd028NXG15XEDObIIxib7qfhmIv4SttOB5A30VT452+mhdUxZA?= =?iso-8859-1?Q?C0CELERpl8e0FghW6KAy5R7p+v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q?ZFBK/XNvgcB4ApO5+vmhljYqazEvh4BP0OCZwAtkacwp4EQjAovVBCbIrm?= =?iso-8859-1?Q?CR2qCepqKewpPXO0QyJhx+qmo8YUNP3ljIX9WuFn0AqmL3QaY6+l/2a5v0?= =?iso-8859-1?Q?lSUvcwdxNz+TBxulq0G9ifXHjfYbzWO9OI02QI7K/li3rBcSMjLRRh10po?= =?iso-8859-1?Q?5NzPQ9PNiOa/Adgpq5XQYQp37WbItrLQnVv+wHX0N0Q1p3lYkOrlmhSlYd?= =?iso-8859-1?Q?T/BK5WVpnJOH/3TPAit/cRK53jIJgGjxY1asD/DkjSmm7eP1VsA4M/B4SW?= =?iso-8859-1?Q?PtxP7IPLx1jIFjZ4d0I8MTFnX2jH2/uoQX+8XgIBS3Hsb2ZG2YzohN+OCC?= =?iso-8859-1?Q?cUWT4xkHX/YT2Yr1y3YlR5JjX9p8wnahCU?= 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: 4734df42-665d-45c9-64ee-08dc999fd2cf X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2024 07:31:29.5218 (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: UYSu7z8x9TvdhBrY3fJPpXKJS4Xp06TeU/gIVpBXh9/qqIXxu6ZJqDWVaPDV+/e+6ONrYEfCr7QHXbIRZ73TbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB6380 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: Bing Zhao =0A= Sent: Thursday, June 13, 2024 3:45 PM=0A= To: Slava Ovsiienko; dev@dpdk.org; Raslan Darawsheh=0A= Cc: Ori Kam; Dariusz Sosnowski; Suanming Mou; Matan Azrad; rongwei liu; Bin= g Zhao; stable@dpdk.org=0A= Subject: [PATCH] net/mlx5: fix mlx5 device start failure=0A= =0A= From: Rongwei Liu =0A= =0A= When devargs "allow_duplicate_pattern=3D0" is specified, PMD won't=0A= allow duplicated flows to be inserted and return EEXIST as rte_errno.=0A= =0A= The queue/RSS split table is shared globally by all representors and=0A= PMD didn't prepend port information into it, so all the following ports=0A= tries to insert the same flows and cause PMD insertion failure.=0A= =0A= Using the hash list to manage it can solve the issue.=0A= =0A= Fixes: ddb68e473 ("net/mlx5: add extended metadata mode for HWS")=0A= Cc: bingz@nvidia.com=0A= Cc: stable@dpdk.org=0A= =0A= Signed-off-by: Rongwei Liu =0A= Acked-by: Viacheslav Ovsiienko =0A= =0A= Patch applied to next-net-mlx,=0A= =0A= Kindest regards,=0A= Raslan Darawsheh=0A=