net/mlx5: support meter PPS profile
authorLi Zhang <lizh@nvidia.com>
Tue, 27 Apr 2021 10:41:34 +0000 (13:41 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Tue, 27 Apr 2021 12:27:08 +0000 (14:27 +0200)
commitaa065a9cf37b417c50a042dba6cc367d3e0c18af
treea7895968ceb42e08a553d34af7834ed6cdf5664e
parent51ec04dc7bcfe879978490eda88b4a5e929bd785
net/mlx5: support meter PPS profile

Currently meter algorithms only supports bytes units for meter profiles.
Using ASO feature, the driver can support metering in per packet units.

Add support for packet units in meter profiles.

Signed-off-by: Li Zhang <lizh@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
doc/guides/nics/mlx5.rst
doc/guides/rel_notes/release_21_05.rst
drivers/common/mlx5/mlx5_prm.h
drivers/net/mlx5/mlx5_flow_aso.c
drivers/net/mlx5/mlx5_flow_meter.c