/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_switchdev.c | 110 if (flags.mask & BR_FLOOD) in lan966x_port_bridge_flags() 112 !!(flags.val & BR_FLOOD)); in lan966x_port_bridge_flags() 126 if (flags.mask & ~(BR_MCAST_FLOOD | BR_FLOOD | BR_BCAST_FLOOD | in lan966x_port_pre_bridge_flags() 274 flags.mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in lan966x_port_bridge_join() 287 flags.mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in lan966x_port_bridge_leave()
|
/linux-6.1.9/include/linux/ |
D | if_bridge.h | 45 #define BR_FLOOD BIT(6) macro 46 #define BR_AUTO_MASK (BR_FLOOD | BR_LEARNING)
|
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_switchdev.c | 26 if (flags.mask & ~(BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD)) in sparx5_port_attr_pre_bridge_flags() 49 if (flags.mask & BR_FLOOD) in sparx5_port_attr_bridge_flags() 50 sparx5_pgid_update_mask(port, PGID_UC_FLOOD, !!(flags.val & BR_FLOOD)); in sparx5_port_attr_bridge_flags()
|
/linux-6.1.9/net/bridge/ |
D | br_forward.c | 211 if (!(p->flags & BR_FLOOD)) in br_flood()
|
D | br_sysfs_if.c | 236 BRPORT_ATTR_FLAG(unicast_flood, BR_FLOOD);
|
D | br_if.c | 440 p->flags = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in new_nbp()
|
D | br_switchdev.c | 74 #define BR_PORT_FLAGS_HW_OFFLOAD (BR_LEARNING | BR_FLOOD | \
|
D | br_netlink.c | 248 !!(p->flags & BR_FLOOD)) || in br_port_fill_attrs() 935 br_set_port_flag(p, tb, IFLA_BRPORT_UNICAST_FLOOD, BR_FLOOD); in br_setport()
|
/linux-6.1.9/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 2910 if (flags.mask & BR_FLOOD) { in sja1105_port_ucast_bcast_flood() 2911 if (flags.val & BR_FLOOD) in sja1105_port_ucast_bcast_flood() 2966 if (flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in sja1105_port_pre_bridge_flags() 2970 if (flags.mask & (BR_FLOOD | BR_MCAST_FLOOD) && in sja1105_port_pre_bridge_flags() 2973 bool unicast = !!(flags.val & BR_FLOOD); in sja1105_port_pre_bridge_flags() 3000 if (flags.mask & (BR_FLOOD | BR_BCAST_FLOOD)) { in sja1105_port_bridge_flags()
|
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch.c | 1662 if (flags.mask & BR_FLOOD) in dpaa2_switch_port_flood() 1663 port_priv->ucast_flood = !!(flags.val & BR_FLOOD); in dpaa2_switch_port_flood() 1672 if (flags.mask & ~(BR_LEARNING | BR_BCAST_FLOOD | BR_FLOOD | in dpaa2_switch_port_pre_bridge_flags() 1676 if (flags.mask & (BR_FLOOD | BR_MCAST_FLOOD)) { in dpaa2_switch_port_pre_bridge_flags() 1678 bool unicast = !!(flags.val & BR_FLOOD); in dpaa2_switch_port_pre_bridge_flags() 1706 if (flags.mask & (BR_BCAST_FLOOD | BR_FLOOD | BR_MCAST_FLOOD)) { in dpaa2_switch_port_bridge_flags()
|
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 154 err = prestera_port_uc_flood_set(port, br_port->flags & BR_FLOOD); in prestera_br_port_flags_set() 569 br_port->flags = BR_LEARNING | BR_FLOOD | BR_LEARNING_SYNC | in prestera_bridge_port_create() 1172 ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_PORT_LOCKED)) in prestera_port_obj_attr_set()
|
/linux-6.1.9/drivers/net/dsa/hirschmann/ |
D | hellcreek.c | 663 if (flags.mask & ~(BR_FLOOD | BR_MCAST_FLOOD)) in hellcreek_pre_bridge_flags() 675 if (flags.mask & BR_FLOOD) in hellcreek_bridge_flags() 677 !!(flags.val & BR_FLOOD)); in hellcreek_bridge_flags()
|
/linux-6.1.9/net/dsa/ |
D | port.c | 322 const unsigned long mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in dsa_port_inherit_brport_flags() 345 const unsigned long val = BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in dsa_port_clear_brport_flags() 346 const unsigned long mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in dsa_port_clear_brport_flags()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bridge.c | 288 if (attr->u.brport_flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD)) { in mlx5_esw_bridge_port_obj_attr_set()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 409 bridge_port->flags = BR_LEARNING | BR_FLOOD | BR_LEARNING_SYNC | in mlxsw_sp_bridge_port_create() 787 if (flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD)) in mlxsw_sp_port_attr_br_pre_flags_set() 805 if (flags.mask & BR_FLOOD) { in mlxsw_sp_port_attr_br_flags_set() 809 flags.val & BR_FLOOD); in mlxsw_sp_port_attr_br_flags_set() 1253 bridge_port->flags & BR_FLOOD); in mlxsw_sp_port_vlan_fid_join()
|
/linux-6.1.9/drivers/net/dsa/b53/ |
D | b53_common.c | 1991 if (flags.mask & ~(BR_FLOOD | BR_MCAST_FLOOD | BR_LEARNING)) in b53_br_flags_pre() 2002 if (flags.mask & BR_FLOOD) in b53_br_flags() 2004 !!(flags.val & BR_FLOOD)); in b53_br_flags()
|
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot.c | 2382 if (flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in ocelot_port_pre_bridge_flags() 2397 if (flags.mask & BR_FLOOD) in ocelot_port_bridge_flags() 2399 !!(flags.val & BR_FLOOD)); in ocelot_port_bridge_flags()
|
D | ocelot_net.c | 1248 flags.mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in ocelot_inherit_brport_flags() 1261 flags.mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in ocelot_clear_brport_flags()
|
/linux-6.1.9/drivers/net/dsa/ |
D | mt7530.c | 1167 if (flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in mt7530_port_pre_bridge_flags() 1185 if (flags.mask & BR_FLOOD) in mt7530_port_bridge_flags() 1187 flags.val & BR_FLOOD ? UNU_FFP(BIT(port)) : 0); in mt7530_port_bridge_flags()
|
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 6524 if (flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | in mv88e6xxx_port_pre_bridge_flags() 6530 if ((flags.mask & BR_FLOOD) && !ops->port_set_ucast_flood) in mv88e6xxx_port_pre_bridge_flags() 6557 if (flags.mask & BR_FLOOD) { in mv88e6xxx_port_bridge_flags() 6558 bool unicast = !!(flags.val & BR_FLOOD); in mv88e6xxx_port_bridge_flags()
|
/linux-6.1.9/net/core/ |
D | rtnetlink.c | 4808 IFLA_BRPORT_UNICAST_FLOOD, BR_FLOOD) || in ndo_dflt_bridge_getlink()
|