DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/6] net/sfc: support more options for a number of Rx/Tx descs
@ 2017-12-26  7:27 Andrew Rybchenko
  2017-12-26  7:27 ` [dpdk-dev] [PATCH 1/6] net/sfc: make refill threshold check Rx datapath specific Andrew Rybchenko
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Andrew Rybchenko @ 2017-12-26  7:27 UTC (permalink / raw)
  To: 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.

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-01-10 19:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-26  7:27 [dpdk-dev] [PATCH 0/6] net/sfc: support more options for a number of Rx/Tx descs Andrew Rybchenko
2017-12-26  7:27 ` [dpdk-dev] [PATCH 1/6] net/sfc: make refill threshold check Rx datapath specific Andrew Rybchenko
2017-12-26  7:27 ` [dpdk-dev] [PATCH 2/6] net/sfc: make Tx free threshold check " Andrew Rybchenko
2017-12-26  7:27 ` [dpdk-dev] [PATCH 3/6] net/sfc: use Rx queue max fill level calculated on init Andrew Rybchenko
2017-12-26  7:27 ` [dpdk-dev] [PATCH 4/6] net/sfc: use Tx " Andrew Rybchenko
2017-12-26  7:27 ` [dpdk-dev] [PATCH 5/6] net/sfc: support more options for a number of Rx descriptors Andrew Rybchenko
2017-12-26  7:27 ` [dpdk-dev] [PATCH 6/6] net/sfc: support more options for a number of Tx descriptors Andrew Rybchenko
2018-01-09 19:31 ` [dpdk-dev] [PATCH 0/6] net/sfc: support more options for a number of Rx/Tx descs Ferruh Yigit
2018-01-09 20:24 ` [dpdk-dev] [PATCH v2 " Andrew Rybchenko
2018-01-09 20:24   ` [dpdk-dev] [PATCH v2 1/6] net/sfc: make refill threshold check Rx datapath specific Andrew Rybchenko
2018-01-09 20:24   ` [dpdk-dev] [PATCH v2 2/6] net/sfc: make Tx free threshold check " Andrew Rybchenko
2018-01-09 20:24   ` [dpdk-dev] [PATCH v2 3/6] net/sfc: use Rx queue max fill level calculated on init Andrew Rybchenko
2018-01-09 20:24   ` [dpdk-dev] [PATCH v2 4/6] net/sfc: use Tx " Andrew Rybchenko
2018-01-09 20:24   ` [dpdk-dev] [PATCH v2 5/6] net/sfc: support more options for a number of Rx descriptors Andrew Rybchenko
2018-01-09 20:24   ` [dpdk-dev] [PATCH v2 6/6] net/sfc: support more options for a number of Tx descriptors Andrew Rybchenko
2018-01-10 19:40   ` [dpdk-dev] [PATCH v2 0/6] net/sfc: support more options for a number of Rx/Tx descs Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).