[dpdk-dev] [PATCH 0/6] net/sfc: support more options for a number of Rx/Tx descs

Andrew Rybchenko arybchenko at solarflare.com
Tue Dec 26 08:27:45 CET 2017


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



More information about the dev mailing list