From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 104E31B33D for ; Tue, 26 Dec 2017 08:28:02 +0100 (CET) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1-us4.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id E7F24B4005A for ; Tue, 26 Dec 2017 07:28:00 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Mon, 25 Dec 2017 23:27:58 -0800 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1044.25 via Frontend Transport; Mon, 25 Dec 2017 23:27:58 -0800 Received: from uklogin.uk.solarflarecom.com (uklogin.uk.solarflarecom.com [10.17.10.10]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id vBQ7Ruv3015568 for ; Tue, 26 Dec 2017 07:27:56 GMT Received: from uklogin.uk.solarflarecom.com (localhost.localdomain [127.0.0.1]) by uklogin.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id vBQ7RuGK019696 for ; Tue, 26 Dec 2017 07:27:56 GMT From: Andrew Rybchenko To: Date: Tue, 26 Dec 2017 07:27:45 +0000 Message-ID: <1514273271-19604-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.2.3 MIME-Version: 1.0 Content-Type: text/plain X-MDID: 1514273281-PMj9ZxYm9e-s Subject: [dpdk-dev] [PATCH 0/6] net/sfc: support more options for a number of Rx/Tx descs 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: Tue, 26 Dec 2017 07:28:02 -0000 The minimum size of Rx/Tx descriptor rings supported by Solarflare HW is 512. It adds inconvenience to run DPDK applications which typically use smaller default values. Also smaller numbers of used descriptors is better for performance. The patch series adds possibility to use any number of Rx/Tx descriptors in the range, for example, from 1 to 2048 for Tx and from 8 to 4096 for Rx. Maximum value is defined by HW maximum. The patch series is made independent from [1] submitted a bit earlier to avoid automatic build failures and to be able to apply this one first. When one is applied, the second should be rebased. [1] http://dpdk.org/ml/archives/dev/2017-December/084843.html Andrew Rybchenko (6): net/sfc: make refill threshold check Rx datapath specific net/sfc: make Tx free threshold check datapath specific net/sfc: use Rx queue max fill level calculated on init net/sfc: use Tx queue max fill level calculated on init net/sfc: support more options for a number of Rx descriptors net/sfc: support more options for a number of Tx descriptors drivers/net/sfc/sfc_dp_rx.h | 27 ++++++++++++++++++++ drivers/net/sfc/sfc_dp_tx.h | 27 ++++++++++++++++++++ drivers/net/sfc/sfc_ef10_rx.c | 44 ++++++++++++++++++++++++++++++-- drivers/net/sfc/sfc_ef10_tx.c | 58 ++++++++++++++++++++++++++++++++++--------- drivers/net/sfc/sfc_ethdev.c | 7 ++++++ drivers/net/sfc/sfc_rx.c | 49 ++++++++++++++++++++++++++++-------- drivers/net/sfc/sfc_rx.h | 1 + drivers/net/sfc/sfc_tx.c | 48 +++++++++++++++++++++++++++-------- drivers/net/sfc/sfc_tx.h | 1 + 9 files changed, 227 insertions(+), 35 deletions(-) -- 2.7.4