From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [dpdk-stable] [PATCH v3] net/mlx5: fix deadlock due to buffered slots in Rx SW ring Date: Wed, 11 Oct 2017 01:43:37 +0100 Message-ID: References: <20171006221948.24238-1-yskoh@mellanox.com> <8beeef1f03eadc02d67e86c002a40c1fc56d6c55.1507644171.git.yskoh@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, stable@dpdk.org To: Yongseok Koh , adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com Return-path: In-Reply-To: <8beeef1f03eadc02d67e86c002a40c1fc56d6c55.1507644171.git.yskoh@mellanox.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/10/2017 3:04 PM, Yongseok Koh wrote: > When replenishing Rx ring, there're always buffered slots reserved between > consumed entries and HW owned entries. These have to be filled with fake > mbufs to protect from possible overflow rather than optimistically > expecting successful replenishment which can cause deadlock with > small-sized queue. > > Fixes: fc048bd52cb7 ("net/mlx5: fix overflow of Rx SW ring") > Cc: stable@dpdk.org > > Reported-by: Martin Weiser > Signed-off-by: Yongseok Koh > Tested-by: Martin Weiser Applied to dpdk-next-net/master, thanks.