]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6e5ae21a20b1f3c75d223dc59f7f35ce8a33209
tree0781f980937612745c55c3625687c22d60804ded
parent0300032b7b911428655f9725a23e9abbcd4310e3
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