From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] net/thunderx: fix deadlock in Rx path Date: Mon, 01 May 2017 22:31:46 +0200 Message-ID: <3801379.4BHa0fWV0d@xps> References: <20170501184155.27305-1-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, dev@dpdk.org, ferruh.yigit@intel.com, maciej.czekaj@caviumnetworks.com To: Jerin Jacob Return-path: In-Reply-To: <20170501184155.27305-1-jerin.jacob@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 01/05/2017 20:41, Jerin Jacob: > RBDR buffers are refilled when SW consumes the buffers from CQ. > This creates deadlock case when CQ buffers exhausted due to lack > of RBDR buffers. Fix is to refill the RBDR when rx_free_thresh > meet, irrespective of the number of CQ buffers consumed. > > Fixes: e2d7fc9f0a24 ("net/thunderx: add single and multi-segment Rx") > Cc: stable@dpdk.org > > Signed-off-by: Jerin Jacob Applied, thanks