]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: acl: Introduce ACL trap and forward action
authorYotam Gigi <yotamg@mellanox.com>
Tue, 3 Oct 2017 07:58:09 +0000 (09:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Oct 2017 17:06:30 +0000 (10:06 -0700)
commitdf47681f63d3f0c022d4ba47326dbd1e66abba0a
treed094856e89a7f7b429d484c382e8453a312218c1
parent0434b3b7d360c42abcde0be3fef76f95f0edcd5e
mlxsw: acl: Introduce ACL trap and forward action

Use trap/discard flex action to implement trap and forward. The action will
later be used for multicast routing, as the multicast routing mechanism is
done using ACL flexible actions in Spectrum hardware. Using that action, it
will be possible to implement a trap-and-forward route.

Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
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