RFC net/mlx5: dump software steering flows in HW
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net/mlx5: support flow dump Apidrivers/ drivers/ drivers/ +6 more | +133 | 0 replies | |
| 2/4 | app/testpmd: new flow dump CLIapp/ app/ app/ +2 more | +132 | 4 replies | |
| 3/4 | net/mlx5: add socket server for external toolsdrivers/ drivers/ drivers/ +2 more | +235 | 0 replies | |
| 4/4 | doc: update mlx5 document for flow dump featuredoc/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [dpdk-dev] [RFC 0/4] net/mlx5: dump software steering flows in HW
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
Signature · 1 line
2.24.1