diff options
author | Oz Shlomo <ozsh@nvidia.com> | 2022-12-08 09:31:48 +0100 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-01-10 07:08:35 +0100 |
commit | c09502d54dc109530ccb9a8910ab286d0745f119 (patch) | |
tree | eac72942f7b6c2550ce5a43fc0f9dcb3240dc237 /drivers | |
parent | net/mlx5e: TC, ignore match level for post meter rules (diff) | |
download | linux-c09502d54dc109530ccb9a8910ab286d0745f119.tar.xz linux-c09502d54dc109530ccb9a8910ab286d0745f119.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c b/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c index 512d43148922..c4378afdec09 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c @@ -34,12 +34,6 @@ static int police_act_validate(const struct flow_action_entry *act, return -EOPNOTSUPP; } - if (act->police.rate_pkt_ps) { - NL_SET_ERR_MSG_MOD(extack, - "QoS offload not support packets per second"); - return -EOPNOTSUPP; - } - return 0; } |