Searched refs:brport_flags (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/drivers/net/ethernet/rocker/ |
H A D | rocker.h | 106 unsigned long brport_flags);
|
H A D | rocker_ofdpa.c | 201 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 D | rocker_main.c | 2050 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 D | am65-cpsw-switchdev.c | 99 attr->u.brport_flags); in am65_cpsw_port_attr_set() 107 attr->u.brport_flags); in am65_cpsw_port_attr_set()
|
H A D | cpsw_switchdev.c | 101 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 D | lan966x_switchdev.c | 220 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 D | sparx5_switchdev.c | 134 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 D | br_switchdev.c | 96 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 D | switchdev.h | 60 struct switchdev_brport_flags brport_flags; /* PORT_BRIDGE_FLAGS */ member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | bridge.c | 303 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 D | prestera_switchdev.c | 1171 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 D | ocelot_net.c | 1061 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 D | dpaa2-switch.c | 1754 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 D | slave.c | 634 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 D | spectrum_switchdev.c | 1297 attr->u.brport_flags, in mlxsw_sp_port_attr_set() 1303 attr->u.brport_flags); in mlxsw_sp_port_attr_set()
|