net/mlx5: add Rx and Tx tuning parameters
authorShahaf Shuler <shahafs@mellanox.com>
Tue, 1 May 2018 09:58:49 +0000 (12:58 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:48 +0000 (22:31 +0100)
commitd11d651f6d972a9802f1dc20ed9eaebcd367bc3b
treebd867c219afa5a95e7f0ddd09b849cf5737967de
parent7d2e32f76cfccdbc565738a9bfb9ca4512e7f238
net/mlx5: add Rx and Tx tuning parameters

A new ethdev API was exposed by
commit 3be82f5cc5e3 ("ethdev: support PMD-tuned Tx/Rx parameters")

Enabling the PMD to provide default parameters in case no strict request
from application in order to improve the out of the box experience.

While the current API lacks the means for the PMD to provide the best
possible value, providing the best default the PMD can guess.
The values are based on Mellanox performance report and depends on the
underlying NIC capabilities.

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_ethdev.c