mlxsw: spectrum_acl: Implement TC block sharing
authorJiri Pirko <jiri@mellanox.com>
Wed, 17 Jan 2018 10:46:56 +0000 (11:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jan 2018 19:53:58 +0000 (14:53 -0500)
commit3aaff323044e221b7233eddcc2fe094c662df3b0
tree2a8f75f45f68efd26a9190992c79877e52b58861
parent02caf4995ad07c592d5bbf045f6198c08cd63e87
mlxsw: spectrum_acl: Implement TC block sharing

Benefit from the prepared TC and in-driver ACL infrastructure and
introduce block sharing offload. For that, a new struct "block" is
introduced in spectrum_acl in order to hold a list of specific
block-port bindings.

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