From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH 0/2] fix mbufs leakage during Rx queue release on ixgbe/i40e Date: Mon, 19 Sep 2016 14:29:33 +0100 Message-ID: <20160919132932.GA45256@bricha3-MOBL3> References: <1472489448-15911-1-git-send-email-yury.kylulin@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: helin.zhang@intel.com, konstantin.ananyev@intel.com, jingjing.wu@intel.com, wenzhuo.lu@intel.com, dev@dpdk.org To: Yury Kylulin Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 7C22337B2 for ; Mon, 19 Sep 2016 15:29:37 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1472489448-15911-1-git-send-email-yury.kylulin@intel.com> 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" On Mon, Aug 29, 2016 at 07:50:46PM +0300, Yury Kylulin wrote: > This patch set fixes problem when mbufs are not released back to the > original memory pool during Rx queue relese call leading to mbufs > "leakage". > > This issue happens when device stop (rte_eth_dev_stop()) will be called > after device start (rte_eth_dev_start()) without any incoming packets > received since device start. In this case both rxq->rx_tail and > rxq->rxrearm_start equal to 0 and release cycle will not be executed. > On the next device start (rte_eth_dev_start()) new set of mbufs for the > RX queue will be allocated. > > Yury Kylulin (2): > net/ixgbe: fix mbufs leakage during Rx queue release > net/i40e: fix mbufs leakage during Rx queue release > Applied to dpdk-next-net/rel_16_11 Thanks, /Bruce