The optimal values of several transmission & reception related parameters, such as burst sizes, descriptor ring sizes, and number of queues, varies between different network interface devices. This patchset allows individual PMDs to specify their preferred parameter values, and if so indicated by an application, for them to be used automatically by the ethdev layer.
This RFC/V1 includes per-PMD values for e1000 and i40e but it is expected that subsequent patchsets will cover other PMDs. A deprecation notice covering the API/ABI change is in place. Remy Horton (4): ethdev: add support for PMD-tuned Tx/Rx parameters net/e1000: add TxRx tuning parameters net/i40e: add TxRx tuning parameters testpmd: make use of per-PMD TxRx parameters app/test-pmd/testpmd.c | 5 +++-- drivers/net/e1000/em_ethdev.c | 8 ++++++++ drivers/net/i40e/i40e_ethdev.c | 35 ++++++++++++++++++++++++++++++++--- lib/librte_ether/rte_ethdev.c | 18 ++++++++++++++++++ lib/librte_ether/rte_ethdev.h | 15 +++++++++++++++ 5 files changed, 76 insertions(+), 5 deletions(-) -- 2.9.5