]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit0885ae1a9d34d946e12c1cf9834463ee3541a63a
treeac7571f9a68ae2daa3669b8afb49886e9bba9602
parent88594d83314ad06314c9743b1ec49d0a95a5d4c7
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