net/mlx5e: TC, Remove error message log print
authorOz Shlomo <ozsh@nvidia.com>
Wed, 22 Feb 2023 10:03:36 +0000 (10:03 +0000)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 15 Mar 2023 22:50:18 +0000 (15:50 -0700)
commitc7b7c64ab5821352db0b3fbaa92773e5a60bfaa7
tree9fc17d677ddfd07f151b065bbae34d074695e6af
parentb23bf10cca59b2955fa5c2b5e4f753962b4f88ca
net/mlx5e: TC, Remove error message log print

The cited commit attempts to update the hw stats when dumping tc actions.
However, the driver may be called to update the stats of a police action
that may not be in hardware. In such cases the driver will fail to lookup
the police action object and will output an error message both to extack
and dmesg. The dmesg error is confusing as it may not indicate an actual
error.

Remove the dmesg error.

Fixes: 2b68d659a704 ("net/mlx5e: TC, support per action stats")
Signed-off-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c