Home
last modified time | relevance | path

Searched refs:port_state (Results 1 – 22 of 22) sorted by relevance

/drivers/scsi/lpfc/
Dlpfc_vport.c69 vport->port_state = LPFC_VPORT_FAILED; in lpfc_vport_set_state()
72 vport->port_state = LPFC_VPORT_UNKNOWN; in lpfc_vport_set_state()
244 ((vport->port_state > LPFC_VPORT_FAILED) && in lpfc_discovery_wait()
245 (vport->port_state < LPFC_VPORT_READY))) { in lpfc_discovery_wait()
251 vport->vpi, vport->port_state, in lpfc_discovery_wait()
261 vport->vpi, vport->port_state, in lpfc_discovery_wait()
274 vport->vpi, vport->port_state, in lpfc_discovery_wait()
545 vport->port_state > LPFC_VPORT_FAILED && in lpfc_vport_delete()
546 vport->port_state < LPFC_VPORT_READY) { in lpfc_vport_delete()
550 if (vport->port_state > LPFC_VPORT_FAILED && in lpfc_vport_delete()
[all …]
Dlpfc_hbadisc.c701 vport->port_state, vport->fc_ns_retry, vport->fc_flag); in lpfc_linkdown_port()
871 mb->mbxStatus, vport->port_state); in lpfc_mbx_cmpl_clear_la()
939 if (vport->port_state != LPFC_FLOGI) { in lpfc_mbx_cmpl_local_config_link()
948 pmb->mb.mbxStatus, vport->port_state); in lpfc_mbx_cmpl_local_config_link()
955 vport->port_state); in lpfc_mbx_cmpl_local_config_link()
975 mb->mbxStatus, vport->port_state); in lpfc_mbx_cmpl_read_sparam()
1125 vport->port_state = LPFC_LOCAL_CFG_LINK; in lpfc_mbx_process_link_up()
1138 vport->port_state, sparam_mbox, cfglink_mbox); in lpfc_mbx_process_link_up()
1187 mb->mbxStatus, vport->port_state); in lpfc_mbx_cmpl_read_la()
1246 phba->pport->port_state, vport->fc_flag); in lpfc_mbx_cmpl_read_la()
[all …]
Dlpfc_els.c86 if (vport->port_state >= LPFC_VPORT_READY || in lpfc_els_chk_latt()
100 phba->pport->port_state); in lpfc_els_chk_latt()
266 vport->port_state); in lpfc_prep_els_iocb()
332 vport->port_state = LPFC_FABRIC_CFG_LINK; in lpfc_issue_fabric_reglogin()
675 vport->port_state); in lpfc_cmpl_els_flogi()
719 if (vport->port_state == LPFC_FLOGI) { in lpfc_cmpl_els_flogi()
922 vport->port_state = LPFC_FLOGI; in lpfc_initial_flogi()
1024 vport->fc_flag, vport->port_state); in lpfc_more_plogi()
1619 if (vport->port_state < LPFC_VPORT_READY) { in lpfc_adisc_done()
1636 vport->port_state = LPFC_VPORT_READY; in lpfc_adisc_done()
[all …]
Dlpfc_ct.c329 vport->port_state); in lpfc_gen_req()
674 if (vport->port_state >= LPFC_DISC_AUTH) { in lpfc_cmpl_ct_cmd_gid_ft()
798 if (vport->port_state >= LPFC_DISC_AUTH) { in lpfc_cmpl_ct_cmd_gff_id()
1141 if (vport->port_state < LPFC_NS_QRY) in lpfc_ns_cmd()
1142 vport->port_state = LPFC_NS_QRY; in lpfc_ns_cmd()
1351 vport->fc_flag, vport->port_state, cmdcode); in lpfc_fdmi_cmd()
Dlpfc_sli.c57 phba->pport->port_state, \
1227 pmb->vport->port_state); in lpfc_sli_handle_mb_event()
2468 phba->pport->port_state = LPFC_VPORT_UNKNOWN; in lpfc_sli_brdready()
2592 phba->pport->port_state, psli->sli_flag); in lpfc_sli_brdkill()
2677 phba->pport->port_state, psli->sli_flag); in lpfc_sli_brdreset()
2744 phba->pport->port_state, psli->sli_flag); in lpfc_sli_brdrestart()
2758 if (phba->pport->port_state) in lpfc_sli_brdrestart()
2847 phba->pport->port_state = LPFC_VPORT_UNKNOWN; in lpfc_sli_chipset_init()
3020 phba->pport->port_state = LPFC_VPORT_UNKNOWN; in lpfc_sli_config_port()
3259 phba->pport->port_state, in lpfc_mbox_timeout_handler()
[all …]
Dlpfc.h273 enum discovery_state port_state; member
Dlpfc_nportdisc.c258 if (vport->port_state <= LPFC_FLOGI) { in lpfc_rcv_plogi()
1271 did, mb->mbxStatus, vport->port_state); in lpfc_cmpl_reglogin_reglogin_issue()
Dlpfc_attr.c402 switch (vport->port_state) { in lpfc_link_state_show()
3921 if (vport->port_state == LPFC_VPORT_READY) in lpfc_set_vport_symbolic_name()
Dlpfc_scsi.c2465 while (rport->port_state == FC_PORTSTATE_BLOCKED) { in lpfc_block_error_handler()
Dlpfc_init.c2183 if (vport->port_state != LPFC_VPORT_READY) in lpfc_scan_finished()
/drivers/scsi/
Dscsi_transport_fc.c148 fc_enum_name_search(port_state, fc_port_state, fc_port_state_names)
378 fc_host->port_state = FC_PORTSTATE_UNKNOWN; in fc_host_setup()
669 !((rport->port_state == FC_PORTSTATE_BLOCKED) || \
670 (rport->port_state == FC_PORTSTATE_DELETED) || \
671 (rport->port_state == FC_PORTSTATE_NOTPRESENT))) \
687 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || \
688 (rport->port_state == FC_PORTSTATE_DELETED) || \
689 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) \
818 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || in store_fc_rport_dev_loss_tmo()
819 (rport->port_state == FC_PORTSTATE_DELETED) || in store_fc_rport_dev_loss_tmo()
[all …]
/drivers/net/bonding/
Dbond_3ad.c468 partner->port_state = lacpdu->actor_state; in __record_pdu()
475 partner->port_state |= AD_STATE_SYNCHRONIZATION; in __record_pdu()
477 partner->port_state &= ~AD_STATE_SYNCHRONIZATION; in __record_pdu()
526 … || (lacpdu->actor_state & AD_STATE_AGGREGATION) != (partner->port_state & AD_STATE_AGGREGATION)) { in __update_selected()
557 || (admin->port_state & AD_STATE_AGGREGATION) in __update_default_selected()
558 != (oper->port_state & AD_STATE_AGGREGATION)) { in __update_default_selected()
799 lacpdu->partner_state = partner->port_state; in __update_lacpdu_from_port()
946 …if ((port->sm_vars & AD_PORT_SELECTED) && (port->partner_oper.port_state & AD_STATE_SYNCHRONIZATIO… in ad_mux_machine()
958 !(port->partner_oper.port_state & AD_STATE_SYNCHRONIZATION) in ad_mux_machine()
1102 port->partner_oper.port_state &= ~AD_STATE_AGGREGATION; in ad_rx_machine()
[all …]
Dbond_3ad.h201 u16 port_state; member
/drivers/infiniband/hw/ehca/
Dehca_sqp.c73 shca->sport[port - 1].port_state = IB_PORT_DOWN; in ehca_define_sqp()
106 shca->sport[port - 1].port_state != IB_PORT_ACTIVE && in ehca_define_sqp()
Dehca_irq.c400 sport->port_state = IB_PORT_ACTIVE; in parse_ec()
405 sport->port_state = IB_PORT_DOWN; in parse_ec()
419 sport->port_state = IB_PORT_DOWN; in parse_ec()
423 sport->port_state = IB_PORT_ACTIVE; in parse_ec()
Dehca_classes.h103 enum ib_port_state port_state; member
Dehca_main.c809 shca->sport[0].port_state = IB_PORT_DOWN; in ehca_probe()
820 shca->sport[1].port_state = IB_PORT_DOWN; in ehca_probe()
Dehca_qp.c2206 shca->sport[port_num - 1].port_state = IB_PORT_DOWN; in internal_destroy_qp()
/drivers/message/fusion/
Dmptfc.c983 unsigned port_state; in mptfc_init_host_attr() local
1045 port_state = FC_PORTSTATE_UNKNOWN; in mptfc_init_host_attr()
1047 port_state = FC_PORTSTATE_ONLINE; in mptfc_init_host_attr()
1049 port_state = FC_PORTSTATE_LINKDOWN; in mptfc_init_host_attr()
1050 fc_host_port_state(sh) = port_state; in mptfc_init_host_attr()
/drivers/s390/scsi/
Dzfcp_fsf.h398 u32 port_state; member
Dzfcp_erp.c1191 if (rport && rport->port_state == FC_PORTSTATE_ONLINE) in zfcp_erp_scsi_scan()
/drivers/scsi/qla2xxx/
Dqla_os.c730 while (rport->port_state == FC_PORTSTATE_BLOCKED) { in qla2x00_block_error_handler()