[dpdk-dev] [RFC 0/4] net/mlx5: dump software steering flows in HW
Xiaoyu Min
jackmin at mellanox.com
Tue Jan 14 04:45:11 CET 2020
This RFC intends to provide a way to dump all the offloaded rte flows
in HW. This is very helpful for user and developer to debug flow offloading
stuff, i.e, to check whether PMD offloads the rte flow in a correct way
from HW perspective.
A private PMD API is provided as well as a socket server for external tool
to trigger dump.
The output file is in raw format and Mellanox specific. An external vendor
(Mellanox) provided tool is needed in order to get human readable format.
Please be aware the underlying rdma-core lib also needs to support this.
Xueming Li (4):
net/mlx5: support flow dump Api
app/testpmd: new flow dump CLI
net/mlx5: add socket server for external tools
doc: update mlx5 document for flow dump feature
app/test-pmd/Makefile | 4 +
app/test-pmd/cmdline_flow.c | 91 +++++++++
app/test-pmd/config.c | 33 ++++
app/test-pmd/meson.build | 3 +
app/test-pmd/testpmd.h | 1 +
doc/guides/nics/mlx5.rst | 28 +++
drivers/net/mlx5/Makefile | 12 +-
drivers/net/mlx5/meson.build | 5 +
drivers/net/mlx5/mlx5.c | 2 +
drivers/net/mlx5/mlx5.h | 7 +
drivers/net/mlx5/mlx5_devx_cmds.c | 35 ++++
drivers/net/mlx5/mlx5_glue.c | 13 ++
drivers/net/mlx5/mlx5_glue.h | 1 +
drivers/net/mlx5/mlx5_socket.c | 226 ++++++++++++++++++++++
drivers/net/mlx5/rte_pmd_mlx5.c | 22 +++
drivers/net/mlx5/rte_pmd_mlx5.h | 39 ++++
drivers/net/mlx5/rte_pmd_mlx5_version.map | 7 +
17 files changed, 528 insertions(+), 1 deletion(-)
create mode 100644 drivers/net/mlx5/mlx5_socket.c
create mode 100644 drivers/net/mlx5/rte_pmd_mlx5.c
create mode 100644 drivers/net/mlx5/rte_pmd_mlx5.h
--
2.24.1
More information about the dev
mailing list