RFC adds support PPS(packet per second) on meter
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 RFC Latest4 patches 15 repliesIn review
- v3 RFC posting 3/34 patches 0 repliesSuperseded
- v3 RFC posting 2/34 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 RFC posting 1/3 | 4 patches | 0 replies | Superseded | |
| v2 RFC | 1 patch | 8 replies | Superseded | |
| v1 RFC | 1 patch | 2 replies | Superseded |
Changes in v4 from the cover letter
* Fix the wrong commit log.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ethdev: add meter PPS profiledoc/ doc/ lib/ | +39 | 13 replies | |
| 2/4 | common/mlx5: add meter mode definition in PRM filedrivers/ | +8 | 0 replies | |
| 3/4 | net/mlx5: support meter PPS profiledoc/ drivers/ drivers/ +1 more | +79 | 0 replies | |
| 4/4 | app/testpmd: add meter pps mode cmdapp/ app/ app/ +1 more | +125 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
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_algorithmrte_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