From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Rybchenko Subject: [PATCH v2 0/6] net/sfc: support more options for a number of Rx/Tx descs Date: Tue, 9 Jan 2018 20:24:49 +0000 Message-ID: <1515529495-16157-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 Cc: Ferruh Yigit To: 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) In-Reply-To: <1514273271-19604-1-git-send-email-arybchenko@solarflare.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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