From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 6298A5951; Mon, 1 May 2017 22:31:48 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0E03C20B1D; Mon, 1 May 2017 16:31:48 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 01 May 2017 16:31:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=XRHenVZBEPS6rii tMQx20oKLvGDZ9shF/cR9VCB+tbE=; b=s/uHkjGtg/EwlndQdK6htrFzuJ6xxhG sejiA8fS+znDtd7IONO7uWnIxYucr181ngATSq4qc27TfC8EnMbw69TD+7p6kt+1 o0CcLiWhDn/qbvxRSXDYg2Y2l/sMrUHNf5UnYtpggLtokOPXcVtHcvsKAjRDuvzp +hB+GDySNUis= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=XRHenVZBEPS6riitMQx20oKLvGDZ9shF/cR9VCB+tbE=; b=bu16oe6F rglHnIzdomJJsL/6KOUYOJwXCd4gWFLnasb9SuSrHMzvjZrAEwJfVd5zFaP2faNZ SRj3b8aD84JeIYaaXr6KZK+uupYKN8ylanLnoK1c7yrTSCUyf+6LH0HVSBDNFycC x+d75nVAFFegeQTbb/HpKJh+arO8dMKQNhNpr6fE+2sa2PfjRj8/2TQ/+pgqLJKq dmY+uwRr6761pkPz1LOFQDrmpnlAUBhicC9KxWuvHiFDSLzFWMXq0CksZbliJi4A ahZWszxQnR7S7S4vOu72nhyYVS8IWF70rian6ktMz7KGkjc5cbS8GmyJ3ow0SFtW K6pEL5wPha7MxA== X-ME-Sender: X-Sasl-enc: PzIu9D4PV+7gjVu54Ju/tODwyCbgqlQYwITVleNj6m3/ 1493670707 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id AD34B7E1BE; Mon, 1 May 2017 16:31:47 -0400 (EDT) From: Thomas Monjalon To: Jerin Jacob Cc: stable@dpdk.org, dev@dpdk.org, ferruh.yigit@intel.com, maciej.czekaj@caviumnetworks.com Date: Mon, 01 May 2017 22:31:46 +0200 Message-ID: <3801379.4BHa0fWV0d@xps> In-Reply-To: <20170501184155.27305-1-jerin.jacob@caviumnetworks.com> References: <20170501184155.27305-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/thunderx: fix deadlock in Rx path 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: Mon, 01 May 2017 20:31:48 -0000 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