Lines Matching refs:vp_idx

164 			    vha->vp_idx);  in qlt_issue_marker()
176 uint8_t vp_idx; in qlt_find_host_by_d_id() local
185 vp_idx = ha->tgt.tgt_vp_map[d_id[2]].idx; in qlt_find_host_by_d_id()
186 if (likely(test_bit(vp_idx, ha->vp_idx_map))) in qlt_find_host_by_d_id()
187 return ha->tgt.tgt_vp_map[vp_idx].vha; in qlt_find_host_by_d_id()
194 uint16_t vp_idx) in qlt_find_host_by_vp_idx() argument
198 if (vha->vp_idx == vp_idx) in qlt_find_host_by_vp_idx()
202 if (likely(test_bit(vp_idx, ha->vp_idx_map))) in qlt_find_host_by_vp_idx()
203 return ha->tgt.tgt_vp_map[vp_idx].vha; in qlt_find_host_by_vp_idx()
234 __func__, vha->vp_idx, atio->u.raw.entry_type, in qlt_24xx_atio_pkt_all_vps()
245 "with unknown d_id %x:%x:%x\n", vha->vp_idx, in qlt_24xx_atio_pkt_all_vps()
270 vha->vp_idx, entry->u.isp24.vp_index); in qlt_24xx_atio_pkt_all_vps()
281 "type %x\n", vha->vp_idx, atio->u.raw.entry_type); in qlt_24xx_atio_pkt_all_vps()
294 vha->vp_idx, __func__); in qlt_response_pkt_all_vps()
304 vha->vp_idx, entry->vp_index); in qlt_response_pkt_all_vps()
322 vha->vp_idx, entry->u.isp24.vp_index); in qlt_response_pkt_all_vps()
342 "vp_index %d\n", vha->vp_idx, in qlt_response_pkt_all_vps()
361 "vp_index %d\n", vha->vp_idx, entry->vp_index); in qlt_response_pkt_all_vps()
378 "vp_index %d\n", vha->vp_idx, entry->vp_index); in qlt_response_pkt_all_vps()
528 "command %x in %s", vha->vp_idx, in qlt_reset()
591 sess->vha->vp_idx, sess->port_name, sess->loop_id, in qlt_schedule_sess_for_deletion()
629 vha->vp_idx, qla2x00_gid_list_size(ha)); in qla24xx_get_loop_id()
638 vha->vp_idx, rc); in qla24xx_get_loop_id()
763 "from port %8phC will be refused", vha->vp_idx, in qlt_create_sess()
819 vha->vp_idx, local ? "local " : "", fcport->port_name, in qlt_create_sess()
871 "(loop ID %d) reappeared\n", vha->vp_idx, in qlt_fc_port_added()
885 "port %8phC (loop ID %d) became global\n", vha->vp_idx, in qlt_fc_port_added()
1128 "request packet\n", vha->vp_idx, __func__); in qlt_send_notify_ack()
1160 vha->vp_idx, nack->u.isp24.status); in qlt_send_notify_ack()
1191 "request packet", vha->vp_idx, __func__); in qlt_24xx_send_abts_resp()
1198 resp->vp_index = vha->vp_idx; in qlt_24xx_send_abts_resp()
1264 "request packet\n", vha->vp_idx, __func__); in qlt_24xx_retry_term_exchange()
1278 ctio->vp_index = vha->vp_idx; in qlt_24xx_retry_term_exchange()
1400 vha->vp_idx, abts->exchange_addr_to_abort); in __qlt_24xx_handle_abts()
1406 vha->vp_idx, __func__); in __qlt_24xx_handle_abts()
1420 " failed: %d", vha->vp_idx, rc); in __qlt_24xx_handle_abts()
1443 "supported\n", vha->vp_idx); in qlt_24xx_handle_abts()
1451 "Address received\n", vha->vp_idx); in qlt_24xx_handle_abts()
1458 "tag=%d, param=%x)\n", vha->vp_idx, abts->fcp_hdr_le.s_id[2], in qlt_24xx_handle_abts()
1470 vha->vp_idx); in qlt_24xx_handle_abts()
1489 vha->vp_idx, rc); in qlt_24xx_handle_abts()
1517 "request packet\n", ha->vp_idx, __func__); in qlt_24xx_send_task_mgmt_ctio()
1526 ctio->vp_index = ha->vp_idx; in qlt_24xx_send_task_mgmt_ctio()
1704 vha->vp_idx, vha->req->ring_index, in qlt_check_reserve_free_req()
1744 "empty cmd slots in ha %p\n", vha->vp_idx, ha); in qlt_make_handle()
1774 pkt->vp_index = vha->vp_idx; in qlt_24xx_build_ctio_pkt()
2133 "lost", prm->tgt->ha->vp_idx, in qlt_24xx_init_ctio_to_isp()
2291 vha->vp_idx, __func__, se_cmd, se_cmd->prot_op, in qlt_build_ctio_crc2_pkt()
2356 pkt->vp_index = vha->vp_idx; in qlt_build_ctio_crc2_pkt()
2869 "request packet\n", vha->vp_idx, __func__); in __qlt_send_term_imm_notif()
2953 "request packet\n", vha->vp_idx, __func__); in __qlt_send_term_exchange()
2961 "incorrect state %d\n", vha->vp_idx, cmd, in __qlt_send_term_exchange()
2974 ctio24->vp_index = vha->vp_idx; in __qlt_send_term_exchange()
3087 "(se_cmd=%p, tag=%llu)", vha->vp_idx, cmd, &cmd->se_cmd, in qlt_abort_cmd()
3137 "qla_target(%d): CTIO with SRR status received\n", vha->vp_idx); in qlt_prepare_srr_ctio()
3142 vha->vp_idx); in qlt_prepare_srr_ctio()
3174 "SRR %p\n", vha->vp_idx, in qlt_prepare_srr_ctio()
3189 vha->vp_idx); in qlt_prepare_srr_ctio()
3263 vha->vp_idx, handle); in qlt_ctio_to_cmd()
3270 "find the command with handle %x\n", vha->vp_idx, in qlt_ctio_to_cmd()
3278 "support NULL handles\n", vha->vp_idx); in qlt_ctio_to_cmd()
3404 "TIMEOUT=b, INVALID_RX_ID=8)\n", vha->vp_idx, in qlt_do_ctio_completion()
3413 "received (state %x, se_cmd %p)\n", vha->vp_idx, in qlt_do_ctio_completion()
3421 vha->vp_idx, status, cmd->state, se_cmd); in qlt_do_ctio_completion()
3432 vha->vp_idx, status, cmd->state, se_cmd, in qlt_do_ctio_completion()
3461 vha->vp_idx, status, cmd->state, se_cmd); in qlt_do_ctio_completion()
3501 "not return a CTIO complete\n", vha->vp_idx, cmd->state); in qlt_do_ctio_completion()
3699 vha->vp_idx, s_id[0], s_id[1], s_id[2]); in qlt_create_sess_from_atio()
3795 "qla_target(%d): Allocation of cmd failed\n", vha->vp_idx); in qlt_handle_cmd_for_atio()
3829 "leak\n", vha->vp_idx); in qlt_issue_task_mgmt()
3846 "qla_target(%d): CLEAR_ACA received\n", sess->vha->vp_idx); in qlt_issue_task_mgmt()
3853 sess->vha->vp_idx); in qlt_issue_task_mgmt()
3859 "qla_target(%d): LUN_RESET received\n", sess->vha->vp_idx); in qlt_issue_task_mgmt()
3866 "qla_target(%d): CLEAR_TS received\n", sess->vha->vp_idx); in qlt_issue_task_mgmt()
3872 "qla_target(%d): ABORT_TS received\n", sess->vha->vp_idx); in qlt_issue_task_mgmt()
3879 sess->vha->vp_idx); in qlt_issue_task_mgmt()
3886 sess->vha->vp_idx); in qlt_issue_task_mgmt()
3893 sess->vha->vp_idx); in qlt_issue_task_mgmt()
3899 "qla_target(%d): Doing NEXUS_LOSS\n", sess->vha->vp_idx); in qlt_issue_task_mgmt()
3906 sess->vha->vp_idx, fn); in qlt_issue_task_mgmt()
3915 sess->vha->vp_idx, res); in qlt_issue_task_mgmt()
3945 "non-existant session\n", vha->vp_idx, fn); in qlt_handle_task_mgmt()
3970 vha->vp_idx, __func__); in __qlt_abort_task()
3988 vha->vp_idx, rc); in __qlt_abort_task()
4010 "session\n", vha->vp_idx); in qlt_abort_task()
4170 vha->vp_idx, iocb->u.isp24.port_id, iocb->u.isp24.status_subcode); in qlt_24xx_handle_els()
4313 "received\n", vha->vp_idx, iocb->u.isp24.status_subcode); in qlt_24xx_handle_els()
4437 cmd->vha->vp_idx, rel_offs); in qlt_srr_adjust_data()
4504 "reject", vha->vp_idx, cmd->tag, in qlt_handle_srr()
4540 "reject", vha->vp_idx, cmd->tag, in qlt_handle_srr()
4548 vha->vp_idx, srr_ui); in qlt_handle_srr()
4623 vha->vp_idx, i, i->srr_id, sctio); in qlt_handle_srr_work()
4687 vha->vp_idx); in qlt_prepare_srr_imm()
4719 "SRR %p\n", vha->vp_idx, tgt->ctio_srr_id, in qlt_prepare_srr_imm()
4735 "entry, SRR request will be rejected\n", vha->vp_idx); in qlt_prepare_srr_imm()
4781 vha->vp_idx, le16_to_cpu(iocb->u.isp24.nport_handle), in qlt_handle_imm_notify()
4794 "subcode %x)\n", vha->vp_idx, in qlt_handle_imm_notify()
4814 "%#x, subcode %x)\n", vha->vp_idx, in qlt_handle_imm_notify()
4825 "qla_target(%d): Global TPRLO (%x)\n", vha->vp_idx, status); in qlt_handle_imm_notify()
4833 "qla_target(%d): Port config changed (%x)\n", vha->vp_idx, in qlt_handle_imm_notify()
4843 vha->vp_idx); in qlt_handle_imm_notify()
4853 "resource count)\n", vha->vp_idx); in qlt_handle_imm_notify()
4859 "L %#x)\n", vha->vp_idx, in qlt_handle_imm_notify()
4870 vha->vp_idx, vha->host_no); in qlt_handle_imm_notify()
4876 vha->vp_idx, iocb->u.isp2x.task_flags); in qlt_handle_imm_notify()
4894 "notify status %x\n", vha->vp_idx, status); in qlt_handle_imm_notify()
4926 "request packet", vha->vp_idx, __func__); in __qlt_send_busy()
4937 ctio24->vp_index = vha->vp_idx; in __qlt_send_busy()
4989 vha->vp_idx, __func__, in qlt_alloc_qfull_cmd()
5011 vha->vp_idx, __func__); in qlt_alloc_qfull_cmd()
5168 "sending QUEUE_FULL\n", vha->vp_idx); in qlt_24xx_atio_pkt()
5202 "status.\n", vha->vp_idx); in qlt_24xx_atio_pkt()
5214 "with error status %x\n", vha->vp_idx, in qlt_24xx_atio_pkt()
5227 "type %x\n", vha->vp_idx, atio->u.raw.entry_type); in qlt_24xx_atio_pkt()
5244 "tgt (ha %p)\n", vha->vp_idx, pkt->entry_type, ha); in qlt_response_pkt()
5274 "status %x received\n", vha->vp_idx, in qlt_response_pkt()
5305 "status\n", vha->vp_idx); in qlt_response_pkt()
5348 "failed %x\n", vha->vp_idx, in qlt_response_pkt()
5354 vha->vp_idx); in qlt_response_pkt()
5360 "ABTS_RECV_24XX: instance %d\n", vha->vp_idx); in qlt_response_pkt()
5397 vha->vp_idx, entry->compl_status, in qlt_response_pkt()
5404 "received\n", vha->vp_idx); in qlt_response_pkt()
5411 "type %x\n", vha->vp_idx, pkt->entry_type); in qlt_response_pkt()
5454 "occurred", vha->vp_idx, code); in qlt_async_event()
5464 "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, in qlt_async_event()
5481 "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, code, in qlt_async_event()
5490 "m[2]=%x, m[3]=%x)", vha->vp_idx, code, in qlt_async_event()
5520 vha->vp_idx); in qlt_get_port_database()
5531 "(loop_id=0x%04x)", vha->vp_idx, rc, loop_id); in qlt_get_port_database()
5567 vha->vp_idx, s_id[0], s_id[1], in qlt_make_local_sess()
5580 "(counter was %d, new %d), retrying", vha->vp_idx, in qlt_make_local_sess()
5805 base_vha->vp_idx); in qlt_add_target()
6031 if (vha->vp_idx) { in qlt_enable_vha()
6497 vha->hw->tgt.tgt_vp_map[vha->vp_idx].vha = vha; in qlt_update_vp_map()
6500 vha->hw->tgt.tgt_vp_map[vha->d_id.b.al_pa].idx = vha->vp_idx; in qlt_update_vp_map()
6503 vha->hw->tgt.tgt_vp_map[vha->vp_idx].vha = NULL; in qlt_update_vp_map()