Home
last modified time | relevance | path

Searched refs:brport_flags (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker.h106 unsigned long brport_flags);
H A Drocker_ofdpa.c201 u32 brport_flags; member
2427 ofdpa_port->brport_flags = BR_LEARNING; in ofdpa_port_pre_init()
2438 !!(ofdpa_port->brport_flags & BR_LEARNING)); in ofdpa_port_init()
2492 unsigned long brport_flags) in ofdpa_port_attr_bridge_flags_set() argument
2498 orig_flags = ofdpa_port->brport_flags; in ofdpa_port_attr_bridge_flags_set()
2499 ofdpa_port->brport_flags = brport_flags; in ofdpa_port_attr_bridge_flags_set()
2501 if ((orig_flags ^ ofdpa_port->brport_flags) & BR_LEARNING) in ofdpa_port_attr_bridge_flags_set()
2503 !!(ofdpa_port->brport_flags & BR_LEARNING)); in ofdpa_port_attr_bridge_flags_set()
H A Drocker_main.c2050 attr->u.brport_flags); in rocker_port_attr_set()
2054 attr->u.brport_flags); in rocker_port_attr_set()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-switchdev.c99 attr->u.brport_flags); in am65_cpsw_port_attr_set()
107 attr->u.brport_flags); in am65_cpsw_port_attr_set()
H A Dcpsw_switchdev.c101 attr->u.brport_flags); in cpsw_port_attr_set()
109 attr->u.brport_flags); in cpsw_port_attr_set()
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_switchdev.c220 lan966x_port_bridge_flags(port, attr->u.brport_flags); in lan966x_port_attr_set()
223 err = lan966x_port_pre_bridge_flags(port, attr->u.brport_flags); in lan966x_port_attr_set()
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_switchdev.c134 attr->u.brport_flags); in sparx5_port_attr_set()
136 sparx5_port_attr_bridge_flags(port, attr->u.brport_flags); in sparx5_port_attr_set()
/openbmc/linux/net/bridge/
H A Dbr_switchdev.c96 attr.u.brport_flags.val = flags; in br_switchdev_set_port_flag()
97 attr.u.brport_flags.mask = mask; in br_switchdev_set_port_flag()
/openbmc/linux/include/net/
H A Dswitchdev.h60 struct switchdev_brport_flags brport_flags; /* PORT_BRIDGE_FLAGS */ member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbridge.c303 if (attr->u.brport_flags.mask & ~(BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD)) { in mlx5_esw_bridge_port_obj_attr_set()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_switchdev.c1171 if (attr->u.brport_flags.mask & in prestera_port_obj_attr_set()
1177 attr->u.brport_flags); in prestera_port_obj_attr_set()
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_net.c1061 attr->u.brport_flags); in ocelot_port_attr_set()
1064 ocelot_port_bridge_flags(ocelot, port, attr->u.brport_flags); in ocelot_port_attr_set()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c1754 err = dpaa2_switch_port_pre_bridge_flags(netdev, attr->u.brport_flags, extack); in dpaa2_switch_port_attr_set()
1757 err = dpaa2_switch_port_bridge_flags(netdev, attr->u.brport_flags, extack); in dpaa2_switch_port_attr_set()
/openbmc/linux/net/dsa/
H A Dslave.c634 ret = dsa_port_pre_bridge_flags(dp, attr->u.brport_flags, in dsa_slave_port_attr_set()
641 ret = dsa_port_bridge_flags(dp, attr->u.brport_flags, extack); in dsa_slave_port_attr_set()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c1297 attr->u.brport_flags, in mlxsw_sp_port_attr_set()
1303 attr->u.brport_flags); in mlxsw_sp_port_attr_set()