mbox

[0/6] support yellow color policy in mlx5

Message ID 20210705155756.21443-1-bingz@nvidia.com (mailing list archive)
Headers

Message

Bing Zhao July 5, 2021, 3:57 p.m. UTC
  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 for yellow.

The actions list that is supported for yellow is the same as that
for green.

Bing Zhao (6):
  net/mlx5: add yellow color default policy
  net/mlx5: support yellow in meter policy validation
  net/mlx5: enable meter bucket overflow for yellow color
  net/mlx5: added support for yellow policy rules
  net/mlx5: split policies handling of colors
  doc: update mlx5 metering policy part

 doc/guides/rel_notes/release_21_08.rst |   5 +
 drivers/net/mlx5/mlx5.h                |   4 +-
 drivers/net/mlx5/mlx5_flow.c           |  41 +--
 drivers/net/mlx5/mlx5_flow_aso.c       |   3 +
 drivers/net/mlx5/mlx5_flow_dv.c        | 343 +++++++++++++++----------
 drivers/net/mlx5/mlx5_flow_meter.c     |  56 ++--
 6 files changed, 271 insertions(+), 181 deletions(-)