]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: TC, Fix wrong rejection of packet-per-second policing
authorJianbo Liu <jianbol@nvidia.com>
Thu, 3 Nov 2022 06:55:45 +0000 (23:55 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 9 Nov 2022 18:30:43 +0000 (10:30 -0800)
commitf34cfc163c7402406e68d01030680fd7f3e497e0
tree443a2ce1ec49833469c4e6b2d2cbf3120b7b14ef
parent6845a3def7921f6e76c15bde0c833cadbf8389e7
net/mlx5e: TC, Fix wrong rejection of packet-per-second policing

In the bellow commit, we added support for PPS policing without
removing the check which block offload of such cases.
Fix it by removing this check.

Fixes: 1e44311b1795 ("net/mlx5e: TC, Support offloading police action")
Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c