From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=Pt8iJLe2x/U7SRRomGoeNAQhH4AaaFEOQNBv7gXpQso=; b=JqC+UKGrFeqyhabpQMTdbNeeYFmrs4zTD/Z6Ujh3DzKSq84zU7fr9AqvO3YoXnsn7z 9MNP9QLn860qYh9TKLIW65JxbCWpGIZZFk5oBsRZsp9kzP1ReVI8AT5KHvlxyalGzSSi svDIpDuY/V8G0aA2kbIeI3Jw+SjLNqOIkvygSdpmFux0GNIHI5As1W/jKuP7s47qqcqA bDjT2iVasj1Yfef6AQs8qHaaLv3yoUqoutEo/3RfGs8eb2CHWK0e78rdEy7DYzEzq7fe yqZb9XkDQz2R382InvjELHBkC2xIZcUCU6dPTBmS9h7rdRwa3K4M9tv1x9jl9jkpYMW5 SLXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=Pt8iJLe2x/U7SRRomGoeNAQhH4AaaFEOQNBv7gXpQso=; b=TOi7Befdqjdu4Fzexg8TWyEIMGyqhqKOVmTuxidvsy0ZW9XbZH5o/GWyNzjS0eMxw8 xxo8mS+OfHgcnB8fk2d3KpFOh9BUmfNwb/PFAEBl2nFuC1nL30a3xiQ0fzmLm17Ye5M9 HomsCXaZspZztbRb+qSRRkT4ehP7mrFugBKAS6cBN3HLDRteFqlqZl9Wus6slmyB+wQM HWr0St92p4IMccH/Ae/rTcPvNTt50goMHdALjMV+ZOtFqNuCq5faJ5N9/daQU+CAKfEB AU74HfDbzMYFmjUGY+CDzVGGBCCETn1KZALD80S6iPc2nZoZBErEaL1FMqG0IeGSZmnp zF1Q== X-Gm-Message-State: ABUngvdOUEiQg0WjzxXsNqvusoOdkCHkbFiMHm4IhWogViZ7t1JInjT3QNv7Ct52MLsF5avN X-Received: by 10.28.181.197 with SMTP id e188mr7501569wmf.32.1478537920674; Mon, 07 Nov 2016 08:58:40 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id hy10sm32069841wjb.10.2016.11.07.08.58.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 08:58:40 -0800 (PST) From: Thomas Monjalon To: Jakub Palider Cc: dev@dpdk.org, evgenys@amazon.com, matua@amazon.com, netanel@amazon.com Date: Mon, 07 Nov 2016 17:58:39 +0100 Message-ID: <1726336.HacXeD4S0N@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1477703175-21344-1-git-send-email-jpa@semihalf.com> References: <1477703175-21344-1-git-send-email-jpa@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 0/2] net/ena: check for free descriptors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2016 16:58:41 -0000 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