net/mlx5e: E-Switch, Add extack messages to devlink callbacks
authorEli Britstein <elibr@mellanox.com>
Sun, 5 Aug 2018 11:32:33 +0000 (14:32 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 3 Oct 2018 23:17:58 +0000 (16:17 -0700)
commit8c98ee77d911bdb6f3b46a7dddc383445dd948d6
treefc791298f4f2605117cf692385f3d387beba73d7
parentdb7ff19e7b119adb4618fbc6410b441d1c3b55c5
net/mlx5e: E-Switch, Add extack messages to devlink callbacks

Return extack messages for failures in the e-switch devlink callbacks.
Messages provide reasons for not being able to issue the operation.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c