net/mlx5e: TC, Restore pkt rate policing support
authorOz Shlomo <ozsh@nvidia.com>
Thu, 8 Dec 2022 08:31:48 +0000 (08:31 +0000)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 10 Jan 2023 06:08:35 +0000 (22:08 -0800)
commitc09502d54dc109530ccb9a8910ab286d0745f119
treeeac72942f7b6c2550ce5a43fc0f9dcb3240dc237
parent2414c9b7a29d237c9c40abd62853dbc08b4ba7df
net/mlx5e: TC, Restore pkt rate policing support

The offending commit removed the support for all packet rate metering.
Restore the pkt rate metering support by removing the restriction.

Fixes: 3603f26633e7 ("net/mlx5e: TC, allow meter jump control action")
Signed-off-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c