Home
last modified time | relevance | path

Searched refs:BR_STATE_DISABLED (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.15/net/bridge/
Dbr_stp_timer.c22 if (p->state != BR_STATE_DISABLED && in br_is_designated_for_some_port()
53 if (p->state == BR_STATE_DISABLED) in br_message_age_timer_expired()
66 if (p->state == BR_STATE_DISABLED) in br_message_age_timer_expired()
Dbr_stp.c22 [BR_STATE_DISABLED] = "disabled",
75 return BR_STATE_DISABLED; in br_port_get_stp_state()
104 if (p->state == BR_STATE_DISABLED || in br_should_become_root_port()
317 if (p->state != BR_STATE_DISABLED && in br_designated_port_selection()
392 if (p->state != BR_STATE_DISABLED && in br_config_bpdu_generation()
427 if (p->state != BR_STATE_DISABLED && in br_make_blocking()
470 if (p->state == BR_STATE_DISABLED) in br_port_state_selection()
Dbr_stp_if.c75 if (p->state != BR_STATE_DISABLED) in br_stp_disable_bridge()
106 br_set_state(p, BR_STATE_DISABLED); in br_stp_disable_port()
291 if (p->state != BR_STATE_DISABLED && in br_stp_set_bridge_priority()
Dbr_mrp.c455 BR_STATE_FORWARDING : BR_STATE_DISABLED; in br_mrp_del_impl()
467 BR_STATE_FORWARDING : BR_STATE_DISABLED; in br_mrp_del_impl()
479 BR_STATE_FORWARDING : BR_STATE_DISABLED; in br_mrp_del_impl()
785 BR_STATE_FORWARDING : BR_STATE_DISABLED; in br_mrp_set_in_role()
1083 if (p->state == BR_STATE_DISABLED) in br_mrp_rcv()
Dbr_if.c79 if (p->state == BR_STATE_DISABLED) { in br_port_carrier_check()
84 if (p->state != BR_STATE_DISABLED) { in br_port_carrier_check()
433 br_set_state(p, BR_STATE_DISABLED); in new_nbp()
Dbr_stp_bpdu.c175 if (p->state == BR_STATE_DISABLED) in br_stp_rcv()
Dbr_input.c81 if (!p || p->state == BR_STATE_DISABLED) in br_handle_frame_finish()
Dbr_mdb.c1262 if (p->state == BR_STATE_DISABLED) { in br_mdb_add()
1323 if (p->key.port->state == BR_STATE_DISABLED) in __br_mdb_del()
1361 if (!p || p->br != br || p->state == BR_STATE_DISABLED) in br_mdb_del()
Dbr_cfm.c385 if (port->state == BR_STATE_DISABLED) in br_cfm_frame_rx()
Dbr_private.h1177 return pmctx->port->state == BR_STATE_DISABLED || in br_multicast_port_ctx_state_disabled()
1180 pmctx->vlan->state == BR_STATE_DISABLED)); in br_multicast_port_ctx_state_disabled()
/Linux-v5.15/include/linux/
Dif_bridge.h184 return BR_STATE_DISABLED; in br_port_get_stp_state()
/Linux-v5.15/drivers/net/dsa/microchip/
Dksz9477.c410 case BR_STATE_DISABLED: in ksz9477_port_stp_state_set()
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()
1332 ksz9477_port_stp_state_set(ds, i, BR_STATE_DISABLED); in ksz9477_config_cpu_port()
Dksz8795.c1022 case BR_STATE_DISABLED: in ksz8_port_stp_state_set()
1030 p->stp_state == BR_STATE_DISABLED) in ksz8_port_stp_state_set()
1054 p->stp_state == BR_STATE_DISABLED) in ksz8_port_stp_state_set()
1409 ksz8_port_stp_state_set(ds, i, BR_STATE_DISABLED); in ksz8_config_cpu_port()
/Linux-v5.15/drivers/net/dsa/xrs700x/
Dxrs700x.c263 case BR_STATE_DISABLED: in xrs700x_port_stp_state_set()
390 xrs700x_port_stp_state_set(ds, port, BR_STATE_DISABLED); in xrs700x_port_setup()
/Linux-v5.15/include/uapi/linux/
Dif_bridge.h49 #define BR_STATE_DISABLED 0 macro
/Linux-v5.15/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c401 br_port->stp_state = BR_STATE_DISABLED; in prestera_bridge_port_create()
549 case BR_STATE_DISABLED: in prestera_port_vid_stp_set()
/Linux-v5.15/drivers/net/ethernet/ti/
Dam65-cpsw-switchdev.c38 case BR_STATE_DISABLED: in am65_cpsw_port_stp_state_set()
Dcpsw_switchdev.c40 case BR_STATE_DISABLED: in cpsw_port_stp_state_set()
/Linux-v5.15/net/dsa/
Dport.c100 (state == BR_STATE_DISABLED || in dsa_port_set_state()
162 dsa_port_set_state_now(dp, BR_STATE_DISABLED, false); in dsa_port_disable_rt()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c357 bridge_port->stp_state = BR_STATE_DISABLED; in mlxsw_sp_bridge_port_create()
1100 mlxsw_sp_port_vid_stp_set(mlxsw_sp_port, vid, BR_STATE_DISABLED); in mlxsw_sp_port_vlan_bridge_join()
1129 mlxsw_sp_port_vid_stp_set(mlxsw_sp_port, vid, BR_STATE_DISABLED); in mlxsw_sp_port_vlan_bridge_leave()
/Linux-v5.15/drivers/net/dsa/
Dlan9303-core.c1141 case BR_STATE_DISABLED: in lan9303_port_stp_state_set()
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/
Dport.c811 case BR_STATE_DISABLED: in mv88e6xxx_port_set_state()
/Linux-v5.15/drivers/net/ethernet/rocker/
Drocker_ofdpa.c2104 case BR_STATE_DISABLED: in ofdpa_port_stp_update()
2175 BR_STATE_DISABLED); in ofdpa_port_fwd_disable()
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c336 case BR_STATE_DISABLED: in br_stp_state_to_dpsw()
1636 case BR_STATE_DISABLED: in dpaa2_switch_port_attr_stp_state_set()
/Linux-v5.15/drivers/net/dsa/hirschmann/
Dhellcreek.c498 case BR_STATE_DISABLED: in hellcreek_port_stp_state_set()

12