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()
1399 vha->vp_idx, abts->exchange_addr_to_abort); in __qlt_24xx_handle_abts()
1405 vha->vp_idx, __func__); in __qlt_24xx_handle_abts()
1419 " failed: %d", vha->vp_idx, rc); in __qlt_24xx_handle_abts()
1442 "supported\n", vha->vp_idx); in qlt_24xx_handle_abts()
1450 "Address received\n", vha->vp_idx); in qlt_24xx_handle_abts()
1457 "tag=%d, param=%x)\n", vha->vp_idx, abts->fcp_hdr_le.s_id[2], in qlt_24xx_handle_abts()
1469 vha->vp_idx); in qlt_24xx_handle_abts()
1488 vha->vp_idx, rc); in qlt_24xx_handle_abts()
1516 "request packet\n", ha->vp_idx, __func__); in qlt_24xx_send_task_mgmt_ctio()
1525 ctio->vp_index = ha->vp_idx; in qlt_24xx_send_task_mgmt_ctio()
1702 vha->vp_idx, vha->req->ring_index, in qlt_check_reserve_free_req()
1742 "empty cmd slots in ha %p\n", vha->vp_idx, ha); in qlt_make_handle()
1772 pkt->vp_index = vha->vp_idx; in qlt_24xx_build_ctio_pkt()
2129 "lost", prm->tgt->ha->vp_idx, in qlt_24xx_init_ctio_to_isp()
2285 vha->vp_idx, __func__, se_cmd, se_cmd->prot_op, in qlt_build_ctio_crc2_pkt()
2350 pkt->vp_index = vha->vp_idx; in qlt_build_ctio_crc2_pkt()
2862 "request packet\n", vha->vp_idx, __func__); in __qlt_send_term_imm_notif()
2946 "request packet\n", vha->vp_idx, __func__); in __qlt_send_term_exchange()
2954 "incorrect state %d\n", vha->vp_idx, cmd, in __qlt_send_term_exchange()
2967 ctio24->vp_index = vha->vp_idx; in __qlt_send_term_exchange()
3080 "(se_cmd=%p, tag=%llu)", vha->vp_idx, cmd, &cmd->se_cmd, in qlt_abort_cmd()
3130 "qla_target(%d): CTIO with SRR status received\n", vha->vp_idx); in qlt_prepare_srr_ctio()
3135 vha->vp_idx); in qlt_prepare_srr_ctio()
3167 "SRR %p\n", vha->vp_idx, in qlt_prepare_srr_ctio()
3182 vha->vp_idx); in qlt_prepare_srr_ctio()
3256 vha->vp_idx, handle); in qlt_ctio_to_cmd()
3263 "find the command with handle %x\n", vha->vp_idx, in qlt_ctio_to_cmd()
3271 "support NULL handles\n", vha->vp_idx); in qlt_ctio_to_cmd()
3395 "TIMEOUT=b, INVALID_RX_ID=8)\n", vha->vp_idx, in qlt_do_ctio_completion()
3404 "received (state %x, se_cmd %p)\n", vha->vp_idx, in qlt_do_ctio_completion()
3412 vha->vp_idx, status, cmd->state, se_cmd); in qlt_do_ctio_completion()
3423 vha->vp_idx, status, cmd->state, se_cmd, in qlt_do_ctio_completion()
3452 vha->vp_idx, status, cmd->state, se_cmd); in qlt_do_ctio_completion()
3490 "not return a CTIO complete\n", vha->vp_idx, cmd->state); in qlt_do_ctio_completion()
3687 vha->vp_idx, s_id[0], s_id[1], s_id[2]); in qlt_create_sess_from_atio()
3783 "qla_target(%d): Allocation of cmd failed\n", vha->vp_idx); in qlt_handle_cmd_for_atio()
3817 "leak\n", vha->vp_idx); in qlt_issue_task_mgmt()
3834 "qla_target(%d): CLEAR_ACA received\n", sess->vha->vp_idx); in qlt_issue_task_mgmt()
3841 sess->vha->vp_idx); in qlt_issue_task_mgmt()
3847 "qla_target(%d): LUN_RESET received\n", sess->vha->vp_idx); in qlt_issue_task_mgmt()
3854 "qla_target(%d): CLEAR_TS received\n", sess->vha->vp_idx); in qlt_issue_task_mgmt()
3860 "qla_target(%d): ABORT_TS received\n", sess->vha->vp_idx); in qlt_issue_task_mgmt()
3867 sess->vha->vp_idx); in qlt_issue_task_mgmt()
3874 sess->vha->vp_idx); in qlt_issue_task_mgmt()
3881 sess->vha->vp_idx); in qlt_issue_task_mgmt()
3887 "qla_target(%d): Doing NEXUS_LOSS\n", sess->vha->vp_idx); in qlt_issue_task_mgmt()
3894 sess->vha->vp_idx, fn); in qlt_issue_task_mgmt()
3903 sess->vha->vp_idx, res); in qlt_issue_task_mgmt()
3932 "non-existant session\n", vha->vp_idx, fn); in qlt_handle_task_mgmt()
3957 vha->vp_idx, __func__); in __qlt_abort_task()
3975 vha->vp_idx, rc); in __qlt_abort_task()
3997 "session\n", vha->vp_idx); in qlt_abort_task()
4157 vha->vp_idx, iocb->u.isp24.port_id, iocb->u.isp24.status_subcode); in qlt_24xx_handle_els()
4300 "received\n", vha->vp_idx, iocb->u.isp24.status_subcode); in qlt_24xx_handle_els()
4426 cmd->vha->vp_idx, rel_offs); in qlt_srr_adjust_data()
4492 vha->vp_idx, se_cmd->tag, in qlt_handle_srr()
4527 vha->vp_idx, se_cmd->tag, cmd->se_cmd.scsi_status); in qlt_handle_srr()
4534 vha->vp_idx, srr_ui); in qlt_handle_srr()
4613 vha->vp_idx, i, i->srr_id, sctio); in qlt_handle_srr_work()
4676 vha->vp_idx); in qlt_prepare_srr_imm()
4708 "SRR %p\n", vha->vp_idx, tgt->ctio_srr_id, in qlt_prepare_srr_imm()
4724 "entry, SRR request will be rejected\n", vha->vp_idx); in qlt_prepare_srr_imm()
4770 vha->vp_idx, le16_to_cpu(iocb->u.isp24.nport_handle), in qlt_handle_imm_notify()
4783 "subcode %x)\n", vha->vp_idx, in qlt_handle_imm_notify()
4803 "%#x, subcode %x)\n", vha->vp_idx, in qlt_handle_imm_notify()
4814 "qla_target(%d): Global TPRLO (%x)\n", vha->vp_idx, status); in qlt_handle_imm_notify()
4822 "qla_target(%d): Port config changed (%x)\n", vha->vp_idx, in qlt_handle_imm_notify()
4832 vha->vp_idx); in qlt_handle_imm_notify()
4842 "resource count)\n", vha->vp_idx); in qlt_handle_imm_notify()
4848 "L %#x)\n", vha->vp_idx, in qlt_handle_imm_notify()
4859 vha->vp_idx, vha->host_no); in qlt_handle_imm_notify()
4865 vha->vp_idx, iocb->u.isp2x.task_flags); in qlt_handle_imm_notify()
4883 "notify status %x\n", vha->vp_idx, status); in qlt_handle_imm_notify()
4915 "request packet", vha->vp_idx, __func__); in __qlt_send_busy()
4926 ctio24->vp_index = vha->vp_idx; in __qlt_send_busy()
4978 vha->vp_idx, __func__, in qlt_alloc_qfull_cmd()
5000 vha->vp_idx, __func__); in qlt_alloc_qfull_cmd()
5157 "sending QUEUE_FULL\n", vha->vp_idx); in qlt_24xx_atio_pkt()
5191 "status.\n", vha->vp_idx); in qlt_24xx_atio_pkt()
5203 "with error status %x\n", vha->vp_idx, in qlt_24xx_atio_pkt()
5216 "type %x\n", vha->vp_idx, atio->u.raw.entry_type); in qlt_24xx_atio_pkt()
5233 "tgt (ha %p)\n", vha->vp_idx, pkt->entry_type, ha); in qlt_response_pkt()
5263 "status %x received\n", vha->vp_idx, in qlt_response_pkt()
5294 "status\n", vha->vp_idx); in qlt_response_pkt()
5337 "failed %x\n", vha->vp_idx, in qlt_response_pkt()
5343 vha->vp_idx); in qlt_response_pkt()
5349 "ABTS_RECV_24XX: instance %d\n", vha->vp_idx); in qlt_response_pkt()
5386 vha->vp_idx, entry->compl_status, in qlt_response_pkt()
5393 "received\n", vha->vp_idx); in qlt_response_pkt()
5400 "type %x\n", vha->vp_idx, pkt->entry_type); in qlt_response_pkt()
5443 "occurred", vha->vp_idx, code); in qlt_async_event()
5453 "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, in qlt_async_event()
5470 "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, code, in qlt_async_event()
5479 "m[2]=%x, m[3]=%x)", vha->vp_idx, code, in qlt_async_event()
5509 vha->vp_idx); in qlt_get_port_database()
5520 "(loop_id=0x%04x)", vha->vp_idx, rc, loop_id); in qlt_get_port_database()
5556 vha->vp_idx, s_id[0], s_id[1], in qlt_make_local_sess()
5569 "(counter was %d, new %d), retrying", vha->vp_idx, in qlt_make_local_sess()
5793 base_vha->vp_idx); in qlt_add_target()
6019 if (vha->vp_idx) { in qlt_enable_vha()
6485 vha->hw->tgt.tgt_vp_map[vha->vp_idx].vha = vha; in qlt_update_vp_map()
6488 vha->hw->tgt.tgt_vp_map[vha->d_id.b.al_pa].idx = vha->vp_idx; in qlt_update_vp_map()
6491 vha->hw->tgt.tgt_vp_map[vha->vp_idx].vha = NULL; in qlt_update_vp_map()