Home
last modified time | relevance | path

Searched refs:vp_idx (Results 1 – 16 of 16) sorted by relevance

/drivers/scsi/qla2xxx/
Dqla_mid.c22 if (vha->vp_idx && vha->timer_active) { in qla2x00_vp_stop_timer()
48 vha->vp_idx = vp_id; in qla24xx_allocate_vp_id()
102 vp_id = vha->vp_idx; in qla24xx_deallocate_vp_id()
155 fcport->loop_id, fcport->vha->vp_idx); in qla2x00_mark_vp_devices_dead()
237 "Virtual port with id: %d - Enabled.\n", vha->vp_idx); in qla24xx_enable_vp()
242 "Virtual port with id: %d - Disabled.\n", vha->vp_idx); in qla24xx_enable_vp()
256 ret = qla2x00_send_change_request(vha, 0x3, vha->vp_idx); in qla24xx_configure_vp()
284 if (vha->vp_idx) { in qla2x00_alert_all_vps()
305 if ((mb[3] & 0xff) == vha->vp_idx) { in qla2x00_alert_all_vps()
353 "Scheduling enable of Vport %d.\n", vha->vp_idx); in qla2x00_vp_abort_isp()
[all …]
Dqla_target.c180 vha->vp_idx); in qlt_issue_marker()
210 uint16_t vp_idx) in qlt_find_host_by_vp_idx() argument
214 if (vha->vp_idx == vp_idx) in qlt_find_host_by_vp_idx()
218 if (likely(test_bit(vp_idx, ha->vp_idx_map))) in qlt_find_host_by_vp_idx()
219 return ha->tgt.tgt_vp_map[vp_idx].vha; in qlt_find_host_by_vp_idx()
256 vha->vp_idx); in qlt_queue_unknown_atio()
344 __func__, vha->vp_idx, atio->u.raw.entry_type, in qlt_24xx_atio_pkt_all_vps()
355 "with unknown d_id %x:%x:%x\n", vha->vp_idx, in qlt_24xx_atio_pkt_all_vps()
388 vha->vp_idx, entry->u.isp24.vp_index); in qlt_24xx_atio_pkt_all_vps()
413 vha->vp_idx, entry->vp_index); in qlt_24xx_atio_pkt_all_vps()
[all …]
Dqla_iocb.c534 mrk24->vp_index = vha->vp_idx; in __qla2x00_marker()
1375 cmd_pkt->vp_index = sp->vha->vp_idx; in qla24xx_build_scsi_crc_2_iocbs()
1642 cmd_pkt->vp_index = sp->vha->vp_idx; in qla24xx_start_scsi()
2007 cmd_pkt->vp_index = sp->fcport->vha->vp_idx; in qla2xxx_start_scsi_mq()
2412 logio->vp_index = sp->vha->vp_idx; in qla24xx_prli_iocb()
2442 logio->vp_index = sp->vha->vp_idx; in qla24xx_login_iocb()
2466 mbx->mb9 = cpu_to_le16(sp->vha->vp_idx); in qla2x00_login_iocb()
2489 logio->vp_index = sp->vha->vp_idx; in qla24xx_logout_iocb()
2506 mbx->mb9 = cpu_to_le16(sp->vha->vp_idx); in qla2x00_logout_iocb()
2516 logio->vp_index = sp->vha->vp_idx; in qla24xx_adisc_iocb()
[all …]
Dqla_edif.h109 uint8_t vp_idx; member
Dqla_attr.c2609 if (vha->vp_idx) { in qla2x00_get_host_port_type()
3063 "VP entry id %d assigned.\n", vha->vp_idx); in qla24xx_vport_create()
3109 "scsi_add_host failure for VP[%d].\n", vha->vp_idx); in qla24xx_vport_create()
3139 qpair = qla2xxx_create_qpair(vha, qos, vha->vp_idx, true); in qla24xx_vport_create()
3143 vha->vp_idx); in qla24xx_vport_create()
3147 qpair->id, qos, vha->vp_idx); in qla24xx_vport_create()
3150 qpair->id, qos, vha->vp_idx); in qla24xx_vport_create()
3172 uint16_t id = vha->vp_idx; in qla24xx_vport_delete()
3202 "Timer for the VP[%d] has stopped\n", vha->vp_idx); in qla24xx_vport_delete()
3209 clear_bit(vha->vp_idx, ha->vp_idx_map); in qla24xx_vport_delete()
[all …]
Dqla_isr.c123 abts_rsp->vp_idx = abts->vp_idx; in qla24xx_process_abts()
617 if (vha->hw->notify_dcbx_comp && !vha->vp_idx) in qla81xx_idc_event()
1298 if (vha->vp_idx) { in qla2x00_async_event()
1358 if (!vha->vp_idx) { in qla2x00_async_event()
1377 if (vha->vp_idx) { in qla2x00_async_event()
1397 if (vha->vp_idx) { in qla2x00_async_event()
1420 if (ha->notify_dcbx_comp && !vha->vp_idx) in qla2x00_async_event()
1440 if (vha->vp_idx) { in qla2x00_async_event()
1469 if (vha->vp_idx) { in qla2x00_async_event()
1496 (mb[1] != 0xffff)) && vha->vp_idx != (mb[3] & 0xff)) in qla2x00_async_event()
[all …]
Dqla_mbx.c1596 mcp->mb[9] = vha->vp_idx; in qla2x00_abort_target()
1642 mcp->mb[9] = vha->vp_idx; in qla2x00_lun_reset()
1698 mcp->mb[9] = vha->vp_idx; in qla2x00_get_adapter_id()
1984 mcp->mb[9] = vha->vp_idx; in qla2x00_get_port_database()
2275 mcp->mb[9] = vha->vp_idx; in qla2x00_get_port_name()
2507 if (vha->vp_idx && vha->qpair) in qla24xx_login_fabric()
2531 lg->vp_index = vha->vp_idx; in qla24xx_login_fabric()
2799 lg->vp_index = vha->vp_idx; in qla24xx_fabric_logout()
2963 mcp->mb[9] = vha->vp_idx; in qla2x00_get_id_list()
3212 mc.mb[9] = vha->vp_idx; in qla24xx_get_isp_stats()
[all …]
Dqla_edif.c2105 if (!vha->vp_idx && N2N_TOPO(ha) && ha->flags.n2n_fw_acc_sec) { in qla_edif_timer()
2327 sa_update_iocb->vp_index = sp->fcport->vha->vp_idx; in qla24xx_sa_update_iocb()
2382 sa_update_iocb->vp_index = sp->fcport->vha->vp_idx; in qla24xx_sa_replace_iocb()
2426 a.vp_idx = vha->vp_idx; in qla24xx_auth_els()
2475 purex->pur_info.vp_idx = p->vp_idx; in qla24xx_auth_els()
3025 cmd_pkt->vp_index = sp->vha->vp_idx; in qla28xx_start_scsi_edif()
3416 a->vp_idx = sp->vha->vp_idx; in qla_parse_auth_els_ctl()
Dqla_fw.h743 uint8_t vp_idx; member
1044 uint8_t vp_idx; member
1521 uint8_t vp_idx; /* Format 0=reserved */ member
Dqla_nvme.c124 qpair = qla2xxx_create_qpair(vha, 5, vha->vp_idx, true); in qla_nvme_alloc_queue()
516 cmd_pkt->vp_index = sp->fcport->vha->vp_idx; in qla2x00_start_nvme_mq()
Dqla_os.c1379 if (vha->vp_idx != sp->vha->vp_idx) in __qla2x00_eh_wait_for_pending_commands()
3244 base_vha->vp_idx; in qla2x00_probe_one()
4059 vha->vp_idx == fcport->vha->vp_idx) { in qla2x00_mark_device_lost()
6085 rsp_els->vp_index = purex->vp_idx; in qla24xx_process_purex_rdp()
7284 if (vha->vp_idx) in qla_heart_beat()
7385 if (!vha->vp_idx && IS_P3P_TYPE(ha)) { in qla2x00_timer()
7394 if (!vha->vp_idx && IS_QLAFX00(ha)) in qla2x00_timer()
7427 if (!vha->vp_idx) { in qla2x00_timer()
7463 if (!(vha->device_flags & DFLG_NO_CABLE) && !vha->vp_idx) { in qla2x00_timer()
7480 if (!vha->vp_idx && (ha->beacon_blink_led == 1)) { in qla2x00_timer()
[all …]
Dqla_def.h655 u8 vp_idx; member
3677 uint16_t vp_idx; member
3706 uint16_t vp_idx; member
3771 uint16_t vp_idx; /* vport ID */ member
4986 uint16_t vp_idx; /* vport ID */ member
5383 (ql2xautodetectsfp && !vha->vp_idx && IS_BPM_CAPABLE(vha->hw))
Dqla_init.c1178 mb[9] = vha->vp_idx; in qla24xx_async_gnl()
1417 mb[9] = vha->vp_idx; in qla24xx_async_gpdb()
2101 tm_iocb->u.tmf.vp_index = vha->vp_idx; in qla26xx_marker()
6756 int lid = NPH_MGMT_SERVER - vha->vp_idx; in qla2x00_reserve_mgmt_server_loop_id()
6760 if (vha->vp_idx == 0) { in qla2x00_reserve_mgmt_server_loop_id()
7732 if (vp->vp_idx) { in qla2x00_abort_isp()
8991 if (!vha->vp_idx) in qla24xx_configure_vhba()
9489 if (vp->vp_idx) { in qla82xx_restart_isp()
9686 int vp_idx, bool startqp) in qla2xxx_create_qpair() argument
9729 qpair->vp_idx = vp_idx; in qla2xxx_create_qpair()
[all …]
Dqla_target.h910 uint16_t vp_idx; member
Dqla_gs.c90 ct_pkt->vp_index = vha->vp_idx; in qla24xx_prep_ms_iocb()
1460 ct_pkt->vp_index = vha->vp_idx; in qla24xx_prep_ms_fdmi_iocb()
2115 eiter->a.smartsan_port_info = cpu_to_be32(vha->vp_idx ? 2 : 1); in qla2x00_port_attributes()
2464 if (vha->vp_idx) { in qla2x00_fdmi_register()
2956 (vha->vp_idx && test_bit(VPORT_DELETE, &vha->dpc_flags))) in qla24xx_post_gpnid_work()
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c2438 int vp_idx = 0, intr_idx = 0, intr_cnt = 0, msix_idx = 0, irq_req = 0; in vxge_add_isr() local
2466 pci_fun, vp_idx); in vxge_add_isr()
2471 &vdev->vpaths[vp_idx].fifo); in vxge_add_isr()
2473 &vdev->vpaths[vp_idx].fifo; in vxge_add_isr()
2481 pci_fun, vp_idx); in vxge_add_isr()
2486 &vdev->vpaths[vp_idx].ring); in vxge_add_isr()
2488 &vdev->vpaths[vp_idx].ring; in vxge_add_isr()
2508 msix_idx += vdev->vpaths[vp_idx].device_id * in vxge_add_isr()
2511 vdev->vpaths[vp_idx].handle, in vxge_add_isr()
2518 (vp_idx < (vdev->no_of_vpath - 1))) in vxge_add_isr()
[all …]