We need to be able to transparently forward most link-local frames via tunnels (e.g. vxlan, qinq). Currently the bridge's group_fwd_mask has a mask which restricts the forwarding of STP and LACP, but we need to be able to forward these over tunnels and control that forwarding on a per-port basis thus add a new per-port group_fwd_mask option which only disallows mac pause frames to be forwarded (they're always dropped anyway). The patch does not change the current default situation - all of the others are still restricted unless configured for forwarding. We have successfully tested this patch with LACP and STP forwarding over VxLAN and qinq tunnels.
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -325,6 +325,7 @@ enum { · 324 unmodified lines | ||
| 325 | 325 | IFLA_BRPORT_MCAST_TO_UCAST, |
| 326 | 326 | IFLA_BRPORT_VLAN_TUNNEL, |
| 327 | 327 | IFLA_BRPORT_BCAST_FLOOD, |
| 328 | + IFLA_BRPORT_GROUP_FWD_MASK, | |
| 328 | 329 | __IFLA_BRPORT_MAX |
| 329 | 330 | }; |
| 330 | 331 | #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) |