]> 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)
commit8bd7415af905a964144ea1b3cd0af224e9b3f87e
treeac7571f9a68ae2daa3669b8afb49886e9bba9602
parentfca2d8f4c4179132c85836106e58b4d3683585ef
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