mlxsw: spectrum_flower: Add extack messages
authorNir Dotan <nird@mellanox.com>
Tue, 24 Jul 2018 14:13:14 +0000 (17:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2018 17:10:33 +0000 (10:10 -0700)
commit27c203cd148921618260cbbe3061ec290733d384
tree0781f980937612745c55c3625687c22d60804ded
parentaf1fe786436ae03f28d5797fc1e261f5f65a28cf
mlxsw: spectrum_flower: Add extack messages

Return extack messages in order to explain failures
of unsupported actions, keys and invalid user input.

Signed-off-by: Nir Dotan <nird@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c