Skip to content

single flow dump

Haifei Luo dpdk-dev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 1 replyIn review
  2. v53 patches 2 repliesSuperseded
  3. v43 patches 6 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v33 patches3 repliesSuperseded
v25 patches13 repliesSuperseded
v14 patches2 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ethdev: dump single flow ruleapp/test-pmd/config.c doc/guides/nics/mlx5.rst doc/guides/rel_notes/release_21_05.rst +7 more+35 -140 replies
2/2app/testpmd: add CLIs for single flow dump featureapp/test-pmd/cmdline_flow.c app/test-pmd/config.c app/test-pmd/testpmd.h +2 more+92 -120 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAjit KhapardeOri Kam
1/2A-b A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [dpdk-dev] [PATCH v6 0/2] single flow dump

Dump internal representation information of all flows is supported. It is useful to dump one flow. To implement this requirement, add this CLI to dump one rule: flow dump PORT rule ID
and the CLI to dump all: flow dump PORT all
Examples:
testpmd> flow dump 0 all
testpmd> flow dump 0 rule 0
The first 0 is for port. The second one is for rule id.

For RTE API, add one arg rte_flow in rte_flow_dev_dump. If rte_flow is null, it will dump information for all flows. Otherwise, it will dump one.
Accordingly, add this arg in related dev_dump and driver APIs.

V2: fix comments about rte API. V1 has one API rte_flow_dump, remove it and update rte_flow_dev_dump by adding one arg rte_flow.

V3: split into two series. One is for ethdev/testpmd/doc, the other is for drivers.

V4: Fix comments. Remove "Flow dump" from features/default.ini and features/mlx5.ini.

V5: Fix comments. Modify title and enhance API's description.

V6: Distribute the release notes updates to the patches that introduces the change.

Haifei Luo (2):
ethdev: dump single flow rule
app/testpmd: add CLIs for single flow dump feature

 app/test-pmd/cmdline_flow.c                 | 55 +++++++++++++++++++++++++----
 app/test-pmd/config.c                       | 38 ++++++++++++++++++--
 app/test-pmd/testpmd.h                      |  3 +-
 doc/guides/nics/mlx5.rst                    |  9 +++--
 doc/guides/rel_notes/release_21_05.rst      |  5 +++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  6 +++-
 drivers/net/mlx5/linux/mlx5_socket.c        |  2 +-
 drivers/net/mlx5/mlx5.h                     |  4 +--
 drivers/net/mlx5/mlx5_flow.c                |  9 +++--
 drivers/net/octeontx2/otx2_flow.c           |  9 ++++-
 lib/librte_ethdev/rte_flow.c                |  5 +--
 lib/librte_ethdev/rte_flow.h                |  5 ++-
 lib/librte_ethdev/rte_flow_driver.h         |  1 +
 13 files changed, 126 insertions(+), 25 deletions(-)
Signature · 1 line
1.8.3.1