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

Return extack messages for failures in action set creation.
Errors may occur when action is not currently supported or due
to lack of resources.

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/core_acl_flex_actions.c