Searched refs:stp_state (Results 1 - 25 of 32) sorted by last modified time

12

/linux-master/drivers/net/dsa/
H A Dmt7530.c1291 u32 stp_state; local
1295 stp_state = MT7530_STP_DISABLED;
1298 stp_state = MT7530_STP_BLOCKING;
1301 stp_state = MT7530_STP_LISTENING;
1304 stp_state = MT7530_STP_LEARNING;
1308 stp_state = MT7530_STP_FORWARDING;
1313 FID_PST(FID_BRIDGED, stp_state));
H A Dlantiq_gswip.c1336 u32 stp_state; local
1345 stp_state = GSWIP_PCE_PCTRL_0_PSTATE_LISTEN;
1348 stp_state = GSWIP_PCE_PCTRL_0_PSTATE_LEARNING;
1351 stp_state = GSWIP_PCE_PCTRL_0_PSTATE_FORWARDING;
1360 gswip_switch_mask(priv, GSWIP_PCE_PCTRL_0_PSTATE_MASK, stp_state,
/linux-master/net/dsa/
H A Duser.c610 ret = dsa_port_set_state(dp, attr->u.stp_state, true);
H A Dtag_8021q.c485 if (dp->stp_state != BR_STATE_LEARNING &&
486 dp->stp_state != BR_STATE_FORWARDING)
H A Dtag.h126 if (dp->stp_state != BR_STATE_LEARNING &&
127 dp->stp_state != BR_STATE_FORWARDING)
H A Dport.c155 if ((dp->stp_state == BR_STATE_LEARNING ||
156 dp->stp_state == BR_STATE_FORWARDING) &&
163 dp->stp_state = state;
941 (dp->stp_state == BR_STATE_LEARNING ||
942 dp->stp_state == BR_STATE_FORWARDING))
/linux-master/include/net/
H A Ddsa.h271 u8 stp_state; member in struct:dsa_port
H A Dswitchdev.h58 u8 stp_state; /* PORT_STP_STATE */ member in union:switchdev_attr::__anon174
/linux-master/drivers/net/ethernet/rocker/
H A Drocker_main.c2045 attr->u.stp_state);
H A Drocker_ofdpa.c200 int stp_state; member in struct:ofdpa_port
1506 if (ofdpa_port->stp_state == BR_STATE_LEARNING ||
1507 ofdpa_port->stp_state == BR_STATE_FORWARDING) {
1956 if (ofdpa_port->stp_state == BR_STATE_LEARNING ||
1957 ofdpa_port->stp_state == BR_STATE_FORWARDING)
2065 if (ofdpa_port->stp_state != BR_STATE_LEARNING &&
2066 ofdpa_port->stp_state != BR_STATE_FORWARDING)
2097 prev_state = ofdpa_port->stp_state;
2099 if (ofdpa_port->stp_state == state)
2102 ofdpa_port->stp_state
[all...]
/linux-master/drivers/net/ethernet/mscc/
H A Docelot.c1565 if (!ocelot_port || ocelot_port->stp_state != BR_STATE_FORWARDING)
1578 if (ocelot_port->stp_state == BR_STATE_FORWARDING &&
1745 ocelot_port->stp_state = state;
H A Docelot_net.c1047 ocelot_port_attr_stp_state_set(ocelot, port, attr->u.stp_state);
1263 u8 stp_state; local
1267 stp_state = br_port_get_stp_state(brport_dev);
1268 ocelot_bridge_stp_state_set(ocelot, port, stp_state);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c65 u8 stp_state; member in struct:mlxsw_sp_bridge_port
493 bridge_port->stp_state = br_port_get_stp_state(brport_dev);
706 bridge_port->stp_state = state;
714 bridge_port->stp_state);
1292 attr->u.stp_state);
1448 bridge_port->stp_state);
4075 return bridge_port->stp_state;
H A Dspectrum.h688 enum mlxsw_reg_spms_state mlxsw_sp_stp_spms_state(u8 stp_state);
H A Dspectrum_span.c305 u8 stp_state; local
322 stp_state = mlxsw_sp_bridge_port_stp_state(bridge_port);
323 spms_state = mlxsw_sp_stp_spms_state(stp_state);
/linux-master/drivers/net/ethernet/adi/
H A Dadin1110.c1315 attr->u.stp_state);
/linux-master/drivers/net/dsa/qca/
H A Dqca8k-common.c587 u32 stp_state; local
591 stp_state = QCA8K_PORT_LOOKUP_STATE_DISABLED;
594 stp_state = QCA8K_PORT_LOOKUP_STATE_BLOCKING;
597 stp_state = QCA8K_PORT_LOOKUP_STATE_LISTENING;
600 stp_state = QCA8K_PORT_LOOKUP_STATE_LEARNING;
607 stp_state = QCA8K_PORT_LOOKUP_STATE_FORWARD;
612 QCA8K_PORT_LOOKUP_STATE_MASK, stp_state);
/linux-master/drivers/net/dsa/microchip/
H A Dksz_common.c1948 if (other_p->stp_state != BR_STATE_FORWARDING)
1957 if (p->stp_state == BR_STATE_FORWARDING &&
1975 if (third_p->stp_state != BR_STATE_FORWARDING)
2721 p->stp_state = state;
2769 ksz_port_stp_state_set(ds, port, p->stp_state);
H A Dksz_common.h114 int stp_state; member in struct:ksz_port
/linux-master/tools/testing/selftests/netfilter/
H A Dbridge_netfilter.sh87 ip -net ${ns0} link add br0 type bridge stp_state 0 forward_delay 0 nf_call_iptables 1 nf_call_ip6tables 1 nf_call_arptables 1
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c356 if (!netif_running(port_priv->netdev) || state == port_priv->stp_state)
374 port_priv->stp_state = state;
1743 attr->u.stp_state);
3306 port_priv->stp_state = BR_STATE_FORWARDING;
H A Ddpaa2-switch.h151 u8 stp_state; member in struct:ethsw_port_priv
/linux-master/include/soc/mscc/
H A Docelot.h793 u8 stp_state; member in struct:ocelot_port
/linux-master/drivers/net/ethernet/micrel/
H A Dksz884x.c1080 * @stp_state: Current Spanning Tree Protocol state.
1088 int stp_state; member in struct:ksz_port_cfg
2502 hw->ksz_switch->port_cfg[port].stp_state = state;
4954 if (STP_STATE_FORWARDING == sw->port_cfg[port].stp_state)
/linux-master/net/bridge/
H A Dbr_sysfs_br.c169 static DEVICE_ATTR_RW(stp_state);

Completed in 448 milliseconds

12