From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 1A8CA1B1BC; Wed, 11 Oct 2017 02:43:38 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP; 10 Oct 2017 17:43:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,359,1503385200"; d="scan'208";a="137249658" Received: from unknown (HELO [10.241.225.83]) ([10.241.225.83]) by orsmga004.jf.intel.com with ESMTP; 10 Oct 2017 17:43:37 -0700 To: Yongseok Koh , adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com Cc: dev@dpdk.org, stable@dpdk.org References: <20171006221948.24238-1-yskoh@mellanox.com> <8beeef1f03eadc02d67e86c002a40c1fc56d6c55.1507644171.git.yskoh@mellanox.com> From: Ferruh Yigit Message-ID: Date: Wed, 11 Oct 2017 01:43:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <8beeef1f03eadc02d67e86c002a40c1fc56d6c55.1507644171.git.yskoh@mellanox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH v3] net/mlx5: fix deadlock due to buffered slots in Rx SW ring X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 00:43:39 -0000 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.