Skip to content

Commit 1698c66

Browse files
committed
Disable bridge multicast snooping (IGMP/MLD) by default
The Marvell mv88e6xxx switch driver currently used in active projects do not support multicast router ports properly yet. Considering that Infix do not yet have YANG support for configuring IGMP/MLD snooping, we have decided to disable it in bridge setups by default. Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 830c885 commit 1698c66

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/confd/src/ietf-interfaces.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,15 +812,17 @@ static int netdag_gen_bridge(struct dagger *net, struct lyd_node *dif,
812812
const char *op = add ? "add" : "set";
813813
struct lyd_node *vlans, *vlan;
814814
int vlan_filtering, pvid, fwd_mask;
815+
int mcast_snooping;
815816
const char *proto;
816817
FILE *br = NULL;
817818
int err = 0;
818819

819820
vlan_filtering = bridge_vlan_settings(cif, &proto, &pvid);
821+
mcast_snooping = 0; /* Not supported yet */
820822
fwd_mask = bridge_fwd_mask(cif);
821823

822-
fprintf(ip, "link %s dev %s type bridge group_fwd_mask %d vlan_filtering %d",
823-
op, brname, fwd_mask, vlan_filtering ? 1 : 0);
824+
fprintf(ip, "link %s dev %s type bridge group_fwd_mask %d vlan_filtering %d mcast_snooping %d",
825+
op, brname, fwd_mask, vlan_filtering ? 1 : 0, mcast_snooping ? 1 : 0);
824826
if (!vlan_filtering) {
825827
fputc('\n', ip);
826828
goto done;

0 commit comments

Comments
 (0)