Home
last modified time | relevance | path

Searched refs:fcport (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/scsi/qedf/
H A Dqedf_els.c9 static int qedf_initiate_els(struct qedf_rport *fcport, unsigned int op, in qedf_initiate_els() argument
27 if (!fcport) { in qedf_initiate_els()
33 qedf = fcport->qedf; in qedf_initiate_els()
38 rc = fc_remote_port_chkready(fcport->rport); in qedf_initiate_els()
51 if (!test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags)) { in qedf_initiate_els()
57 els_req = qedf_alloc_cmd(fcport, QEDF_ELS); in qedf_initiate_els()
70 els_req->fcport = fcport; in qedf_initiate_els()
107 did = fcport->rdata->ids.port_id; in qedf_initiate_els()
108 sid = fcport->sid; in qedf_initiate_els()
117 spin_lock_irqsave(&fcport->rport_lock, flags); in qedf_initiate_els()
[all …]
H A Dqedf_io.c24 struct qedf_rport *fcport; in qedf_cmd_timeout() local
26 fcport = io_req->fcport; in qedf_cmd_timeout()
27 if (io_req->fcport == NULL) { in qedf_cmd_timeout()
32 qedf = fcport->qedf; in qedf_cmd_timeout()
63 qedf_restart_rport(fcport); in qedf_cmd_timeout()
294 struct qedf_ioreq *qedf_alloc_cmd(struct qedf_rport *fcport, u8 cmd_type) in qedf_alloc_cmd() argument
296 struct qedf_ctx *qedf = fcport->qedf; in qedf_alloc_cmd()
305 free_sqes = atomic_read(&fcport->free_sqes); in qedf_alloc_cmd()
315 if ((atomic_read(&fcport->num_active_ios) >= in qedf_alloc_cmd()
319 atomic_read(&fcport->num_active_ios)); in qedf_alloc_cmd()
[all …]
H A Dqedf_main.c731 struct qedf_rport *fcport = NULL; in qedf_eh_abort() local
742 fcport = (struct qedf_rport *)&rp[1]; in qedf_eh_abort()
743 rdata = fcport->rdata; in qedf_eh_abort()
788 if (test_bit(QEDF_RPORT_UPLOADING_CONNECTION, &fcport->flags)) { in qedf_eh_abort()
885 struct qedf_rport *fcport; in qedf_wait_for_upload() local
899 list_for_each_entry_rcu(fcport, &qedf->fcports, peers) { in qedf_wait_for_upload()
901 &fcport->flags)) { in qedf_wait_for_upload()
902 if (fcport->rdata) in qedf_wait_for_upload()
905 fcport, fcport->rdata->ids.port_id); in qedf_wait_for_upload()
908 "Waiting for fcport %p.\n", fcport); in qedf_wait_for_upload()
[all …]
H A Dqedf_debugfs.c329 struct qedf_rport *fcport; in qedf_driver_stats_show() local
359 list_for_each_entry_rcu(fcport, &qedf->fcports, peers) { in qedf_driver_stats_show()
360 rdata = fcport->rdata; in qedf_driver_stats_show()
367 atomic_read(&fcport->free_sqes), in qedf_driver_stats_show()
368 atomic_read(&fcport->num_active_ios)); in qedf_driver_stats_show()
/linux/drivers/scsi/qla2xxx/
H A Dqla_mr.c730 qlafx00_abort_target(fc_port_t *fcport, uint64_t l, int tag) in qlafx00_abort_target() argument
732 return qla2x00_async_tm_cmd(fcport, TCF_TARGET_RESET, l, tag); in qlafx00_abort_target()
736 qlafx00_lun_reset(fc_port_t *fcport, uint64_t l, int tag) in qlafx00_lun_reset() argument
738 return qla2x00_async_tm_cmd(fcport, TCF_LUN_RESET, l, tag); in qlafx00_lun_reset()
1099 fc_port_t *fcport, *new_fcport; in qlafx00_find_all_targets() local
1141 list_for_each_entry(fcport, &vha->vp_fcports, list) { in qlafx00_find_all_targets()
1143 fcport->port_name, WWN_SIZE)) in qlafx00_find_all_targets()
1152 if (fcport->tgt_id == new_fcport->tgt_id && in qlafx00_find_all_targets()
1153 atomic_read(&fcport->state) == FCS_ONLINE) in qlafx00_find_all_targets()
1163 __func__, fcport->tgt_id, in qlafx00_find_all_targets()
[all …]
H A Dqla_edif.h28 struct fc_port *fcport; member
/linux/drivers/scsi/bfa/
H A Dbfad_bsg.c927 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); in bfad_iocmd_ratelim() local
932 if ((fcport->cfg.topology == BFA_PORT_TOPOLOGY_LOOP) && in bfad_iocmd_ratelim()
933 (fcport->topology == BFA_PORT_TOPOLOGY_LOOP)) in bfad_iocmd_ratelim()
937 fcport->cfg.ratelimit = BFA_TRUE; in bfad_iocmd_ratelim()
939 fcport->cfg.ratelimit = BFA_FALSE; in bfad_iocmd_ratelim()
941 if (fcport->cfg.trl_def_speed == BFA_PORT_SPEED_UNKNOWN) in bfad_iocmd_ratelim()
942 fcport->cfg.trl_def_speed = BFA_PORT_SPEED_1GBPS; in bfad_iocmd_ratelim()
956 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); in bfad_iocmd_ratelim_speed() local
963 (iocmd->speed > fcport->speed_sup)) { in bfad_iocmd_ratelim_speed()
969 if ((fcport->cfg.topology == BFA_PORT_TOPOLOGY_LOOP) && in bfad_iocmd_ratelim_speed()
[all …]
H A Dbfad_im.c1032 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); in bfad_fc_host_init() local
1055 fc_host_maxframe_size(host) = fcport->cfg.maxfrsize; in bfad_fc_host_init()
H A Dbfa_fcs_lport.c1259 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(port->fcs->bfa); in bfa_fcport_get_loop_attr() local
1261 port->port_topo.ploop.alpabm_valid = fcport->alpabm_valid; in bfa_fcport_get_loop_attr()
1262 port->pid = fcport->myalpa; in bfa_fcport_get_loop_attr()
1267 bfa_trc(port->fcs->bfa, fcport->alpabm.alpa_bm[i]); in bfa_fcport_get_loop_attr()
1268 bit = (fcport->alpabm.alpa_bm[i] & (1 << (7 - j))); in bfa_fcport_get_loop_attr()