mbox

[0/7] ethdev: introduce hairpin memory capabilities

Message ID 20220919163731.1540454-1-dsosnowski@nvidia.com (mailing list archive)
Headers

Message

Dariusz Sosnowski Sept. 19, 2022, 4:37 p.m. UTC
  This patch series introduces hairpin memory configuration options proposed in
http://patches.dpdk.org/project/dpdk/patch/20220811120530.191683-1-dsosnowski@nvidia.com/
for Rx and Tx hairpin queues. It also implements handling of these options in mlx5 PMD
and allows to use new hairpin options in testpmd (through `--hairpin-mode` option) and
flow-perf (through `--hairpin-conf` option).

Dariusz Sosnowski (7):
  ethdev: introduce hairpin memory capabilities
  common/mlx5: add hairpin SQ buffer type capabilities
  common/mlx5: add hairpin RQ buffer type capabilities
  net/mlx5: allow hairpin Tx queue in RTE memory
  net/mlx5: allow hairpin Rx queue in locked memory
  app/testpmd: add hairpin queues memory modes
  app/flow-perf: add hairpin queue memory config

 app/test-flow-perf/main.c             |  32 +++++
 app/test-pmd/parameters.c             |   2 +-
 app/test-pmd/testpmd.c                |  24 +++-
 app/test-pmd/testpmd.h                |   2 +-
 doc/guides/platform/mlx5.rst          |   5 +
 doc/guides/testpmd_app_ug/run_app.rst |  10 +-
 drivers/common/mlx5/mlx5_devx_cmds.c  |   8 ++
 drivers/common/mlx5/mlx5_devx_cmds.h  |   5 +
 drivers/common/mlx5/mlx5_prm.h        |  25 +++-
 drivers/net/mlx5/mlx5.h               |   2 +
 drivers/net/mlx5/mlx5_devx.c          | 170 +++++++++++++++++++++++---
 drivers/net/mlx5/mlx5_ethdev.c        |   6 +
 lib/ethdev/rte_ethdev.c               |  44 +++++++
 lib/ethdev/rte_ethdev.h               |  65 +++++++++-
 14 files changed, 373 insertions(+), 27 deletions(-)