]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Offload multichain TC rules
authorJiri Pirko <jiri@mellanox.com>
Wed, 23 Aug 2017 08:08:18 +0000 (10:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:44:32 +0000 (20:44 -0700)
commit86660028a9ef23bc9d4bc8bd3ca508b8ee3b810b
tree235166b510c655f2533f99a85754c3da5b20a040
parentd908e8cc49811d5e540e4d70b54acd0308fc089a
mlxsw: spectrum: Offload multichain TC rules

Reflect chain index coming down from TC core and create a ruleset per
chain. Note that only chain 0, being the implicit chain, is bound to the
device for processing. The rest of chains have to be "jumped-to" by
actions.

Signed-off-by: Jiri Pirko <jiri@mellanox.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