/linux/drivers/net/ethernet/ti/ |
A D | cpsw_switchdev.c | 64 if (flags.mask & BR_MCAST_FLOOD) { in cpsw_port_attr_br_flags_set() 67 if (flags.val & BR_MCAST_FLOOD) in cpsw_port_attr_br_flags_set() 83 if (flags.mask & ~(BR_LEARNING | BR_MCAST_FLOOD)) in cpsw_port_attr_br_flags_pre_set()
|
A D | am65-cpsw-switchdev.c | 62 if (flags.mask & BR_MCAST_FLOOD) { in am65_cpsw_port_attr_br_flags_set() 65 if (flags.val & BR_MCAST_FLOOD) in am65_cpsw_port_attr_br_flags_set() 81 if (flags.mask & ~(BR_LEARNING | BR_MCAST_FLOOD)) in am65_cpsw_port_attr_br_flags_pre_set()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_switchdev.c | 400 BR_MCAST_FLOOD; in prestera_bridge_port_create() 464 err = prestera_hw_port_flood_set(port, BR_FLOOD | BR_MCAST_FLOOD, in prestera_bridge_1d_port_join() 596 prestera_hw_port_flood_set(port, BR_FLOOD | BR_MCAST_FLOOD, 0); in prestera_bridge_port_leave() 733 ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD)) in prestera_port_obj_attr_set() 921 err = prestera_hw_port_flood_set(port, BR_FLOOD | BR_MCAST_FLOOD, in prestera_port_vlan_bridge_join()
|
A D | prestera_hw.c | 1529 if (mask & BR_MCAST_FLOOD) { in prestera_hw_port_flood_set() 1530 err = prestera_hw_port_mc_flood_set(port, val & BR_MCAST_FLOOD); in prestera_hw_port_flood_set()
|
/linux/include/linux/ |
A D | if_bridge.h | 51 #define BR_MCAST_FLOOD BIT(11) macro
|
/linux/net/dsa/ |
A D | port.c | 178 const unsigned long mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in dsa_port_inherit_brport_flags() 201 const unsigned long val = BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in dsa_port_clear_brport_flags() 202 const unsigned long mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in dsa_port_clear_brport_flags()
|
/linux/net/bridge/ |
A D | br_forward.c | 215 if (!(p->flags & BR_MCAST_FLOOD) && skb->dev != br->dev) in br_flood()
|
A D | br_sysfs_if.c | 239 BRPORT_ATTR_FLAG(multicast_flood, BR_MCAST_FLOOD);
|
A D | br_if.c | 431 p->flags = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in new_nbp()
|
A D | br_switchdev.c | 75 BR_MCAST_FLOOD | BR_BCAST_FLOOD)
|
A D | br_netlink.c | 246 !!(p->flags & BR_MCAST_FLOOD)) || in br_port_fill_attrs() 887 br_set_port_flag(p, tb, IFLA_BRPORT_MCAST_FLOOD, BR_MCAST_FLOOD); in br_setport()
|
/linux/drivers/net/dsa/hirschmann/ |
A D | hellcreek.c | 653 if (flags.mask & ~(BR_FLOOD | BR_MCAST_FLOOD)) in hellcreek_pre_bridge_flags() 669 if (flags.mask & BR_MCAST_FLOOD) in hellcreek_bridge_flags() 671 !!(flags.val & BR_MCAST_FLOOD)); in hellcreek_bridge_flags()
|
/linux/drivers/net/dsa/sja1105/ |
A D | sja1105_main.c | 2933 if (flags.val & BR_MCAST_FLOOD) in sja1105_port_mcast_flood() 2950 if (flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in sja1105_port_pre_bridge_flags() 2954 if (flags.mask & (BR_FLOOD | BR_MCAST_FLOOD) && in sja1105_port_pre_bridge_flags() 2956 bool multicast = !!(flags.val & BR_MCAST_FLOOD); in sja1105_port_pre_bridge_flags() 2994 if (flags.mask & BR_MCAST_FLOOD && priv->info->can_limit_mcast_flood) { in sja1105_port_bridge_flags()
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_switchdev.c | 25 if (flags.mask & BR_MCAST_FLOOD) in sparx5_port_attr_bridge_flags()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_switchdev.c | 359 BR_MCAST_FLOOD; in mlxsw_sp_bridge_port_create() 678 if (flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD)) in mlxsw_sp_port_attr_br_pre_flags_set() 716 if (flags.mask & BR_MCAST_FLOOD) { in mlxsw_sp_port_attr_br_flags_set() 720 flags.val & BR_MCAST_FLOOD); in mlxsw_sp_port_attr_br_flags_set() 824 bridge_port->flags & BR_MCAST_FLOOD; in mlxsw_sp_mc_flood()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
A D | bridge.c | 257 if (attr->u.brport_flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD)) { in mlx5_esw_bridge_port_obj_attr_set()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-switch.c | 1670 BR_MCAST_FLOOD)) in dpaa2_switch_port_pre_bridge_flags() 1673 if (flags.mask & (BR_FLOOD | BR_MCAST_FLOOD)) { in dpaa2_switch_port_pre_bridge_flags() 1674 bool multicast = !!(flags.val & BR_MCAST_FLOOD); in dpaa2_switch_port_pre_bridge_flags() 1703 if (flags.mask & (BR_BCAST_FLOOD | BR_FLOOD | BR_MCAST_FLOOD)) { in dpaa2_switch_port_bridge_flags()
|
/linux/drivers/net/dsa/b53/ |
A D | b53_common.c | 2007 if (flags.mask & ~(BR_FLOOD | BR_MCAST_FLOOD | BR_LEARNING)) in b53_br_flags_pre() 2021 if (flags.mask & BR_MCAST_FLOOD) in b53_br_flags() 2023 !!(flags.val & BR_MCAST_FLOOD)); in b53_br_flags()
|
/linux/drivers/net/ethernet/mscc/ |
A D | ocelot.c | 2334 if (flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in ocelot_port_pre_bridge_flags() 2353 if (flags.mask & BR_MCAST_FLOOD) in ocelot_port_bridge_flags() 2355 !!(flags.val & BR_MCAST_FLOOD)); in ocelot_port_bridge_flags()
|
A D | ocelot_net.c | 1102 flags.mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in ocelot_inherit_brport_flags() 1115 flags.mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in ocelot_clear_brport_flags()
|
/linux/drivers/net/dsa/ |
A D | mt7530.c | 1154 if (flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in mt7530_port_pre_bridge_flags() 1176 if (flags.mask & BR_MCAST_FLOOD) in mt7530_port_bridge_flags() 1178 flags.val & BR_MCAST_FLOOD ? UNM_FFP(BIT(port)) : 0); in mt7530_port_bridge_flags()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A D | chip.c | 5899 if (flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in mv88e6xxx_port_pre_bridge_flags() 5908 if ((flags.mask & BR_MCAST_FLOOD) && !ops->port_set_mcast_flood) in mv88e6xxx_port_pre_bridge_flags() 5941 if (flags.mask & BR_MCAST_FLOOD) { in mv88e6xxx_port_bridge_flags() 5942 bool multicast = !!(flags.val & BR_MCAST_FLOOD); in mv88e6xxx_port_bridge_flags()
|
/linux/net/core/ |
A D | rtnetlink.c | 4685 IFLA_BRPORT_MCAST_FLOOD, BR_MCAST_FLOOD) || in ndo_dflt_bridge_getlink()
|