Home
last modified time | relevance | path

Searched refs:BR_FLOOD (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dif_bridge.h44 #define BR_FLOOD BIT(6) macro
45 #define BR_AUTO_MASK (BR_FLOOD | BR_LEARNING)
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c342 br_port->flags = BR_LEARNING | BR_FLOOD | BR_LEARNING_SYNC | in prestera_bridge_port_create()
407 err = prestera_hw_port_flood_set(port, br_port->flags & BR_FLOOD); in prestera_bridge_1d_port_join()
595 err = prestera_hw_port_flood_set(port, flags & BR_FLOOD); in prestera_port_attr_br_flags_set()
727 ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD)) in prestera_port_obj_attr_set()
917 err = prestera_hw_port_flood_set(port, br_port->flags & BR_FLOOD); in prestera_port_vlan_bridge_join()
/kernel/linux/linux-5.10/net/dsa/
Dport.c148 err = dsa_port_bridge_flags(dp, BR_FLOOD | BR_MCAST_FLOOD, NULL); in dsa_port_bridge_join()
341 (flags & ~(BR_FLOOD | BR_MCAST_FLOOD))) in dsa_port_pre_bridge_flags()
358 err = ds->ops->port_egress_floods(ds, port, flags & BR_FLOOD, in dsa_port_bridge_flags()
/kernel/linux/linux-5.10/net/bridge/
Dbr_switchdev.c58 #define BR_PORT_FLAGS_HW_OFFLOAD (BR_LEARNING | BR_FLOOD | \
Dbr_forward.c203 if (!(p->flags & BR_FLOOD)) in br_flood()
Dbr_sysfs_if.c229 BRPORT_ATTR_FLAG(unicast_flood, BR_FLOOD);
Dbr_if.c430 p->flags = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in new_nbp()
Dbr_netlink.c195 !!(p->flags & BR_FLOOD)) || in br_port_fill_attrs()
805 err = br_set_port_flag(p, tb, IFLA_BRPORT_UNICAST_FLOOD, BR_FLOOD); in br_setport()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c345 bridge_port->flags = BR_LEARNING | BR_FLOOD | BR_LEARNING_SYNC | in mlxsw_sp_bridge_port_create()
658 if (brport_flags & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD)) in mlxsw_sp_port_attr_br_pre_flags_set()
682 brport_flags & BR_FLOOD); in mlxsw_sp_port_attr_br_flags_set()
973 bridge_port->flags & BR_FLOOD); in mlxsw_sp_port_vlan_fid_join()
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.c919 if (flags & ~(BR_LEARNING | BR_FLOOD)) in dpaa2_switch_port_attr_br_flags_pre_set()
941 err = dpaa2_switch_port_set_flood(port_priv, !!(flags & BR_FLOOD)); in dpaa2_switch_port_attr_br_flags_set()
/kernel/linux/linux-5.10/net/core/
Drtnetlink.c4681 IFLA_BRPORT_UNICAST_FLOOD, BR_FLOOD) || in ndo_dflt_bridge_getlink()