Home
last modified time | relevance | path

Searched refs:BR_BCAST_FLOOD (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_switchdev.c114 if (flags.mask & BR_BCAST_FLOOD) in lan966x_port_bridge_flags()
116 !!(flags.val & BR_BCAST_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()
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_switchdev.c26 if (flags.mask & ~(BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD)) in sparx5_port_attr_pre_bridge_flags()
51 if (flags.mask & BR_BCAST_FLOOD) in sparx5_port_attr_bridge_flags()
52 sparx5_pgid_update_mask(port, PGID_BCAST, !!(flags.val & BR_BCAST_FLOOD)); in sparx5_port_attr_bridge_flags()
/openbmc/linux/include/linux/
H A Dif_bridge.h54 #define BR_BCAST_FLOOD BIT(14) macro
/openbmc/linux/net/bridge/
H A Dbr_forward.c223 if (!(p->flags & BR_BCAST_FLOOD) && skb->dev != br->dev) in br_flood()
H A Dbr_sysfs_if.c240 BRPORT_ATTR_FLAG(broadcast_flood, BR_BCAST_FLOOD);
H A Dbr_if.c441 p->flags = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in new_nbp()
H A Dbr_switchdev.c75 BR_MCAST_FLOOD | BR_BCAST_FLOOD | BR_PORT_LOCKED | \
H A Dbr_netlink.c257 !!(p->flags & BR_BCAST_FLOOD)) || in br_port_fill_attrs()
963 br_set_port_flag(p, tb, IFLA_BRPORT_BCAST_FLOOD, BR_BCAST_FLOOD); in br_setport()
/openbmc/linux/drivers/net/dsa/
H A Drzn1_a5psw.c388 BR_BCAST_FLOOD)) in a5psw_port_pre_bridge_flags()
428 if (flags.mask & BR_BCAST_FLOOD) { in a5psw_port_bridge_flags()
429 val = flags.val & BR_BCAST_FLOOD ? BIT(port) : 0; in a5psw_port_bridge_flags()
H A Dmt7530.c1387 BR_BCAST_FLOOD)) in mt7530_port_pre_bridge_flags()
1412 if (flags.mask & BR_BCAST_FLOOD) in mt7530_port_bridge_flags()
1414 flags.val & BR_BCAST_FLOOD ? BC_FFP(BIT(port)) : 0); in mt7530_port_bridge_flags()
/openbmc/linux/net/dsa/
H A Dport.c329 BR_BCAST_FLOOD | BR_PORT_LOCKED; in dsa_port_inherit_brport_flags()
351 const unsigned long val = BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in dsa_port_clear_brport_flags()
353 BR_BCAST_FLOOD | BR_PORT_LOCKED; in dsa_port_clear_brport_flags()
/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_main.c2967 if (flags.mask & BR_BCAST_FLOOD) { in sja1105_port_ucast_bcast_flood()
2968 if (flags.val & BR_BCAST_FLOOD) in sja1105_port_ucast_bcast_flood()
3023 BR_BCAST_FLOOD)) in sja1105_port_pre_bridge_flags()
3056 if (flags.mask & (BR_FLOOD | BR_BCAST_FLOOD)) { in sja1105_port_bridge_flags()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c1679 if (flags.mask & BR_BCAST_FLOOD) in dpaa2_switch_port_flood()
1680 port_priv->bcast_flood = !!(flags.val & BR_BCAST_FLOOD); in dpaa2_switch_port_flood()
1692 if (flags.mask & ~(BR_LEARNING | BR_BCAST_FLOOD | BR_FLOOD | in dpaa2_switch_port_pre_bridge_flags()
1726 if (flags.mask & (BR_BCAST_FLOOD | BR_FLOOD | BR_MCAST_FLOOD)) { in dpaa2_switch_port_bridge_flags()
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot.c2488 BR_BCAST_FLOOD)) in ocelot_port_pre_bridge_flags()
2510 if (flags.mask & BR_BCAST_FLOOD) in ocelot_port_bridge_flags()
2512 !!(flags.val & BR_BCAST_FLOOD)); in ocelot_port_bridge_flags()
H A Docelot_net.c1238 flags.mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in ocelot_inherit_brport_flags()
1251 flags.mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in ocelot_clear_brport_flags()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dchip.c2423 if (brport && !br_port_flag_is_set(brport, BR_BCAST_FLOOD)) in mv88e6xxx_broadcast_setup()
6552 BR_BCAST_FLOOD | BR_PORT_LOCKED | BR_PORT_MAB)) in mv88e6xxx_port_pre_bridge_flags()
6602 if (flags.mask & BR_BCAST_FLOOD) { in mv88e6xxx_port_bridge_flags()
6603 bool broadcast = !!(flags.val & BR_BCAST_FLOOD); in mv88e6xxx_port_bridge_flags()
/openbmc/linux/net/core/
H A Drtnetlink.c4952 IFLA_BRPORT_BCAST_FLOOD, BR_BCAST_FLOOD)) { in ndo_dflt_bridge_getlink()