mlxsw: spectrum_acl: Propagate errors from mlxsw_afa_block_jump/continue
authorJiri Pirko <jiri@mellanox.com>
Mon, 25 Sep 2017 08:58:20 +0000 (10:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Sep 2017 03:26:45 +0000 (20:26 -0700)
commit2a52a8c6e594cdc562f503492ba89ac7bc0c4074
tree304ed37a408b3509636f804ade321d32a7da3b80
parent5b52e57c3d879d4654a15c1b42ec9623b04755fb
mlxsw: spectrum_acl: Propagate errors from mlxsw_afa_block_jump/continue

Propagate error instead of doing WARN_ON right away.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c