Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/scsi/bfa/
A Dbfa_svc.c2971 struct bfa_fcport_s *fcport = ln->fcport; in bfa_fcport_queue_cb() local
3026 ln->fcport = fcport; in bfa_fcport_attach()
3127 bfa_trc(fcport->bfa, fcport->speed); in bfa_fcport_update_linkinfo()
3128 bfa_trc(fcport->bfa, fcport->topology); in bfa_fcport_update_linkinfo()
3221 fcport->pwwn = fcport->bfa->ioc.attr->pwwn; in bfa_fcport_set_wwns()
3222 fcport->nwwn = fcport->bfa->ioc.attr->nwwn; in bfa_fcport_set_wwns()
3224 bfa_trc(fcport->bfa, fcport->pwwn); in bfa_fcport_set_wwns()
3225 bfa_trc(fcport->bfa, fcport->nwwn); in bfa_fcport_set_wwns()
3303 bfa_trc(fcport->bfa, fcport->stats_qfull); in bfa_fcport_stats_get_timeout()
3368 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()
2308 fcport->cfg.trunked = BFA_TRUE; in bfad_iocmd_cfg_trunk()
2312 fcport->cfg.trunked = BFA_FALSE; in bfad_iocmd_cfg_trunk()
2363 fcport->cfg.qos_enabled = BFA_TRUE; in bfad_iocmd_qos()
2365 fcport->cfg.qos_enabled = BFA_FALSE; in bfad_iocmd_qos()
2367 fcport->cfg.qos_bw.med = BFA_QOS_BW_MED; in bfad_iocmd_qos()
2368 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
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_edif.c98 fc_port_t *fcport = edif_entry->fcport; in qla2x00_sa_replace_iocb_timeout() local
212 e->u.sa_update.fcport = fcport; in qla_post_sa_replace_work()
224 fcport->node_name, fcport->port_name, fcport->d_id.b24); in qla_edif_sa_ctl_init()
457 if (entry->fcport == fcport) { in qla2x00_release_all_sadb()
468 if (entry->fcport == fcport) { in qla2x00_release_all_sadb()
698 fcport->port_name, fcport->loop_id, fcport->d_id.b24, in qla_edif_app_stop()
1412 sa_ctl->fcport = fcport; in qla_edif_add_sa_ctl()
1709 edif_entry->fcport = fcport; in qla24xx_sadb_update()
2368 fcport = sa_ctl->fcport; in qla24xx_issue_sa_replace_iocb()
2399 sp->fcport = fcport; in qla24xx_issue_sa_replace_iocb()
[all …]
A Dqla_init.c308 ea.fcport = sp->fcport; in qla2x00_async_login_sp_done()
558 e->u.fcport.fcport = fcport; in qla_post_els_plogi_work()
582 ea.fcport = sp->fcport; in qla2x00_async_adisc_sp_done()
725 fcport = ea->fcport; in qla24xx_handle_gnl_done_event()
1074 ea.fcport = fcport; in qla24xx_async_gnl_sp_done()
1204 e->u.fcport.fcport = fcport; in qla24xx_post_gnl_work()
1227 ea.fcport = fcport; in qla24xx_async_gpdb_sp_done()
1250 e->u.fcport.fcport = fcport; in qla24xx_post_prli_work()
1269 ea.fcport = sp->fcport; in qla2x00_async_prli_sp_done()
1355 e->u.fcport.fcport = fcport; in qla24xx_post_gpdb_work()
[all …]
A Dqla_nvme.c85 rport->fcport = fcport; in qla_nvme_register_remote()
234 fc_port_t *fcport = sp->fcport; in qla_nvme_abort_work() local
316 fc_port_t *fcport = qla_rport->fcport; in qla_nvme_ls_req() local
324 if (!fcport || fcport->deleted) in qla_nvme_ls_req()
327 vha = fcport->vha; in qla_nvme_ls_req()
609 fc_port_t *fcport; in qla_nvme_post_cmd() local
624 fcport = qla_rport->fcport; in qla_nvme_post_cmd()
626 if (unlikely(!qpair || !fcport || fcport->deleted)) in qla_nvme_post_cmd()
706 fcport = qla_rport->fcport; in qla_nvme_remoteport_delete()
712 fcport, fcport->port_name); in qla_nvme_remoteport_delete()
[all …]
A Dqla_inline.h117 fcport->disc_state = state; in qla2x00_set_fcport_disc_state()
122 ql_dbg(ql_dbg_disc, fcport->vha, 0x2134, in qla2x00_set_fcport_disc_state()
182 sp->fcport = fcport; in qla2xxx_init_sp()
194 fc_port_t *fcport, gfp_t flag) in qla2xxx_get_qpair_sp() argument
293 if (fcport->retry_delay_timestamp && in qla2x00_set_retry_delay_timestamp()
305 ql_log(ql_log_warn, fcport->vha, 0x5101, in qla2x00_set_retry_delay_timestamp()
504 fcport_is_smaller(fc_port_t *fcport) in fcport_is_smaller() argument
506 if (wwn_to_u64(fcport->port_name) < in fcport_is_smaller()
507 wwn_to_u64(fcport->vha->port_name)) in fcport_is_smaller()
514 fcport_is_bigger(fc_port_t *fcport) in fcport_is_bigger() argument
[all …]
A Dqla_iocb.c2540 struct fc_port *fcport = sp->fcport; in qla24xx_tm_iocb() local
2623 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd_iocb_timeout() local
2656 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd_sp_done() local
2663 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_els_dcmd_sp_done()
2703 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla24xx_els_dcmd_iocb()
2707 sp->fcport = fcport; in qla24xx_els_dcmd_iocb()
2751 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla24xx_els_dcmd_iocb()
2830 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd2_iocb_timeout() local
2874 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd2_sp_done() local
2900 ea.fcport = fcport; in qla2x00_els_dcmd2_sp_done()
[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()
2810 e->u.fcport.fcport = fcport; in qla24xx_post_gpsc_work()
2816 struct fc_port *fcport = ea->fcport; in qla24xx_handle_gpsc_event() local
2848 fc_port_t *fcport = sp->fcport; in qla24xx_async_gpsc_sp_done() local
2888 ea.fcport = fcport; in qla24xx_async_gpsc_sp_done()
2987 fc_port_t *fcport = sp->fcport; in qla24xx_async_gffid_sp_done() local
3899 fc_port_t *fcport = ea->fcport; in qla24xx_handle_gfpnid_event() local
3926 fc_port_t *fcport = sp->fcport; in qla2x00_async_gfpnid_sp_done() local
3936 ea.fcport = fcport; in qla2x00_async_gfpnid_sp_done()
[all …]
A Dqla_os.c932 if (!fcport || fcport->deleted) { in qla2xxx_queuecommand()
1021 if (!fcport || fcport->deleted) { in qla2xxx_mqueuecommand()
4102 fcport->flags, fcport->port_type, in qla2x00_mark_all_devices_lost()
4103 fcport->d_id.b24, fcport->port_name); in qla2x00_mark_all_devices_lost()
5177 e->u.logio.fcport = fcport; \
5502 qla24xx_async_gpdb(vha, e->u.fcport.fcport, in qla2x00_do_work()
5506 qla24xx_async_prli(vha, e->u.fcport.fcport); in qla2x00_do_work()
5512 qla24xx_async_gnl(vha, e->u.fcport.fcport); in qla2x00_do_work()
5541 qla_do_iidma_work(vha, e->u.fcport.fcport); in qla2x00_do_work()
5545 e->u.fcport.fcport, false); 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()
2253 fc_port_t *fcport; in qlafx00_status_entry() local
2320 fcport = sp->fcport; in qlafx00_status_entry()
[all …]
A Dqla_isr.c1529 fcport->loop_id, fcport->d_id.b24); in qla2x00_async_event()
1924 fcport = sp->fcport; in qla2x00_mbx_iocb_entry()
1935 fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_mbx_iocb_entry()
1954 fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla2x00_mbx_iocb_entry()
1983 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla2x00_mbx_iocb_entry()
2349 fcport = sp->fcport; in qla24xx_logio_entry()
2360 fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla24xx_logio_entry()
2493 fcport = sp->fcport; in qla24xx_tm_iocb_entry()
2565 fcport = sp->fcport; in qla24xx_nvme_iocb_entry()
3251 fcport = sp->fcport; in qla2x00_status_entry()
[all …]
A Dqla_mbx.c1533 fc_port_t *fcport = sp->fcport; in qla2x00_abort_command() local
1591 vha = fcport->vha; in qla2x00_abort_target()
1639 vha = fcport->vha; in qla2x00_lun_reset()
1983 fcport->query = 0; in qla2x00_get_port_database()
2088 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_get_port_database()
2124 fcport->query = 0; in qla2x00_get_port_database()
2730 fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_login_local_device()
3253 fc_port_t *fcport = sp->fcport; in qla24xx_abort_command() local
3353 vha = fcport->vha; in __qla24xx_issue_tmf()
4062 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
346 if (!fcport) { in qla2x00_process_els()
353 fcport->vha = vha; in qla2x00_process_els()
360 fcport->loop_id = in qla2x00_process_els()
416 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_process_els()
529 if (!fcport) { in qla2x00_process_ct()
537 fcport->vha = vha; in qla2x00_process_ct()
563 fcport->loop_id, fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_process_ct()
1350 fcport->port_name, sizeof(fcport->port_name))) in qla24xx_iidma()
2045 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
1390 return fcport; in qlt_create_sess()
4604 fcport, in qlt_logo_completion_handler()
4605 fcport->port_name, fcport->loop_id, in qlt_logo_completion_handler()
4606 fcport->d_id.b.domain, fcport->d_id.b.area, in qlt_logo_completion_handler()
6118 if (!fcport) { in qlt_get_port_database()
6148 del = fcport; in qlt_get_port_database()
6188 return fcport; in qlt_get_port_database()
[all …]
A Dqla_attr.c2642 fc_port_t *fcport; in qla2x00_get_starget_node_name() local
2646 if (fcport->rport && in qla2x00_get_starget_node_name()
2661 fc_port_t *fcport; in qla2x00_get_starget_port_name() local
2665 if (fcport->rport && in qla2x00_get_starget_port_name()
2680 fc_port_t *fcport; in qla2x00_get_starget_port_id() local
2684 if (fcport->rport && in qla2x00_get_starget_port_id()
2687 fcport->d_id.b.area << 8 | fcport->d_id.b.al_pa; in qla2x00_get_starget_port_id()
2702 if (IS_ENABLED(CONFIG_NVME_FC) && fcport && fcport->nvme_remote_port) in qla2x00_set_rport_loss_tmo()
2714 if (!fcport) in qla2x00_dev_loss_tmo_callbk()
2754 if (!fcport) in qla2x00_terminate_rport_io()
[all …]
A Dqla_gbl.h41 extern void qla2x00_clear_loop_id(fc_port_t *fcport);
81 extern void qla2x00_set_fcport_state(fc_port_t *fcport, int state);
124 int qla_post_iidma_work(struct scsi_qla_host *vha, fc_port_t *fcport);
125 void qla_do_iidma_work(struct scsi_qla_host *vha, fc_port_t *fcport);
127 void qla_rscn_replay(fc_port_t *fcport);
132 void qla_edif_list_del(fc_port_t *fcport);
144 struct fc_port *fcport);
255 struct edif_sa_ctl *qla_edif_find_sa_ctl_by_index(fc_port_t *fcport,
978 void qla_nvme_unregister_remote_port(struct fc_port *fcport);
983 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 = 0; 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.h694 struct fc_port *fcport; member
2487 void *fcport; member
2685 fc_port_t *fcport; member
3527 struct fc_port *fcport; member
3551 fc_port_t *fcport; member
3553 } fcport; member
3555 fc_port_t *fcport; member
3565 fc_port_t *fcport; member
5298 fc_port_t *fcport; member
5413 (NVME_TYPE(fcport) && !FCP_TYPE(fcport)) \
[all …]
A Dqla_dfs.c295 fc_port_t *fcport = NULL; in qla_dfs_tgt_counters_show() local
377 list_for_each_entry(fcport, &vha->vp_fcports, list) { in qla_dfs_tgt_counters_show()
378 if (!fcport->rport) in qla_dfs_tgt_counters_show()
382 fcport->rport->number, fcport->tgt_short_link_down_cnt); in qla_dfs_tgt_counters_show()
/linux-6.3-rc2/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
680 struct qedf_rport *fcport = io_req->fcport; in qedf_init_mp_task() local
1169 fcport = io_req->fcport; in qedf_scsi_completion()
1432 struct qedf_rport *fcport = io_req->fcport; in qedf_process_warning_compl() local
1668 if (io_req->fcport != fcport) in qedf_flush_active_ios()
1819 io_req->fcport == fcport) { in qedf_flush_active_ios()
2157 fcport = io_req->fcport; in qedf_initiate_cleanup()
2325 io_req->fcport = fcport; in qedf_execute_tmf()
[all …]
A Dqedf_main.c896 fcport, fcport->rdata->ids.port_id); in qedf_wait_for_upload()
1025 return fcport; in qedf_fcport_lookup()
1251 fcport->sq_mem_size = ALIGN(fcport->sq_mem_size, QEDF_PAGE_SIZE); in qedf_alloc_sq()
1252 fcport->sq_pbl_size = (fcport->sq_mem_size / QEDF_PAGE_SIZE) * in qedf_alloc_sq()
1254 fcport->sq_pbl_size = fcport->sq_pbl_size + QEDF_PAGE_SIZE; in qedf_alloc_sq()
1299 fcport->sq_pbl, fcport->sq_pbl_dma); in qedf_free_sq()
1300 if (fcport->sq) in qedf_free_sq()
1302 fcport->sq, fcport->sq_dma); in qedf_free_sq()
1316 &fcport->fw_cid, &fcport->p_doorbell); in qedf_offload_connection()
1326 fcport->fw_cid, fcport->handle); in qedf_offload_connection()
[all …]
A Dqedf.h115 struct qedf_rport *fcport; member
500 extern void qedf_flush_active_ios(struct qedf_rport *fcport, int lun);
506 extern struct qedf_ioreq *qedf_alloc_cmd(struct qedf_rport *fcport,
515 extern u16 qedf_get_sqe_idx(struct qedf_rport *fcport);
516 extern void qedf_ring_doorbell(struct qedf_rport *fcport);
520 extern int qedf_send_adisc(struct qedf_rport *fcport, struct fc_frame *fp);
538 extern void qedf_restart_rport(struct qedf_rport *fcport);
540 extern int qedf_post_io_req(struct qedf_rport *fcport,
A Dqedf_debugfs.c322 struct qedf_rport *fcport; in qedf_driver_stats_show() local
352 list_for_each_entry_rcu(fcport, &qedf->fcports, peers) { in qedf_driver_stats_show()
353 rdata = fcport->rdata; in qedf_driver_stats_show()
360 atomic_read(&fcport->free_sqes), in qedf_driver_stats_show()
361 atomic_read(&fcport->num_active_ios)); in qedf_driver_stats_show()

Completed in 183 milliseconds

12