From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 22A2F5F2B for ; Thu, 18 Oct 2018 09:14:24 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 1F8591400F6; Thu, 18 Oct 2018 07:14:23 +0000 (UTC) Received: from [192.168.38.17] (91.220.146.112) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 18 Oct 2018 08:14:17 +0100 To: Thomas Monjalon , CC: , , , References: <20180907233929.21950-1-thomas@monjalon.net> <20181018012402.1240-1-thomas@monjalon.net> <20181018012402.1240-5-thomas@monjalon.net> From: Andrew Rybchenko Message-ID: Date: Thu, 18 Oct 2018 10:13:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181018012402.1240-5-thomas@monjalon.net> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Originating-IP: [91.220.146.112] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24162.003 X-TM-AS-Result: No-5.458200-8.000000-10 X-TMASE-MatchedRID: e/tT8EyIjJQOwH4pD14DsPHkpkyUphL97yWPaQc4INT9nZJIPtHyFDuY BlClHjLc4MlnMHmZOwoYbwMqNgMVX0kjllSXrjtQOX/V8P8ail1yZ8zcONpAsdmzcdRxL+xwKra uXd3MZDWRjd7heWmLoS9f6bntbQK7Iyfn9OsCyVnN3S6jDk/j5UlQoIg2zNJswL6SxPpr1/I= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.458200-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24162.003 X-MDID: 1539846863-gcNNXxX3SVzZ Subject: Re: [dpdk-dev] [PATCH v5 4/6] ethdev: free all common data when releasing port X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2018 07:14:24 -0000 On 10/18/18 4:24 AM, Thomas Monjalon wrote: > This is a clean-up of common ethdev data freeing. > All data freeing are moved to rte_eth_dev_release_port() > and done only in case of primary process. > > It is probably fixing some memory leaks for PMDs which were > not freeing all data. > > Signed-off-by: Thomas Monjalon Acked-by: Andrew Rybchenko