[dpdk-dev] [PATCH v3 0/7] support yellow color policy in mlx5
Bing Zhao
bingz at nvidia.com
Wed Jul 21 10:54:14 CEST 2021
When creating a meter policy, the actions for yellow color can be
specified together with green color. The mlx5 PMD now supports to
set the policy actions for yellow color.
The actions list that is supported for yellow is the same as that
for green.
---
v3:
* patch set building fix
* bug fixes and document update
v2:
* bug fixes
* add policy and profile consistency checking
* add trTCM RFC2698 and RFC4115 support
---
Acked-by: Matan Azrad <matan at nvidia.com>
Bing Zhao (7):
net/mlx5: handle yellow case in default meter policy
net/mlx5: enable meter bucket overflow for yellow color
net/mlx5: added support for yellow policy rules
net/mlx5: split policies handling of colors
net/mlx5: support yellow in meter policy validation
net/mlx5: check consistency of meter policy and profile
net/mlx5: add meter support for trTCM profiles
doc/guides/nics/mlx5.rst | 10 +-
doc/guides/rel_notes/release_21_08.rst | 2 +
drivers/common/mlx5/mlx5_prm.h | 5 +-
drivers/net/mlx5/mlx5.h | 20 +-
drivers/net/mlx5/mlx5_flow.c | 46 +--
drivers/net/mlx5/mlx5_flow.h | 4 +-
drivers/net/mlx5/mlx5_flow_aso.c | 21 ++
drivers/net/mlx5/mlx5_flow_dv.c | 471 +++++++++++++++----------
drivers/net/mlx5/mlx5_flow_meter.c | 203 +++++++----
9 files changed, 492 insertions(+), 290 deletions(-)
--
2.27.0
More information about the dev
mailing list