Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet
Danielle Ratson 52feb8b588 mlxsw: spectrum_flower: Fail in case user specifies multiple mirror actions
The ASIC can only mirror a packet to one port, but when user is trying
to set more than one mirror action, it doesn't fail.

Add a check if more than one mirror action was specified per rule and if so,
fail for not being supported.

Fixes: d0d13c1858 ("mlxsw: spectrum_acl: Add support for mirror action")
Signed-off-by: Danielle Ratson <danieller@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-27 20:33:19 +02:00
..
2019-08-08 18:03:42 -07:00
2019-09-25 13:59:43 +02:00
2019-09-24 16:53:19 +02:00
2019-09-26 08:56:17 +02:00
2019-07-30 14:21:32 -07:00
2019-09-21 19:08:31 -07:00
2019-09-21 19:08:31 -07:00