Home
last modified time | relevance | path

Searched refs:BR_MCAST_FLOOD (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/net/ethernet/ti/
A Dcpsw_switchdev.c64 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 Dam65-cpsw-switchdev.c62 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 Dprestera_switchdev.c400 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 Dprestera_hw.c1529 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 Dif_bridge.h51 #define BR_MCAST_FLOOD BIT(11) macro
/linux/net/dsa/
A Dport.c178 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 Dbr_forward.c215 if (!(p->flags & BR_MCAST_FLOOD) && skb->dev != br->dev) in br_flood()
A Dbr_sysfs_if.c239 BRPORT_ATTR_FLAG(multicast_flood, BR_MCAST_FLOOD);
A Dbr_if.c431 p->flags = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in new_nbp()
A Dbr_switchdev.c75 BR_MCAST_FLOOD | BR_BCAST_FLOOD)
A Dbr_netlink.c246 !!(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 Dhellcreek.c653 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 Dsja1105_main.c2933 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 Dsparx5_switchdev.c25 if (flags.mask & BR_MCAST_FLOOD) in sparx5_port_attr_bridge_flags()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_switchdev.c359 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 Dbridge.c257 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 Ddpaa2-switch.c1670 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 Db53_common.c2007 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 Docelot.c2334 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 Docelot_net.c1102 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 Dmt7530.c1154 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 Dchip.c5899 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 Drtnetlink.c4685 IFLA_BRPORT_MCAST_FLOOD, BR_MCAST_FLOOD) || in ndo_dflt_bridge_getlink()

Completed in 100 milliseconds