support single flow dump on MLX5 PMD
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyIn review
- v22 patches 0 repliesSuperseded
- v12 patches 1 replySuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | common/mlx5: add mlx5 APIs for single flow dump featuredrivers/ drivers/ drivers/ +3 more | +35 | 0 replies | |
| 2/2 | net/mlx5: add mlx5 APIs for single flow dump featuredrivers/ drivers/ drivers/ +1 more | +78 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Viacheslav Ovsiienko |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [PATCH v3 0/2] support single flow dump on MLX5 PMD
Dump information for all flows are supported and it is useful to dump one flow.
Add single flow dump support on MLX5 PMD.
Modify API mlx5_flow_dev_dump to support.Modify mlx5_socket since one extra arg flow_ptr is added.
The data structure sent to DPDK application from the utility triggering the flow dumps should be packed and endianness must be specified.
The native host endianness can be used, all exchange happens within the same host (we use sendmsg aux data and share the file handle, remote approach is not applicable, no inter-host communication happens).
The message structure to dump one/all flow(s):
struct mlx5_flow_dump_req {
uint32_t port_id;
uint64_t flow_ptr;
} __rte_packed;If flow_ptr is 0, all flows for the specified port will be dumped.
Depends-on: series=16367 ("single flow dump")
http://patchwork.dpdk.org/project/dpdk/list/?series=16367
V2: Rebase to fix apply patch failure.
V3: Fix commments. Modify data structures sent to DPDK application.
Haifei Luo (2):
common/mlx5: add mlx5 APIs for single flow dump feature net/mlx5: add mlx5 APIs for single flow dump feature
drivers/common/mlx5/linux/meson.build | 6 +++-- drivers/common/mlx5/linux/mlx5_glue.c | 13 ++++++++++ drivers/common/mlx5/linux/mlx5_glue.h | 1 + drivers/common/mlx5/mlx5_devx_cmds.c | 14 +++++++++++ drivers/common/mlx5/mlx5_devx_cmds.h | 2 ++ drivers/common/mlx5/version.map | 1 + drivers/net/mlx5/linux/mlx5_os.h | 3 +++ drivers/net/mlx5/linux/mlx5_socket.c | 47 +++++++++++++++++++++++++++-------- drivers/net/mlx5/mlx5.h | 10 ++++++++ drivers/net/mlx5/mlx5_flow.c | 30 ++++++++++++++++++++-- 10 files changed, 113 insertions(+), 14 deletions(-)
Signature · 1 line
1.8.3.1