Skip to content

RFC adds support PPS(packet per second) on meter

Li Zhang dpdk-dev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 RFC Latest4 patches 15 repliesIn review
  2. v3 RFC posting 3/34 patches 0 repliesSuperseded
  3. v3 RFC posting 2/34 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 RFC posting 1/34 patches0 repliesSuperseded
v2 RFC1 patch8 repliesSuperseded
v1 RFC1 patch2 repliesSuperseded

Changes in v4 from the cover letter

* Fix the wrong commit log.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ethdev: add meter PPS profiledoc/guides/prog_guide/traffic_metering_and_policing.rst doc/guides/rel_notes/release_20_11.rst lib/librte_ethdev/rte_mtr.h+39 -113 replies
2/4common/mlx5: add meter mode definition in PRM filedrivers/common/mlx5/mlx5_prm.h+8 -00 replies
3/4net/mlx5: support meter PPS profiledoc/guides/nics/mlx5.rst drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow_aso.c +1 more+79 -230 replies
4/4app/testpmd: add meter pps mode cmdapp/test-pmd/cmdline.c app/test-pmd/cmdline_mtr.c app/test-pmd/cmdline_mtr.h +1 more+125 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [dpdk-dev] [RFC v4 0/4] adds support PPS(packet per second) on meter

Currently the flow Meter algorithms in rte_flow only supports bytes per second(BPS).
Such as Single Rate Three Color Marker (srTCM rfc2697) This RFC adds the packet per second definition in Meter algorithms structure,
to support the rte_mtr APIs with type srTCM pps mode. The below structure will be extended:
rte_mtr_algorithm
rte_mtr_meter_profile

v4:
* Fix the wrong commit log.

v3:
* Redefine the struct name for PPS mode.

v2:
* Rebase

Li Zhang (4):
ethdev: add meter PPS profile
common/mlx5: add meter mode definition in PRM file net/mlx5: support meter PPS profile app/testpmd: add meter pps mode cmd

 app/test-pmd/cmdline.c                        |   4 +
 app/test-pmd/cmdline_mtr.c                    | 105 ++++++++++++++++++
 app/test-pmd/cmdline_mtr.h                    |   1 +
 doc/guides/nics/mlx5.rst                      |   1 +
 .../traffic_metering_and_policing.rst         |   3 +-
 doc/guides/rel_notes/release_20_11.rst        |   5 +
 doc/guides/testpmd_app_ug/testpmd_funcs.rst   |  15 +++
 drivers/common/mlx5/mlx5_prm.h                |   8 ++
 drivers/net/mlx5/mlx5.h                       |  13 ++-
 drivers/net/mlx5/mlx5_flow_aso.c              |  17 ++-
 drivers/net/mlx5/mlx5_flow_meter.c            |  71 +++++++++---
 lib/librte_ethdev/rte_mtr.h                   |  32 ++++++
 12 files changed, 251 insertions(+), 24 deletions(-)
Signature · 1 line
2.21.0