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 08E78A00C4; Wed, 9 Nov 2022 11:32:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E376540143; Wed, 9 Nov 2022 11:32:19 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2064.outbound.protection.outlook.com [40.107.212.64]) by mails.dpdk.org (Postfix) with ESMTP id 38B3E400EF for ; Wed, 9 Nov 2022 11:32:19 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DQ2e23bbklh1JjhH/4H8EPKDqnVz7bqmaXiRt53ExSIfLM2zPQZ/r0pBdCLdCk9rdaaZxMSoUdK6mhZWn8F3NRqvq8uPdigzoWgYlYNbsdJBE2G9LDxrjUtAgnrZQ+igX73eH77gK/MHz0npbx5V16nNhRrjXcw6asT3CprE/M4FILlxV3jqCNr4rK9rUatqfmKF+ZYOEtDv+N7K8eAZH3s/VdA/uISEom6P6XksshVXgf4jmG3kLTiXEiJBI6lAtO7wxF8GxpNFIiE+YiSEfon5mbNdaf368XxDo7Ue8hulBxt3nxmbkzjcQWViOC+XcdI1cnNpZA63DPvcsU3FuA== 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=QlIwr2E4aZ8D0qka5BEWT/alkuryIy5atM/cWhKdYPI=; b=cYxXkT+OcrjNZnwSnDBTCoq5IOeVfAgceQsBC7hM+QM34AQDSrTTodSVmGUucODmHTluJNGrPJTHuxcJlo/lx2eUL3ux2yJusbxTF4hOsUqm7A++xaBtGgGIVtFJ5FYfz7cp2vQyWT3lPlazxa0EPR4MK6bwJDR3WYzEaNRBKSPNlvV6JdGII2v69qtI1ilj7fi632TO911CGt62jiEcgDGfLwTHjFopdujfGLkygCepzVw+Q0WWjx+xe8A5vU1r6kk5v0EOLzSK5RRhWG5AQQe9+IlOSeXT8ZLPxtDhcKMIZKHY37RgzEXtlUoRAtluSJgSH+oMcpQwxqgYX0yGTQ== 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=QlIwr2E4aZ8D0qka5BEWT/alkuryIy5atM/cWhKdYPI=; b=MaPjBEo1cks3PUj9+iBF+wJjUl0wYPG3wSuj/BGZuRQX1oJR/QF1sh2TsV3yYw3w+gh6DaJPT1bEcXi7dl3sWCuJJJkeo1MrDOKC6dN6rlraTJTRP7ynNgbBdmsbK6TbyO6NWdgPbGQ8Zmj+rtmRks5OR+6cn3lqhNvyG1BYSferoAyRYGR58kL+Bi76NMxbqg3ehcRPH5qU6BZOD6yMOZhPmi2VLyti2xx4/XQ/ZrIHfwn3uEPFq2FXp1ZF0kozt6VxfxvKJVZg/9lxLgPcoTSTByjkzg2WzVQplcKpC4julwvZq377ERvc/uoLT9reCtpAzNi70//TsO1L3PNMnA== Received: from DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39e::8) by SJ0PR12MB6877.namprd12.prod.outlook.com (2603:10b6:a03:47f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.27; Wed, 9 Nov 2022 10:32:15 +0000 Received: from DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::415f:9643:ea7c:b3dd]) by DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::415f:9643:ea7c:b3dd%5]) with mapi id 15.20.5791.027; Wed, 9 Nov 2022 10:32:15 +0000 From: Matan Azrad To: Dariusz Sosnowski , Slava Ovsiienko , Alex Vesker , Erez Shitrit CC: "dev@dpdk.org" , Raslan Darawsheh Subject: RE: [PATCH 0/2] net/mlx5/hws: fix matcher clean up for FDB tables Thread-Topic: [PATCH 0/2] net/mlx5/hws: fix matcher clean up for FDB tables Thread-Index: AQHY9CFs8xTOWtKqG0OWS6Faq1yimq42ZJfA Date: Wed, 9 Nov 2022 10:32:15 +0000 Message-ID: References: <20221109095431.668926-1-dsosnowski@nvidia.com> In-Reply-To: <20221109095431.668926-1-dsosnowski@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: DM4PR12MB5389:EE_|SJ0PR12MB6877:EE_ x-ms-office365-filtering-correlation-id: b876cea9-2b7b-476d-6f42-08dac23dab7d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5cQB/MlhbSPxaczxwnF3LaDWrclALMWJ9qkTb317P/ii43/hZIj/5eNYG1C0nE2Ms7rOdoj6tEWEwtuEHQysCnDirezFQfKAAkGarfctxhN/6UVMUwtCZq/w10MIiC5Ryy919JSfI++rQPm7Rwhm8pL9RxkI/TcJVmsxoRgGlwhvM96EgcbAPSzns0CMr7MGDyKytH9Yz/hQJlqPG0EBqSA9aeiiTUQbuwmj4n48wXAnooEhA/IP9zoNs78UEp6z9RKCGiz3t7shxXCUIWp98HZsewJpedmCi5EeUVS/VmNl0OfoN9kFkBs+eXoEHad5MsG17Y/D+23E2cnMrcSpgmyy4K1D1DEpc//YppC0IfOZqNi0eWKcCEfOk76wGvU+Jej2PSkQ7z9uPkm8dEcrfsEAxl1Isdi2mFaRJpKkLAsylZaXU6+qeGt1in8tancYfSFH/tscAcNokIlSfd0BGUgSFUm05p7bBmJBzID3H7qBpceY5K/TibZzs7CE1LZ/28hJt9VM28aoyWpXaNTlq2tjr0omjHF2n0kf1Ctyap2WWetv+Orh1ZqcewbzkY8lDMtOOoZfCUl8OX/MFCi4l68vKF/5596BSCdTgVPIw/b/MrJ3TgqkXE2QIG/g/420KwRUjeEMYDsxmpuLwEMuZmplfwZcZ41GN85rgpBd5wHQSsaTer9eETHcOSm6teorA7bZ8Buf8jr+ex3ugDmLGBp34+HOMJNKKjVHc46xcwb1j582CuTj53YgiF6uYEHxxjbptc/qRENXUfcWqXMESA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5389.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(346002)(376002)(136003)(396003)(366004)(451199015)(86362001)(186003)(122000001)(83380400001)(38070700005)(110136005)(2906002)(8936002)(5660300002)(55016003)(41300700001)(4326008)(107886003)(478600001)(9686003)(8676002)(6636002)(76116006)(7696005)(66446008)(316002)(66556008)(71200400001)(52536014)(6506007)(64756008)(66946007)(66476007)(54906003)(38100700002)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7j2xbpvyRQtgwkq5YmnBSYNeHuZn8u2ZvcH1FKwAmVDURjlGWxWpkV2tfjOq?= =?us-ascii?Q?RHvCt0BnUVeHn+ZTqU6RZiXUYJfueAkP5N2fLB0k51/iM9MBiNDuuWJPxNiM?= =?us-ascii?Q?p9uuYOcom1Xx87+pgMxRAwJa2sRQkI98o/2yxoS6cXma3SYuREPWWdnzBLzh?= =?us-ascii?Q?uXa+98GjDNk2DI4+Fe8VF4newZI7leenQFf8yW45kc4wtDPpcekWf58bmJ1x?= =?us-ascii?Q?GUVWAYA9Qpl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SG?= =?us-ascii?Q?Mzc9u3j+479cbJkFtsqKh2oeiCd6NuKaEK5yEfqhlLE/vxZFttMeJMiwBGgb?= =?us-ascii?Q?ujOoKtPie82n/Xa+Ib4lQY/QTkIpOdH3VuJ5HuP1E8VMl4hslfzoA7W69QmI?= =?us-ascii?Q?tUPCd1O1tT/rxskNcjIqMQ3rqEzSB6xx0w8U4+WIqb7EmFPTkB1RUUzZEwne?= =?us-ascii?Q?M34pW5PSq1KOTTJF/YnK9NtmEaSpAY/My5pKOzd8XnDB7Tf+TLNLFuYHSqWS?= =?us-ascii?Q?73EKImUNogOpaCStLqVlbgFmZGkddoxTct0V74m9j97crfwFpN6GEhQNv/UE?= =?us-ascii?Q?I7xTub9X3hzXy8FxO59UHVGfCmaC/ST4fmCb4/j/Ed3dtAY46Y7rSXThKRHt?= =?us-ascii?Q?OxtoIsz35XGIX5ohNTo/UkstQwdMzjzmMy4ybXOg46QFz9dEN0mZT2Ilqmka?= =?us-ascii?Q?8lNz1PVvUh72C3+cUr+9+oPsK7j0mk9K1a408JTQH/WHgFeK5ylgX+N/qSpx?= =?us-ascii?Q?t6V3pwfX6GMKy/zFw9d/84+Rqu5PhyvKrylb/qIoTEg1?= 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: DM4PR12MB5389.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b876cea9-2b7b-476d-6f42-08dac23dab7d X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2022 10:32:15.2108 (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: nzwK1uaSl+Ar7BegRi7YWudJfS2wxQLXJbdh4n4uMUQ+dW2tFqOG8elsN6wNhKwej2Sgy9Vk1bOrwqJ2dzVJNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6877 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 From: Dariusz Sosnowski =20 > Before these patches, if an application was configured to run with HW > Steering and E-Switch enabled, on EAL cleanup the assertion in > mlx5_dev_hw_global_release() was triggered - PD release was unsuccessful. >=20 > Root cause of this issue was linked to an inability to destroy RTC object= s used > internally in mlx5, in HW Steering implementation. > PMD was unable to destroy RTC objects, because of dangling references to > those objects. More specifically, if all matchers connected to a single f= low > table were created, this flow table was still referencing RTC objects whe= n > theye were being destroyed. >=20 > This patch series fixes that behavior. > Matcher uninitilization is updated to remove the references to RTC object= s > from flow table object if the last matcher related to the flow table was > destroyed. >=20 > Erez Shitrit (2): > net/mlx5/hws: fix order of destroying default tables > net/mlx5/hws: fix disconnecting matcher >=20 > drivers/net/mlx5/hws/mlx5dr_matcher.c | 35 > +++++++++++++++++++++++++++ > drivers/net/mlx5/hws/mlx5dr_table.c | 2 +- > 2 files changed, 36 insertions(+), 1 deletion(-) Series-acked-by: Matan Azrad > -- > 2.25.1