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 B5860A0A0F for ; Wed, 30 Jun 2021 09:44:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A968241221; Wed, 30 Jun 2021 09:44:58 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2056.outbound.protection.outlook.com [40.107.96.56]) by mails.dpdk.org (Postfix) with ESMTP id 056F041221; Wed, 30 Jun 2021 09:44:57 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GVfTv3cwJy5NToiu4tvXgRc82LMh6t2YigXlhw2oKJXo7/gDLVN/lUauYMk6kdj9WNbXGNMPH+zBeTrrdiuJy5fsWxP+QcjCnGTKI3vOcgzWw/0gE6I2gc4bqaiedHZmw1ptzfr6lrqlKFc1DzA8yVlhEQOldIhmCJS4FIYO8cVmfCKgM5lV5gWio3iycLHEFb1mYQkFcuDh/3/LbEx5e6hebuo8RLnISWq+ksnGoVRBECiWMLJAQ8jinI8Mpl1EFPO8KzEm9yRvL/yCCBtsFKYYb52BY9yjz7ZAaIN78czZ9ua1uWgp/ACnaRLdGcgedCBoe2ysV/SzX7Z6PIT6Vg== 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-SenderADCheck; bh=zbCnK+HZYYx668UuFz6y70pGl9eH89/ysWLR2dyuQ8g=; b=nPpR2OQ1TtIqaHAdy++wEvRGA7jE7ZKTJ6xTF2wesPt7wvkdX0v76+H26CcgIJLvWAw6fqXOH9p/o+ka1/f04N5DxinDCSrGYZp5YmRzGfrQH4IW2DfzvmQa2T7Z/gpoVarU4ALBQ8EuYeXIFkvM5mwOSaBD+p3y44+pw/pQT/wN3OUR+ZzJ5wvmbzLlNma/cyURO3T59qH1d6ofbcBYFaoTATXWTQD8uX46l3ulKnqo9Yu2ylyi5PGvxbjQHEBAunMO3mQXuDc3hEaZ2amLV37xTaLQVIjeH6KtcoUTg+8iKMG3MtAdiGAvd7QHGnlTtFH/CUHuuELnf7paObbPuQ== 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=zbCnK+HZYYx668UuFz6y70pGl9eH89/ysWLR2dyuQ8g=; b=KMdchVDBBYV7cQynpb3mnWOI16+V+qNiBW9wb+3L7kzsNfn54Yy8ttaPuEMNbDOrQdLGaqQOy/JepUQ1MqGaCgszn3YD5zECniVcqngUDexVE0Ew/syRQfXJ4SOf4byciZldvzkZz9plZaKEf1kQ6ZBGXGsCs/IlbcPxsvmxsXQnlgKwAm0Su1P44N7/fgWsnhnKxSwB92dQbvSZNsupDon7+Xf9W1U3uRD3k32oLtK40H6kT5+4OGK6MgrH/piCxc3nzLU+g4am7ctivDTvsnUz7w177Hi0zVauzHFn2b59S4efcJQMY/V97uWXS9NzDdWiBa7e5hbASGztNGECNg== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM4PR12MB5056.namprd12.prod.outlook.com (2603:10b6:5:38b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Wed, 30 Jun 2021 07:44:55 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50%8]) with mapi id 15.20.4264.027; Wed, 30 Jun 2021 07:44:55 +0000 From: Raslan Darawsheh To: Michael Baum , "dev@dpdk.org" CC: Matan Azrad , Slava Ovsiienko , "stable@dpdk.org" Thread-Topic: [PATCH] common/mlx5: share memory free callback Thread-Index: AQHXbC9HGehJilguKkCVZUxiOyPFXassLyyw Date: Wed, 30 Jun 2021 07:44:55 +0000 Message-ID: References: <20210628150614.1769507-1-michaelba@nvidia.com> In-Reply-To: <20210628150614.1769507-1-michaelba@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [188.161.229.97] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e0580baf-9daa-4cbf-9e46-08d93b9af433 x-ms-traffictypediagnostic: DM4PR12MB5056: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ANKImYvFwzNqBXNbZOvnhSt0fq9zXIl1kMxf7TKQzsdapHl0rKG7nfguTq8el4J38TW4KGnCgV1hbAOt7uqeWJX5ERQPPsw6+CI6bul2Jy8nRnIG9d3GsudvSpIV4DTlVyRM5kQfguFINb0f3aeMY7QALTOuAVWzpSetaCivT2BNY7pM5sPN1OWs5pmCO4Le0AcnqmhdJH71uY3ahtol0d8ENZ7GlOcSu/SdfzTjGB+9IwZ6AcN77z1xf15NZG4dXm6+I+3QbwdWKXcSwJT28x0DcJCnftCcl2Mg8QZgu44O9aBaIMkBNYg1KzeaHmPRsmk5Tt67/2oN8O6BNtpaZdiSmm6DVA7TE2tXcNSp/BQFUYNnCAscqGdWCy8IAJrIQvkuZd4fbxzZmSTqNR+9NkAVtS338OTjiMOcE88oI7H0Fp1XyxVw4385c4iz16lIL8bsKsH+2iFRPjEPnd1VUPuHSgRIcyz+EhOPNC7OElzLvoaAXcIffVnK2bS8yDz7cnT0KBAHpt5659YPcyb1ecWx9yX7cpBogRYz6DfYTH7O7/JTY+vH+kA8ign+hJi9VzjpUnQHceu7aHuE2A2awFAdUt9vNB6vca9FAPFJXtr4amv5486fFRoNzlopm7ee2V2v5k0vUH+TNO/x5GpDyQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(376002)(396003)(39860400002)(136003)(2906002)(52536014)(316002)(4744005)(7696005)(53546011)(6506007)(4326008)(8676002)(64756008)(110136005)(54906003)(450100002)(66946007)(66476007)(66556008)(66446008)(8936002)(83380400001)(76116006)(55016002)(86362001)(478600001)(71200400001)(9686003)(38100700002)(186003)(33656002)(122000001)(5660300002)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/eBzjz85vZtmpuPeJfG2iraS3wq02JMz63H3SKPYmG4VqkPyuLWEyV9gIM/s?= =?us-ascii?Q?mrJvaRGT/y07lJpdvm6fLkzfgKptlm8R4KddIpD5KL2r8wtngAdSjR0FMLyc?= =?us-ascii?Q?zuVQfHARHmAfdP33J0NltK3rlt7rd1QsrQHY7v4lpmEfzb2fIsXPWlD9xr8i?= =?us-ascii?Q?uThqqji1w1y8vriWbo+QWjHNCnrXi85eq6eKujWVq9Y6xpzSfymXiwQFxhVJ?= =?us-ascii?Q?P4tZSbNz/P8YtkOyV8WerjUJX6cLfw5tEebBkbutMDEHE4sRR2mZwkVAvARu?= =?us-ascii?Q?Kbk6GvdavqnO08pL+vHKnETkYfIsScBFNg68siDadix2ju8lbP37X8t3Uek5?= =?us-ascii?Q?L95MxOVQpwtzXfe+VkY5N6k3rPl/z6Fq4xO6tJv9b7TvMdifNFpNJkjrH0hH?= =?us-ascii?Q?xb/2v4U4Y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qAPz2jzj?= =?us-ascii?Q?fOnrOj2WqmU2dr4ZPMBPr5vR?= 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: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e0580baf-9daa-4cbf-9e46-08d93b9af433 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2021 07:44:55.6277 (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: 5C38NgC4lda1rSO19DCI5GYZToFn7RY/H2D1EjRKwCTGWNNblm1B5ThqOaRG1WtUC7BCd2QicgfknQZ5VsgN0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5056 Subject: Re: [dpdk-stable] [PATCH] common/mlx5: share memory free callback 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 Sender: "stable" Hi, > -----Original Message----- > From: Michael Baum > Sent: Monday, June 28, 2021 6:06 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; > stable@dpdk.org > Subject: [PATCH] common/mlx5: share memory free callback >=20 > All the mlx5 drivers using MRs for data-path must unregister the mapped > memory when it is freed by the dpdk process. >=20 > Currently, only the net/eth driver unregisters MRs in free event. >=20 > Move the net callback handler from net driver to common. >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Michael Baum > Acked-by: Matan Azrad > --- Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh