Home
last modified time | relevance | path

Searched refs:BR_PORT_LOCKED (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/include/linux/
Dif_bridge.h61 #define BR_PORT_LOCKED BIT(21) macro
/linux-6.6.21/net/bridge/
Dbr_input.c108 if (p->flags & BR_PORT_LOCKED) { in br_handle_frame_finish()
Dbr_netlink.c282 nla_put_u8(skb, IFLA_BRPORT_LOCKED, !!(p->flags & BR_PORT_LOCKED)) || in br_port_fill_attrs()
968 br_set_port_flag(p, tb, IFLA_BRPORT_LOCKED, BR_PORT_LOCKED); in br_setport()
974 (!(p->flags & BR_PORT_LOCKED) || !(p->flags & BR_LEARNING))) { in br_setport()
Dbr_switchdev.c75 BR_MCAST_FLOOD | BR_BCAST_FLOOD | BR_PORT_LOCKED | \
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c875 BR_PORT_LOCKED | BR_PORT_MAB)) { in mlxsw_sp_port_attr_br_pre_flags_set()
880 if ((flags.mask & BR_PORT_LOCKED) && is_vlan_dev(orig_dev)) { in mlxsw_sp_port_attr_br_pre_flags_set()
885 if ((flags.mask & BR_PORT_LOCKED) && vlan_uses_dev(orig_dev)) { in mlxsw_sp_port_attr_br_pre_flags_set()
922 if (flags.mask & BR_PORT_LOCKED) { in mlxsw_sp_port_attr_br_flags_set()
924 flags.val & BR_PORT_LOCKED); in mlxsw_sp_port_attr_br_flags_set()
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c167 br_port->flags & BR_PORT_LOCKED); in prestera_br_port_flags_set()
1172 ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD | BR_PORT_LOCKED)) in prestera_port_obj_attr_set()
/linux-6.6.21/net/dsa/
Dport.c329 BR_BCAST_FLOOD | BR_PORT_LOCKED; in dsa_port_inherit_brport_flags()
353 BR_BCAST_FLOOD | BR_PORT_LOCKED; in dsa_port_clear_brport_flags()
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/
Dchip.c6446 BR_BCAST_FLOOD | BR_PORT_LOCKED | BR_PORT_MAB)) in mv88e6xxx_port_pre_bridge_flags()
6510 if (flags.mask & BR_PORT_LOCKED) { in mv88e6xxx_port_bridge_flags()
6511 bool locked = !!(flags.val & BR_PORT_LOCKED); in mv88e6xxx_port_bridge_flags()