From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id C140B1B1E4 for ; Tue, 9 Jan 2018 21:25:22 +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 BAE13800061; Tue, 9 Jan 2018 20:25:21 +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; Tue, 9 Jan 2018 12:25:17 -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; Tue, 9 Jan 2018 12:25:17 -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 w09KPFDG014154; Tue, 9 Jan 2018 20:25:15 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 w09KPF75016277; Tue, 9 Jan 2018 20:25:15 GMT From: Andrew Rybchenko To: CC: Ferruh Yigit Date: Tue, 9 Jan 2018 20:24:49 +0000 Message-ID: <1515529495-16157-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.2.3 In-Reply-To: <1514273271-19604-1-git-send-email-arybchenko@solarflare.com> References: <1514273271-19604-1-git-send-email-arybchenko@solarflare.com> MIME-Version: 1.0 Content-Type: text/plain X-MDID: 1515529522-o7RAnxouJY4u Subject: [dpdk-dev] [PATCH v2 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, 09 Jan 2018 20:25:23 -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. v2: - rebased 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