/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/ |
D | ethsw.h | 52 u8 stp_state; member
|
D | ethsw.c | 210 if (!netif_running(port_priv->netdev) || state == port_priv->stp_state) in dpaa2_switch_port_set_stp_state() 227 port_priv->stp_state = state; in dpaa2_switch_port_set_stp_state() 956 attr->u.stp_state); in dpaa2_switch_port_attr_set() 1706 port_priv->stp_state = BR_STATE_FORWARDING; in dpaa2_switch_probe_port()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 53 u8 stp_state; member 344 br_port->stp_state = BR_STATE_DISABLED; in prestera_bridge_port_create() 697 br_port->stp_state = state; in presterar_port_attr_stp_state_set() 703 prestera_port_bridge_vlan_stp_set(port, br_vlan, br_port->stp_state); in presterar_port_attr_stp_state_set() 707 prestera_port_vid_stp_set(port, vid, br_port->stp_state); in presterar_port_attr_stp_state_set() 723 attr->u.stp_state); in prestera_port_obj_attr_set() 925 err = prestera_port_vid_stp_set(port, vid, br_port->stp_state); in prestera_port_vlan_bridge_join()
|
/kernel/linux/linux-5.10/drivers/net/dsa/ |
D | qca8k.c | 1114 u32 stp_state; in qca8k_port_stp_state_set() local 1118 stp_state = QCA8K_PORT_LOOKUP_STATE_DISABLED; in qca8k_port_stp_state_set() 1121 stp_state = QCA8K_PORT_LOOKUP_STATE_BLOCKING; in qca8k_port_stp_state_set() 1124 stp_state = QCA8K_PORT_LOOKUP_STATE_LISTENING; in qca8k_port_stp_state_set() 1127 stp_state = QCA8K_PORT_LOOKUP_STATE_LEARNING; in qca8k_port_stp_state_set() 1131 stp_state = QCA8K_PORT_LOOKUP_STATE_FORWARD; in qca8k_port_stp_state_set() 1136 QCA8K_PORT_LOOKUP_STATE_MASK, stp_state); in qca8k_port_stp_state_set()
|
D | mt7530.c | 1026 u32 stp_state; in mt7530_stp_state_set() local 1030 stp_state = MT7530_STP_DISABLED; in mt7530_stp_state_set() 1033 stp_state = MT7530_STP_BLOCKING; in mt7530_stp_state_set() 1036 stp_state = MT7530_STP_LISTENING; in mt7530_stp_state_set() 1039 stp_state = MT7530_STP_LEARNING; in mt7530_stp_state_set() 1043 stp_state = MT7530_STP_FORWARDING; in mt7530_stp_state_set() 1047 mt7530_rmw(priv, MT7530_SSP_P(port), FID_PST_MASK, stp_state); in mt7530_stp_state_set()
|
D | lantiq_gswip.c | 1307 u32 stp_state; in gswip_port_stp_state_set() local 1316 stp_state = GSWIP_PCE_PCTRL_0_PSTATE_LISTEN; in gswip_port_stp_state_set() 1319 stp_state = GSWIP_PCE_PCTRL_0_PSTATE_LEARNING; in gswip_port_stp_state_set() 1322 stp_state = GSWIP_PCE_PCTRL_0_PSTATE_FORWARDING; in gswip_port_stp_state_set() 1331 gswip_switch_mask(priv, GSWIP_PCE_PCTRL_0_PSTATE_MASK, stp_state, in gswip_port_stp_state_set()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 200 int stp_state; member 1506 if (ofdpa_port->stp_state == BR_STATE_LEARNING || in ofdpa_port_vlan_l2_groups() 1507 ofdpa_port->stp_state == BR_STATE_FORWARDING) { in ofdpa_port_vlan_l2_groups() 1955 if (ofdpa_port->stp_state == BR_STATE_LEARNING || in ofdpa_port_fdb_flush() 1956 ofdpa_port->stp_state == BR_STATE_FORWARDING) in ofdpa_port_fdb_flush() 2064 if (ofdpa_port->stp_state != BR_STATE_LEARNING && in ofdpa_port_fwding() 2065 ofdpa_port->stp_state != BR_STATE_FORWARDING) in ofdpa_port_fwding() 2096 prev_state = ofdpa_port->stp_state; in ofdpa_port_stp_update() 2098 if (ofdpa_port->stp_state == state) in ofdpa_port_stp_update() 2101 ofdpa_port->stp_state = state; in ofdpa_port_stp_update() [all …]
|
/kernel/linux/linux-5.10/net/dsa/ |
D | port.c | 61 if ((dp->stp_state == BR_STATE_LEARNING || in dsa_port_set_state() 62 dp->stp_state == BR_STATE_FORWARDING) && in dsa_port_set_state() 69 dp->stp_state = state; in dsa_port_set_state()
|
D | slave.c | 279 ret = dsa_port_set_state(dp, attr->u.stp_state, trans); in dsa_slave_port_attr_set()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | cpsw_switchdev.c | 109 ret = cpsw_port_stp_state_set(priv, trans, attr->u.stp_state); in cpsw_port_attr_set() 110 dev_dbg(priv->dev, "stp state: %u\n", attr->u.stp_state); in cpsw_port_attr_set()
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_mrp_switchdev.c | 177 .u.stp_state = state, in br_mrp_port_switchdev_set_state()
|
D | br_stp.c | 35 .u.stp_state = state, in br_set_state()
|
D | br_sysfs_br.c | 138 static DEVICE_ATTR_RW(stp_state);
|
/kernel/linux/linux-5.10/include/net/ |
D | switchdev.h | 56 u8 stp_state; /* PORT_STP_STATE */ member
|
D | dsa.h | 215 u8 stp_state; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 63 u8 stp_state; member 344 bridge_port->stp_state = BR_STATE_DISABLED; in mlxsw_sp_bridge_port_create() 549 bridge_port->stp_state = state; in mlxsw_sp_port_attr_stp_state_set() 557 bridge_port->stp_state); in mlxsw_sp_port_attr_stp_state_set() 908 attr->u.stp_state); in mlxsw_sp_port_attr_set() 1059 bridge_port->stp_state); in mlxsw_sp_port_vlan_bridge_join() 3450 return bridge_port->stp_state; in mlxsw_sp_bridge_port_stp_state()
|
D | spectrum_span.c | 304 u8 stp_state; in mlxsw_sp_span_entry_bridge() local 321 stp_state = mlxsw_sp_bridge_port_stp_state(bridge_port); in mlxsw_sp_span_entry_bridge() 322 spms_state = mlxsw_sp_stp_spms_state(stp_state); in mlxsw_sp_span_entry_bridge()
|
D | spectrum.h | 591 enum mlxsw_reg_spms_state mlxsw_sp_stp_spms_state(u8 stp_state);
|
/kernel/linux/linux-5.10/drivers/net/dsa/microchip/ |
D | ksz8795.c | 700 p->stp_state == BR_STATE_DISABLED) in ksz8795_port_stp_state_set() 724 p->stp_state == BR_STATE_DISABLED) in ksz8795_port_stp_state_set() 733 p->stp_state = state; in ksz8795_port_stp_state_set()
|
D | ksz9477.c | 418 p->stp_state == BR_STATE_DISABLED) in ksz9477_port_stp_state_set() 444 p->stp_state == BR_STATE_DISABLED) in ksz9477_port_stp_state_set() 453 p->stp_state = state; in ksz9477_port_stp_state_set()
|
D | ksz_common.h | 31 int stp_state; member
|
D | ksz_common.c | 36 if (p->stp_state == BR_STATE_FORWARDING && in ksz_update_port_member()
|
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/ti/ |
D | cpsw_switchdev.rst | 127 ip link set dev BRDEV type bridge stp_state 1/0
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 787 attr->u.stp_state); in ocelot_port_attr_set()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1156 int stp_state; member 2814 hw->ksz_switch->port_cfg[port].stp_state = state; in port_set_stp_state() 5328 if (STP_STATE_FORWARDING == sw->port_cfg[port].stp_state) in bridge_change()
|