diff options
| author | Yotam Gigi <[email protected]> | 2017-10-03 09:58:10 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-03 10:06:30 -0700 |
| commit | a0040c8c935548e1efb1a28f07f15d7ec7918055 (patch) | |
| tree | 7500e0719d131947af088773127846c817c23db3 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 267872435515185e2e600a721fdddeea90f96ffa (diff) | |
mlxsw: spectrum: Add trap for multicast trap-and-forward routes
When a multicast route is configured with trap-and-forward action, the
packets should be marked with skb->offload_mr_fwd_mark, in order to prevent
the packets from being forwarded again by the kernel ipmr module.
Due to this, it is not possible to use the already existing multicast trap
(MLXSW_TRAP_ID_ACL1) as the packet should be marked differently. Add the
MLXSW_TRAP_ID_ACL2 which is for trap-and-forward multicast routes, and set
the offload_mr_fwd_mark skb field in its handler.
Signed-off-by: Yotam Gigi <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions