net/mlx5e: TC, fix missing error code
authorOz Shlomo <ozsh@nvidia.com>
Tue, 21 Feb 2023 14:46:56 +0000 (14:46 +0000)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 15 Mar 2023 22:50:17 +0000 (15:50 -0700)
commit1166add424dae14ccdb64a6eefbf26766c9d0ef2
tree777fd74a9c218f95ea7cf25fdd80eb73bdfae878
parentd1a0075ad6b693c2bd41e7aedb8a4f3b74b6999c
net/mlx5e: TC, fix missing error code

Missing error code when mlx5e_tc_act_stats_create fails

Fixes: d13674b1d14c ("net/mlx5e: TC, map tc action cookie to a hw counter")
Reported-by: Dan Carpenter <error27@gmail.com>
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.c