numam-dpdk/drivers
Bing Zhao 8a0fca1101 net/mlx5: fix meter profile validation
After the support for yellow color and RFC2698 & RFC4115 were added,
the profile validation adjustment was missed. With this fix, the
validation is like below:
  1. Legacy metering only supports RFC2697 without EBS.
  2. ASO metering can support all three profiles.
  3. For backward compatibility, none EBS with RFC2697 profile is
     still supported and the checking is done in the meter
     creation stage.

In the meanwhile, some checking which was done in the parameters
calculation stage is moved in the validation in order to skip the
useless checking.

Fixes: 33a7493c8d ("net/mlx5: support meter for trTCM profiles")

Signed-off-by: Bing Zhao <bingz@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-07-29 22:03:14 +02:00
..
baseband
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 profile validation 2021-07-29 22:03:14 +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