Home
last modified time | relevance | path

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

12

/drivers/scsi/bfa/
A Dbfa_svc.c2934 struct bfa_fcport_s *fcport = ln->fcport; in bfa_fcport_queue_cb() local
2989 ln->fcport = fcport; in bfa_fcport_attach()
3090 bfa_trc(fcport->bfa, fcport->speed); in bfa_fcport_update_linkinfo()
3091 bfa_trc(fcport->bfa, fcport->topology); in bfa_fcport_update_linkinfo()
3184 fcport->pwwn = fcport->bfa->ioc.attr->pwwn; in bfa_fcport_set_wwns()
3185 fcport->nwwn = fcport->bfa->ioc.attr->nwwn; in bfa_fcport_set_wwns()
3187 bfa_trc(fcport->bfa, fcport->pwwn); in bfa_fcport_set_wwns()
3188 bfa_trc(fcport->bfa, fcport->nwwn); in bfa_fcport_set_wwns()
3266 bfa_trc(fcport->bfa, fcport->stats_qfull); in bfa_fcport_stats_get_timeout()
3331 bfa_trc(fcport->bfa, fcport->stats_qfull); in bfa_fcport_stats_clr_timeout()
[all …]
A Dbfad_bsg.c937 fcport->cfg.ratelimit = BFA_TRUE; in bfad_iocmd_ratelim()
939 fcport->cfg.ratelimit = BFA_FALSE; in bfad_iocmd_ratelim()
963 (iocmd->speed > fcport->speed_sup)) { in bfad_iocmd_ratelim_speed()
973 fcport->cfg.trl_def_speed = iocmd->speed; in bfad_iocmd_ratelim_speed()
2307 fcport->cfg.trunked = BFA_TRUE; in bfad_iocmd_cfg_trunk()
2311 fcport->cfg.trunked = BFA_FALSE; in bfad_iocmd_cfg_trunk()
2362 fcport->cfg.qos_enabled = BFA_TRUE; in bfad_iocmd_qos()
2364 fcport->cfg.qos_enabled = BFA_FALSE; in bfad_iocmd_qos()
2366 fcport->cfg.qos_bw.med = BFA_QOS_BW_MED; in bfad_iocmd_qos()
2367 fcport->cfg.qos_bw.low = BFA_QOS_BW_LOW; in bfad_iocmd_qos()
[all …]
A Dbfa_modules.h26 struct bfa_fcport_s fcport; /* fc port module */ member
/drivers/scsi/qla2xxx/
A Dqla_edif.c99 fc_port_t *fcport = edif_entry->fcport; in qla2x00_sa_replace_iocb_timeout() local
213 e->u.sa_update.fcport = fcport; in qla_post_sa_replace_work()
225 fcport->node_name, fcport->port_name, fcport->d_id.b24); in qla_edif_sa_ctl_init()
458 if (entry->fcport == fcport) { in qla2x00_release_all_sadb()
469 if (entry->fcport == fcport) { in qla2x00_release_all_sadb()
699 fcport->port_name, fcport->loop_id, fcport->d_id.b24, in qla_edif_app_stop()
1413 sa_ctl->fcport = fcport; in qla_edif_add_sa_ctl()
1710 edif_entry->fcport = fcport; in qla24xx_sadb_update()
2369 fcport = sa_ctl->fcport; in qla24xx_issue_sa_replace_iocb()
2400 sp->fcport = fcport; in qla24xx_issue_sa_replace_iocb()
[all …]
A Dqla_init.c308 ea.fcport = sp->fcport; in qla2x00_async_login_sp_done()
565 e->u.fcport.fcport = fcport; in qla_post_els_plogi_work()
589 ea.fcport = sp->fcport; in qla2x00_async_adisc_sp_done()
732 fcport = ea->fcport; in qla24xx_handle_gnl_done_event()
1081 ea.fcport = fcport; in qla24xx_async_gnl_sp_done()
1216 e->u.fcport.fcport = fcport; in qla24xx_post_gnl_work()
1239 ea.fcport = fcport; in qla24xx_async_gpdb_sp_done()
1262 e->u.fcport.fcport = fcport; in qla24xx_post_prli_work()
1367 e->u.fcport.fcport = fcport; in qla24xx_post_gpdb_work()
2328 a.fcport = fcport; in qla2x00_async_tm_cmd()
[all …]
A Dqla_nvme.c107 rport->fcport = fcport; in qla_nvme_register_remote()
306 fc_port_t *fcport = sp->fcport; in qla_nvme_abort_work() local
369 fc_port_t *fcport = qla_rport->fcport; in qla_nvme_xmt_ls_rsp() local
378 if (!fcport || fcport->deleted) in qla_nvme_xmt_ls_rsp()
474 fc_port_t *fcport = qla_rport->fcport; in qla_nvme_ls_req() local
482 if (!fcport || fcport->deleted) in qla_nvme_ls_req()
781 fcport = qla_rport->fcport; in qla_nvme_post_cmd()
861 fcport = qla_rport->fcport; in qla_nvme_remoteport_delete()
867 fcport, fcport->port_name); in qla_nvme_remoteport_delete()
901 __func__, fcport, fcport->port_name); in qla_nvme_unregister_remote_port()
[all …]
A Dqla_gs.c261 fcport->node_name, fcport->port_name, in qla2x00_ga_nxt()
1049 fcport->node_name, fcport->port_name, in qla2x00_sns_ga_nxt()
2720 e->u.fcport.fcport = fcport; in qla24xx_post_gpsc_work()
2726 struct fc_port *fcport = ea->fcport; in qla24xx_handle_gpsc_event() local
2758 fc_port_t *fcport = sp->fcport; in qla24xx_async_gpsc_sp_done() local
2798 ea.fcport = fcport; in qla24xx_async_gpsc_sp_done()
2897 fc_port_t *fcport = sp->fcport; in qla24xx_async_gffid_sp_done() local
3766 fc_port_t *fcport = ea->fcport; in qla24xx_handle_gfpnid_event() local
3793 fc_port_t *fcport = sp->fcport; in qla2x00_async_gfpnid_sp_done() local
3803 ea.fcport = fcport; in qla2x00_async_gfpnid_sp_done()
[all …]
A Dqla_iocb.c2544 struct fc_port *fcport = sp->fcport; in qla24xx_tm_iocb() local
2656 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd_iocb_timeout() local
2689 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd_sp_done() local
2696 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_els_dcmd_sp_done()
2736 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla24xx_els_dcmd_iocb()
2740 sp->fcport = fcport; in qla24xx_els_dcmd_iocb()
2786 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla24xx_els_dcmd_iocb()
2865 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd2_iocb_timeout() local
2909 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd2_sp_done() local
2935 ea.fcport = fcport; in qla2x00_els_dcmd2_sp_done()
[all …]
A Dqla_inline.h119 fcport->disc_state = state; in qla2x00_set_fcport_disc_state()
124 ql_dbg(ql_dbg_disc, fcport->vha, 0x2134, in qla2x00_set_fcport_disc_state()
185 sp->fcport = fcport; in qla2xxx_init_sp()
197 fc_port_t *fcport, gfp_t flag) in qla2xxx_get_qpair_sp() argument
296 if (fcport->retry_delay_timestamp && in qla2x00_set_retry_delay_timestamp()
308 ql_log(ql_log_warn, fcport->vha, 0x5101, in qla2x00_set_retry_delay_timestamp()
562 fcport_is_smaller(fc_port_t *fcport) in fcport_is_smaller() argument
564 if (wwn_to_u64(fcport->port_name) < in fcport_is_smaller()
565 wwn_to_u64(fcport->vha->port_name)) in fcport_is_smaller()
572 fcport_is_bigger(fc_port_t *fcport) in fcport_is_bigger() argument
[all …]
A Dqla_os.c922 if (!fcport || fcport->deleted) { in qla2xxx_queuecommand()
1011 if (!fcport || fcport->deleted) { in qla2xxx_mqueuecommand()
4109 fcport->flags, fcport->port_type, in qla2x00_mark_all_devices_lost()
4110 fcport->d_id.b24, fcport->port_name); in qla2x00_mark_all_devices_lost()
5203 e->u.logio.fcport = fcport; \
5528 qla24xx_async_gpdb(vha, e->u.fcport.fcport, in qla2x00_do_work()
5532 qla24xx_async_prli(vha, e->u.fcport.fcport); in qla2x00_do_work()
5538 qla24xx_async_gnl(vha, e->u.fcport.fcport); in qla2x00_do_work()
5563 qla_do_iidma_work(vha, e->u.fcport.fcport); in qla2x00_do_work()
5567 e->u.fcport.fcport); in qla2x00_do_work()
[all …]
A Dqla_mr.c1178 fcport->old_tgt_id = fcport->tgt_id; in qlafx00_find_all_targets()
1333 fc_port_t *fcport; in qlafx00_abort_isp_cleanup() local
1359 fcport->flags = 0; in qlafx00_abort_isp_cleanup()
1657 fc_port_t *fcport; in qlafx00_get_fcport() local
1665 fcport, fcport->tgt_id, tgt_id); in qlafx00_get_fcport()
1666 return fcport; in qlafx00_get_fcport()
1675 fc_port_t *fcport; in qlafx00_tgt_detach() local
1681 if (!fcport) in qlafx00_tgt_detach()
2251 fc_port_t *fcport; in qlafx00_status_entry() local
2318 fcport = sp->fcport; in qlafx00_status_entry()
[all …]
A Dqla_isr.c1678 fcport->loop_id, fcport->d_id.b24); in qla2x00_async_event()
2090 fcport = sp->fcport; in qla2x00_mbx_iocb_entry()
2101 fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_mbx_iocb_entry()
2120 fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla2x00_mbx_iocb_entry()
2149 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla2x00_mbx_iocb_entry()
2515 fcport = sp->fcport; in qla24xx_logio_entry()
2526 fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla24xx_logio_entry()
2659 fcport = sp->fcport; in qla24xx_tm_iocb_entry()
2730 fcport = sp->fcport; in qla24xx_nvme_iocb_entry()
3409 fcport = sp->fcport; in qla2x00_status_entry()
[all …]
A Dqla_mbx.c1529 fc_port_t *fcport = sp->fcport; in qla2x00_abort_command() local
1587 vha = fcport->vha; in qla2x00_abort_target()
1635 vha = fcport->vha; in qla2x00_lun_reset()
1979 fcport->query = 0; in qla2x00_get_port_database()
2084 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_get_port_database()
2120 fcport->query = 0; in qla2x00_get_port_database()
2729 fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_login_local_device()
3252 fc_port_t *fcport = sp->fcport; in qla24xx_abort_command() local
3352 vha = fcport->vha; in __qla24xx_issue_tmf()
4061 if (fcport) { in qla24xx_report_id_acquisition()
[all …]
A Dqla_bsg.c16 struct fc_port *fcport = container_of(work, typeof(*fcport), in qla2xxx_free_fcport_work() local
354 if (!fcport) { in qla2x00_process_els()
361 fcport->vha = vha; in qla2x00_process_els()
368 fcport->loop_id = in qla2x00_process_els()
424 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_process_els()
527 if (!fcport) { in qla2x00_process_ct()
535 fcport->vha = vha; in qla2x00_process_ct()
561 fcport->loop_id, fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_process_ct()
1348 fcport->port_name, sizeof(fcport->port_name))) in qla24xx_iidma()
2043 if (!fcport) { in qlafx00_mgmt_cmd()
[all …]
A Dqla_target.c530 e->u.nack.fcport = fcport; in qla24xx_post_nack_work()
687 if (!fcport || !fcport->vha || !fcport->vha->hw) in qla24xx_delete_sess_fn()
817 fc_port_t *fcport = pla->fcport; in qlt_plogi_ack_unref() local
1400 return fcport; in qlt_create_sess()
4569 fcport, in qlt_logo_completion_handler()
4570 fcport->port_name, fcport->loop_id, in qlt_logo_completion_handler()
4571 fcport->d_id.b.domain, fcport->d_id.b.area, in qlt_logo_completion_handler()
6008 if (!fcport) { in qlt_get_port_database()
6038 del = fcport; in qlt_get_port_database()
6078 return fcport; in qlt_get_port_database()
[all …]
A Dqla_attr.c2635 fc_port_t *fcport; in qla2x00_get_starget_node_name() local
2654 fc_port_t *fcport; in qla2x00_get_starget_port_name() local
2673 fc_port_t *fcport; in qla2x00_get_starget_port_id() local
2680 fcport->d_id.b.area << 8 | fcport->d_id.b.al_pa; in qla2x00_get_starget_port_id()
2695 if (IS_ENABLED(CONFIG_NVME_FC) && fcport && fcport->nvme_remote_port) in qla2x00_set_rport_loss_tmo()
2707 if (!fcport) in qla2x00_dev_loss_tmo_callbk()
2742 qla2x00_eh_wait_for_pending_commands(fcport->vha, fcport->d_id.b24, in qla2x00_dev_loss_tmo_callbk()
2754 if (!fcport) in qla2x00_terminate_rport_io()
2762 vha = fcport->vha; in qla2x00_terminate_rport_io()
2770 qla2x00_eh_wait_for_pending_commands(fcport->vha, fcport->d_id.b24, in qla2x00_terminate_rport_io()
[all …]
A Dqla_gbl.h44 extern void qla2x00_clear_loop_id(fc_port_t *fcport);
82 extern void qla2x00_set_fcport_state(fc_port_t *fcport, int state);
125 int qla_post_iidma_work(struct scsi_qla_host *vha, fc_port_t *fcport);
126 void qla_do_iidma_work(struct scsi_qla_host *vha, fc_port_t *fcport);
128 void qla_rscn_replay(fc_port_t *fcport);
133 void qla_edif_list_del(fc_port_t *fcport);
145 struct fc_port *fcport);
249 struct edif_sa_ctl *qla_edif_find_sa_ctl_by_index(fc_port_t *fcport,
974 void qla_nvme_unregister_remote_port(struct fc_port *fcport);
979 fc_port_t *fcport);
[all …]
A Dqla_mid.c150 fc_port_t *fcport; in qla2x00_mark_vp_devices_dead() local
152 list_for_each_entry(fcport, &vha->vp_fcports, list) { in qla2x00_mark_vp_devices_dead()
155 fcport->loop_id, fcport->vha->vp_idx); in qla2x00_mark_vp_devices_dead()
157 qla2x00_mark_device_lost(vha, fcport, 0); in qla2x00_mark_vp_devices_dead()
158 qla2x00_set_fcport_state(fcport, FCS_UNCONFIGURED); in qla2x00_mark_vp_devices_dead()
167 fc_port_t *fcport; in qla24xx_disable_vp() local
182 list_for_each_entry(fcport, &vha->vp_fcports, list) in qla24xx_disable_vp()
183 fcport->logout_on_delete = 1; in qla24xx_disable_vp()
326 fc_port_t *fcport; in qla2x00_vp_abort_isp() local
336 list_for_each_entry(fcport, &vha->vp_fcports, list) in qla2x00_vp_abort_isp()
[all …]
A Dqla_def.h477 struct fc_port *fcport; member
513 struct fc_port *fcport; member
2527 void *fcport; member
2724 fc_port_t *fcport; member
3600 fc_port_t *fcport; member
3602 } fcport; member
3604 fc_port_t *fcport; member
3614 fc_port_t *fcport; member
5367 fc_port_t *fcport; member
5482 (NVME_TYPE(fcport) && !FCP_TYPE(fcport)) \
[all …]
A Dqla_dfs.c297 fc_port_t *fcport = NULL; in qla_dfs_tgt_counters_show() local
379 list_for_each_entry(fcport, &vha->vp_fcports, list) { in qla_dfs_tgt_counters_show()
380 if (!fcport->rport) in qla_dfs_tgt_counters_show()
384 fcport->rport->number, fcport->tgt_short_link_down_cnt); in qla_dfs_tgt_counters_show()
/drivers/scsi/qedf/
A Dqedf_els.c27 if (!fcport) { in qedf_initiate_els()
70 els_req->fcport = fcport; in qedf_initiate_els()
160 fcport = els_req->fcport; in qedf_process_els_compl()
255 fcport = aborted_io_req->fcport; in qedf_send_rrq()
257 if (!fcport) { in qedf_send_rrq()
385 fcport); in qedf_restart_rport()
447 fcport = els_req->fcport; in qedf_l2_els_compl()
638 fcport = orig_io_req->fcport; in qedf_send_srr()
705 fcport = orig_io_req->fcport; in qedf_initiate_seq_cleanup()
777 fcport = orig_io_req->fcport; in qedf_requeue_io_req()
[all …]
A Dqedf_io.c26 fcport = io_req->fcport; in qedf_cmd_timeout()
368 io_req->fcport = fcport; in qedf_alloc_cmd()
437 struct qedf_rport *fcport = io_req->fcport; in qedf_release_cmd() local
684 struct qedf_rport *fcport = io_req->fcport; in qedf_init_mp_task() local
1173 fcport = io_req->fcport; in qedf_scsi_completion()
1436 struct qedf_rport *fcport = io_req->fcport; in qedf_process_warning_compl() local
1672 if (io_req->fcport != fcport) in qedf_flush_active_ios()
1819 io_req->fcport == fcport) { in qedf_flush_active_ios()
2161 fcport = io_req->fcport; in qedf_initiate_cleanup()
2324 io_req->fcport = fcport; in qedf_execute_tmf()
[all …]
A Dqedf_main.c905 fcport, fcport->rdata->ids.port_id); in qedf_wait_for_upload()
1038 return fcport; in qedf_fcport_lookup()
1264 fcport->sq_mem_size = ALIGN(fcport->sq_mem_size, QEDF_PAGE_SIZE); in qedf_alloc_sq()
1265 fcport->sq_pbl_size = (fcport->sq_mem_size / QEDF_PAGE_SIZE) * in qedf_alloc_sq()
1267 fcport->sq_pbl_size = fcport->sq_pbl_size + QEDF_PAGE_SIZE; in qedf_alloc_sq()
1312 fcport->sq_pbl, fcport->sq_pbl_dma); in qedf_free_sq()
1313 if (fcport->sq) in qedf_free_sq()
1315 fcport->sq, fcport->sq_dma); in qedf_free_sq()
1329 &fcport->fw_cid, &fcport->p_doorbell); in qedf_offload_connection()
1339 fcport->fw_cid, fcport->handle); in qedf_offload_connection()
[all …]
A Dqedf.h116 struct qedf_rport *fcport; member
502 extern void qedf_flush_active_ios(struct qedf_rport *fcport, u64 lun);
508 extern struct qedf_ioreq *qedf_alloc_cmd(struct qedf_rport *fcport,
517 extern u16 qedf_get_sqe_idx(struct qedf_rport *fcport);
518 extern void qedf_ring_doorbell(struct qedf_rport *fcport);
522 extern int qedf_send_adisc(struct qedf_rport *fcport, struct fc_frame *fp);
540 extern void qedf_restart_rport(struct qedf_rport *fcport);
542 extern int qedf_post_io_req(struct qedf_rport *fcport,
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()

Completed in 997 milliseconds

12