]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1ee2c3b6a29c3dfb9427d0b4058679acb76911a
tree2a8f75f45f68efd26a9190992c79877e52b58861
parent0220c382306ea7a6d935436fe523bebade32aa05
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