]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add extack msgs related to TC for better debug
authorAbhiram R N <abhiramrn@gmail.com>
Wed, 22 Sep 2021 06:30:07 +0000 (12:00 +0530)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 16 Oct 2021 00:37:45 +0000 (17:37 -0700)
commit5033558ccc84b69485d05890e9bbd0976806af0b
treeac7571f9a68ae2daa3669b8afb49886e9bba9602
parent446ed713dd2193a1a3e952e665aba21a15367ac8
net/mlx5e: Add extack msgs related to TC for better debug

As multiple places EOPNOTSUPP and EINVAL is returned from driver
it becomes difficult to understand the reason only with error code.
With the netlink extack message exact reason will be known and will
aid in debugging.

Signed-off-by: Abhiram R N <abhiramrn@gmail.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c