numam-dpdk/drivers
Bing Zhao f8c42c53ce net/mlx5: fix meter hierarchy validation with yellow
In mlx5 PMD, the meter hierarchy only supports the green color. It
means that a meter action can only be in the green action list. In
the meanwhile, the yellow action list should be empty now. Any
action for the yellow color policy will be considered invalid if
the green color policy is a hierarchy.

Also, the error message printing of meter hierarchy validation is
fixed by removing an incorrect checking.

Fixes: 4b7bf3ffb4 ("net/mlx5: support yellow in meter policy validation")
Fixes: a3b7af90ba ("net/mlx5: validate meter action in policy")

Signed-off-by: Bing Zhao <bingz@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-07-29 22:06:43 +02:00
..
baseband log: register with standardized names 2021-05-11 15:17:55 +02:00
bus net/dpaa2: add per-thread initialization API 2021-07-23 20:29:53 +02:00
common net/mlx5: fix meter profile validation 2021-07-29 22:03:14 +02:00
compress compress/mlx5: fix overflow in queue size 2021-07-22 14:47:32 +02:00
crypto crypto/octeontx: enable build on non-Linux OS 2021-07-22 21:04:06 +02:00
event event/cnxk: support vectorized Tx event fast path 2021-07-16 14:16:50 +02:00
mempool mempool/octeontx2: fix shift calculation 2021-06-30 18:42:54 +02:00
net net/mlx5: fix meter hierarchy validation with yellow 2021-07-29 22:06:43 +02:00
raw raw/cnxk_bphy: support setting FEC 2021-07-23 00:54:01 +02:00
regex regex/mlx5: fix redundancy in device removal 2021-07-22 15:19:37 +02:00
vdpa vdpa/mlx5: fix overflow in queue attribute 2021-07-22 14:48:07 +02:00
meson.build log: register with standardized names 2021-05-11 15:17:55 +02:00