From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 0/2] net/ena: check for free descriptors Date: Mon, 07 Nov 2016 17:58:39 +0100 Message-ID: <1726336.HacXeD4S0N@xps13> References: <1477703175-21344-1-git-send-email-jpa@semihalf.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, evgenys@amazon.com, matua@amazon.com, netanel@amazon.com To: Jakub Palider Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id EC11D11C5 for ; Mon, 7 Nov 2016 17:58:40 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id p190so195459277wmp.1 for ; Mon, 07 Nov 2016 08:58:40 -0800 (PST) In-Reply-To: <1477703175-21344-1-git-send-email-jpa@semihalf.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" 2016-10-29 03:06, Jakub Palider: > In some configurations there is mismatch between declared and actual > descriptor count which under heavy load may lead to resource shortage. > > The first patch unifies the way head and tail indexes are handled and > is crucial for compactness and succeeding patch correctness. > The second patch runs check for available descriptor count. > > Jakub Palider (2): > net/ena: use unmasked head/tail values > net/ena: check for free buffers prior to xmit Applied, thanks