]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: acl: Change trap ACL action to get the trap_id as a parameter
authorYotam Gigi <yotamg@mellanox.com>
Tue, 19 Sep 2017 08:00:11 +0000 (10:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 21:21:40 +0000 (14:21 -0700)
commit14f8eec6a9f05e8087b79b10ba67694429fd330e
tree71777759cb9c59728985ef3ff9df0858c7155f07
parent2166cc664e90e6c1fad7632930661826d574f817
mlxsw: acl: Change trap ACL action to get the trap_id as a parameter

Allow the trap ACL action to be configured with different traps. This
allows the multicast router offloading code to use that same ACL action
with the multicast router traps. By using different traps, the multicast
router can have different trap policies and can handle the packet
differently.

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
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c