From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Iremonger, Bernard" Subject: Re: [PATCH v6 3/3] bonding: free queue memory in stop function Date: Mon, 27 Jul 2015 08:31:55 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C219F34510@IRSMSX108.ger.corp.intel.com> References: <1437491784-26676-4-git-send-email-bernard.iremonger@intel.com> <4617847.gsgatBVqCY@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Thomas Monjalon Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 548FDC4F4 for ; Mon, 27 Jul 2015 10:31:58 +0200 (CEST) In-Reply-To: <4617847.gsgatBVqCY@xps13> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Monday, July 27, 2015 3:48 AM > To: Iremonger, Bernard > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 3/3] bonding: free queue memory in stop > function >=20 > 2015-07-21 16:16, Bernard Iremonger: > > add function bond_ethdev_free_queues() and call from the > bond_ethdev_stop() function. >=20 > Other drivers free their queues when closing. > Why is it done in stop() for bonding? Hi Thomas, The close() function is empty in bonding so I decided to free the queues i= n the stop() function which is implemented. The stop() function is called before the close() function, so the effect is= the same.=20 It would be better to free the queues in the close() function, I will move = it there. Regards, Bernard. =20