[PATCH 0/6] mlx5: external RxQ support
Michael Baum
michaelba at nvidia.com
Tue Feb 22 22:04:10 CET 2022
These patches add support to external Rx queues.
External queue is a queue that is managed by a process external to PMD,
but uses PMD process to generate its flow rules.
For the hardware to allow the DPDK process to set rules for it, the
process needs to use the same PD of the external process. In addition,
the indexes of the queues in hardware are represented by 32-bit compared
to the rte_flow indexes represented by 16-bit, so the processes need to
share some mapping between the indexes.
These patches allow the external process to provide devargs which enable
importing its context and PD, instead of prepare new ones. In addition,
an API is provided for mapping for the indexes of the queues.
Depends-on: series-21791 ("refactore mlx5 guides")
Michael Baum (6):
common/mlx5: glue device and PD importation
common/mlx5: add remote PD and CTX support
net/mlx5: optimize RxQ/TxQ control structure
net/mlx5: add external RxQ mapping API
net/mlx5: support queue/RSS action for external RxQ
app/testpmd: add test for external RxQ
app/test-pmd/cmdline.c | 157 +++++++++++
app/test-pmd/meson.build | 3 +
doc/guides/nics/mlx5.rst | 1 +
doc/guides/platform/mlx5.rst | 37 ++-
doc/guides/rel_notes/release_22_03.rst | 6 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 16 ++
drivers/common/mlx5/linux/meson.build | 2 +
drivers/common/mlx5/linux/mlx5_common_os.c | 227 ++++++++++++++--
drivers/common/mlx5/linux/mlx5_common_os.h | 6 -
drivers/common/mlx5/linux/mlx5_glue.c | 41 +++
drivers/common/mlx5/linux/mlx5_glue.h | 4 +
drivers/common/mlx5/mlx5_common.c | 62 ++++-
drivers/common/mlx5/mlx5_common.h | 28 +-
drivers/common/mlx5/version.map | 4 +
drivers/common/mlx5/windows/mlx5_common_os.c | 52 +++-
drivers/common/mlx5/windows/mlx5_common_os.h | 1 -
drivers/net/mlx5/linux/mlx5_os.c | 18 ++
drivers/net/mlx5/mlx5.c | 6 +
drivers/net/mlx5/mlx5.h | 1 +
drivers/net/mlx5/mlx5_defs.h | 3 +
drivers/net/mlx5/mlx5_devx.c | 52 ++--
drivers/net/mlx5/mlx5_ethdev.c | 18 +-
drivers/net/mlx5/mlx5_flow.c | 43 ++--
drivers/net/mlx5/mlx5_flow_dv.c | 14 +-
drivers/net/mlx5/mlx5_rx.h | 49 +++-
drivers/net/mlx5/mlx5_rxq.c | 258 +++++++++++++++++--
drivers/net/mlx5/mlx5_trigger.c | 36 +--
drivers/net/mlx5/mlx5_tx.h | 7 +-
drivers/net/mlx5/mlx5_txq.c | 14 +-
drivers/net/mlx5/rte_pmd_mlx5.h | 50 +++-
drivers/net/mlx5/version.map | 3 +
31 files changed, 1047 insertions(+), 172 deletions(-)
--
2.25.1
More information about the dev
mailing list