Searched refs:BR_FLOOD (Results 1 – 8 of 8) sorted by relevance
42 #define BR_FLOOD BIT(6) macro43 #define BR_AUTO_MASK (BR_FLOOD | BR_LEARNING)
71 (mlxsw_sp_port->uc_flood ? BR_FLOOD : 0); in mlxsw_sp_port_attr_get()193 unsigned long uc_flood = mlxsw_sp_port->uc_flood ? BR_FLOOD : 0; in mlxsw_sp_port_attr_br_flags_set()200 if ((uc_flood ^ brport_flags) & BR_FLOOD) { in mlxsw_sp_port_attr_br_flags_set()207 mlxsw_sp_port->uc_flood = brport_flags & BR_FLOOD ? 1 : 0; in mlxsw_sp_port_attr_br_flags_set()
209 if (unicast && !(p->flags & BR_FLOOD)) in br_flood()
172 BRPORT_ATTR_FLAG(unicast_flood, BR_FLOOD);
337 p->flags = BR_LEARNING | BR_FLOOD; in new_nbp()
175 nla_put_u8(skb, IFLA_BRPORT_UNICAST_FLOOD, !!(p->flags & BR_FLOOD)) || in br_port_fill_attrs()630 br_set_port_flag(p, tb, IFLA_BRPORT_UNICAST_FLOOD, BR_FLOOD); in br_setport()
764 u32 mask = BR_LEARNING | BR_LEARNING_SYNC | BR_FLOOD; in switchdev_port_bridge_getlink()836 err = switchdev_port_br_setflag(dev, attr, BR_FLOOD); in switchdev_port_br_setlink_protinfo()
3077 IFLA_BRPORT_UNICAST_FLOOD, BR_FLOOD) || in ndo_dflt_bridge_getlink()