[PATCH 0/7] ethdev: introduce hairpin memory capabilities
Dariusz Sosnowski
dsosnowski at nvidia.com
Mon Sep 19 18:37:23 CEST 2022
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(-)
--
2.25.1
More information about the dev
mailing list