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