Home
last modified time | relevance | path

Searched refs:phba (Results 1 – 25 of 34) sorted by relevance

12

/drivers/scsi/lpfc/
Dlpfc_init.c73 static void __lpfc_cpuhp_remove(struct lpfc_hba *phba);
74 static void lpfc_cpuhp_remove(struct lpfc_hba *phba);
75 static void lpfc_cpuhp_add(struct lpfc_hba *phba);
87 static int lpfc_hba_down_post_s3(struct lpfc_hba *phba);
88 static int lpfc_hba_down_post_s4(struct lpfc_hba *phba);
94 static void lpfc_sli4_oas_verify(struct lpfc_hba *phba);
98 static void lpfc_sli4_prep_dev_for_reset(struct lpfc_hba *phba);
104 static int lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport);
121 lpfc_config_port_prep(struct lpfc_hba *phba) in lpfc_config_port_prep() argument
123 lpfc_vpd_t *vp = &phba->vpd; in lpfc_config_port_prep()
[all …]
Dlpfc_mem.c52 lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) { in lpfc_mem_alloc_active_rrq_pool_s4() argument
54 int max_xri = phba->sli4_hba.max_cfg_param.max_xri; in lpfc_mem_alloc_active_rrq_pool_s4()
60 phba->cfg_rrq_xri_bitmap_sz = bytes; in lpfc_mem_alloc_active_rrq_pool_s4()
61 phba->active_rrq_pool = mempool_create_kmalloc_pool(LPFC_MEM_POOL_SIZE, in lpfc_mem_alloc_active_rrq_pool_s4()
63 if (!phba->active_rrq_pool) in lpfc_mem_alloc_active_rrq_pool_s4()
86 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc() argument
88 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in lpfc_mem_alloc()
92 phba->lpfc_mbuf_pool = dma_pool_create("lpfc_mbuf_pool", &phba->pcidev->dev, in lpfc_mem_alloc()
95 if (!phba->lpfc_mbuf_pool) in lpfc_mem_alloc()
107 pool->elements[i].virt = dma_pool_alloc(phba->lpfc_mbuf_pool, in lpfc_mem_alloc()
[all …]
Dlpfc_sli.c74 lpfc_sli4_els_preprocess_rspiocbq(struct lpfc_hba *phba,
80 static bool lpfc_sli4_fp_handle_cqe(struct lpfc_hba *phba,
84 static void lpfc_sli4_hba_handle_eqe(struct lpfc_hba *phba,
87 static bool lpfc_sli4_mbox_completions_pending(struct lpfc_hba *phba);
88 static bool lpfc_sli4_process_missed_mbox_completions(struct lpfc_hba *phba);
90 static void __lpfc_sli4_consume_cqe(struct lpfc_hba *phba,
93 static uint16_t lpfc_wqe_bpl2sgl(struct lpfc_hba *phba,
292 if (q->phba->sli3_options & LPFC_SLI4_PHWQ_ENABLED) in lpfc_sli4_wq_put()
295 if (q->dpp_enable && q->phba->cfg_enable_dpp) { in lpfc_sli4_wq_put()
319 if (q->dpp_enable && q->phba->cfg_enable_dpp) { in lpfc_sli4_wq_put()
[all …]
Dlpfc_attr.c123 struct lpfc_hba *phba = vport->phba; in lpfc_cmf_info_show() local
131 if (phba->cgn_i) in lpfc_cmf_info_show()
132 cp = (struct lpfc_cgn_info *)phba->cgn_i->virt; in lpfc_cmf_info_show()
137 phba->sli4_hba.pc_sli4_params.mi_ver, in lpfc_cmf_info_show()
139 phba->sli4_hba.pc_sli4_params.cmf, phba->cmf_timer_cnt); in lpfc_cmf_info_show()
144 if (!phba->sli4_hba.pc_sli4_params.cmf) in lpfc_cmf_info_show()
147 switch (phba->cgn_init_reg_signal) { in lpfc_cmf_info_show()
164 switch (phba->cgn_init_reg_fpin) { in lpfc_cmf_info_show()
185 switch (phba->cgn_reg_signal) { in lpfc_cmf_info_show()
202 switch (phba->cgn_reg_fpin) { in lpfc_cmf_info_show()
[all …]
Dlpfc_hbadisc.c75 static void lpfc_check_inactive_vmid(struct lpfc_hba *phba);
76 static void lpfc_check_vmid_qfpa_issue(struct lpfc_hba *phba);
155 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_callbk() local
164 phba = vport->phba; in lpfc_dev_loss_tmo_callbk()
234 if (phba->worker_thread) { in lpfc_dev_loss_tmo_callbk()
240 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_dev_loss_tmo_callbk()
243 list_add_tail(&evtp->evt_listp, &phba->work_list); in lpfc_dev_loss_tmo_callbk()
244 lpfc_worker_wake_up(phba); in lpfc_dev_loss_tmo_callbk()
246 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_dev_loss_tmo_callbk()
349 static void lpfc_check_inactive_vmid(struct lpfc_hba *phba) in lpfc_check_inactive_vmid() argument
[all …]
Dlpfc_bsg.c130 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers() argument
137 lpfc_mbuf_free(phba, mlast->virt, mlast->phys); in lpfc_free_bsg_buffers()
141 lpfc_mbuf_free(phba, mlist->virt, mlist->phys); in lpfc_free_bsg_buffers()
148 lpfc_alloc_bsg_buffers(struct lpfc_hba *phba, unsigned int size, in lpfc_alloc_bsg_buffers() argument
170 lpfc_free_bsg_buffers(phba, mlist); in lpfc_alloc_bsg_buffers()
175 mp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(mp->phys)); in lpfc_alloc_bsg_buffers()
180 lpfc_free_bsg_buffers(phba, mlist); in lpfc_alloc_bsg_buffers()
290 lpfc_bsg_send_mgmt_cmd_cmp(struct lpfc_hba *phba, in lpfc_bsg_send_mgmt_cmd_cmp() argument
307 spin_lock_irqsave(&phba->ct_ev_lock, flags); in lpfc_bsg_send_mgmt_cmd_cmp()
314 spin_unlock_irqrestore(&phba->ct_ev_lock, flags); in lpfc_bsg_send_mgmt_cmd_cmp()
[all …]
Dlpfc_vport.c88 lpfc_alloc_vpi(struct lpfc_hba *phba) in lpfc_alloc_vpi() argument
92 spin_lock_irq(&phba->hbalock); in lpfc_alloc_vpi()
94 vpi = find_next_zero_bit(phba->vpi_bmask, (phba->max_vpi + 1), 1); in lpfc_alloc_vpi()
95 if (vpi > phba->max_vpi) in lpfc_alloc_vpi()
98 set_bit(vpi, phba->vpi_bmask); in lpfc_alloc_vpi()
99 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_alloc_vpi()
100 phba->sli4_hba.max_cfg_param.vpi_used++; in lpfc_alloc_vpi()
101 spin_unlock_irq(&phba->hbalock); in lpfc_alloc_vpi()
106 lpfc_free_vpi(struct lpfc_hba *phba, int vpi) in lpfc_free_vpi() argument
110 spin_lock_irq(&phba->hbalock); in lpfc_free_vpi()
[all …]
Dlpfc_nvmet.c217 lpfc_nvmet_get_ctx_for_xri(struct lpfc_hba *phba, u16 xri) in lpfc_nvmet_get_ctx_for_xri() argument
223 spin_lock_irqsave(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_xri()
224 list_for_each_entry(ctxp, &phba->sli4_hba.t_active_ctx_list, list) { in lpfc_nvmet_get_ctx_for_xri()
231 spin_unlock_irqrestore(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_xri()
239 lpfc_nvmet_get_ctx_for_oxid(struct lpfc_hba *phba, u16 oxid, u32 sid) in lpfc_nvmet_get_ctx_for_oxid() argument
245 spin_lock_irqsave(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_oxid()
246 list_for_each_entry(ctxp, &phba->sli4_hba.t_active_ctx_list, list) { in lpfc_nvmet_get_ctx_for_oxid()
253 spin_unlock_irqrestore(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_oxid()
262 lpfc_nvmet_defer_release(struct lpfc_hba *phba, in lpfc_nvmet_defer_release() argument
267 lpfc_printf_log(phba, KERN_INFO, LOG_NVME_ABTS, in lpfc_nvmet_defer_release()
[all …]
Dlpfc_debugfs.c212 lpfc_debugfs_slow_ring_trc_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_slow_ring_trc_data() argument
227 index = (atomic_read(&phba->slow_ring_trc_cnt) + 1) & in lpfc_debugfs_slow_ring_trc_data()
230 dtp = phba->slow_ring_trc + i; in lpfc_debugfs_slow_ring_trc_data()
241 dtp = phba->slow_ring_trc + i; in lpfc_debugfs_slow_ring_trc_data()
280 lpfc_debugfs_hbqinfo_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_hbqinfo_data() argument
291 if (phba->sli_rev != 3) in lpfc_debugfs_hbqinfo_data()
294 spin_lock_irq(&phba->hbalock); in lpfc_debugfs_hbqinfo_data()
310 hbqs = &phba->hbqs[i]; in lpfc_debugfs_hbqinfo_data()
321 raw_index = phba->hbq_get[i]; in lpfc_debugfs_hbqinfo_data()
328 hbqe = (struct lpfc_hbq_entry *) phba->hbqs[i].hbq_virt; in lpfc_debugfs_hbqinfo_data()
[all …]
Dlpfc_scsi.c78 if (vport->phba->cfg_fof) in lpfc_rport_data_from_scsi_device()
85 lpfc_release_scsi_buf_s4(struct lpfc_hba *phba, struct lpfc_io_buf *psb);
87 lpfc_release_scsi_buf_s3(struct lpfc_hba *phba, struct lpfc_io_buf *psb);
89 lpfc_prot_group_type(struct lpfc_hba *phba, struct scsi_cmnd *sc);
100 lpfc_sli4_set_rsp_sgl_last(struct lpfc_hba *phba, in lpfc_sli4_set_rsp_sgl_last() argument
124 lpfc_rampdown_queue_depth(struct lpfc_hba *phba) in lpfc_rampdown_queue_depth() argument
130 spin_lock_irqsave(&phba->hbalock, flags); in lpfc_rampdown_queue_depth()
131 atomic_inc(&phba->num_rsrc_err); in lpfc_rampdown_queue_depth()
132 phba->last_rsrc_error_time = jiffies; in lpfc_rampdown_queue_depth()
134 expires = phba->last_ramp_down_time + QUEUE_RAMP_DOWN_INTERVAL; in lpfc_rampdown_queue_depth()
[all …]
Dlpfc_mbox.c63 lpfc_mbox_rsrc_prep(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_mbox_rsrc_prep() argument
71 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_mbox_rsrc_prep()
100 lpfc_mbox_rsrc_cleanup(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox, in lpfc_mbox_rsrc_cleanup() argument
111 __lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_mbox_rsrc_cleanup()
113 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_mbox_rsrc_cleanup()
117 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_mbox_rsrc_cleanup()
133 lpfc_dump_static_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_dump_static_vport() argument
151 if (phba->sli_rev != LPFC_SLI_REV4) { in lpfc_dump_static_vport()
157 rc = lpfc_mbox_rsrc_prep(phba, pmb); in lpfc_dump_static_vport()
159 lpfc_printf_log(phba, KERN_ERR, LOG_MBOX, in lpfc_dump_static_vport()
[all …]
Dlpfc_debugfs.h207 #define lpfc_nvmeio_data(phba, fmt, arg...) \ argument
209 if (phba->nvmeio_trc_on) \
210 lpfc_debugfs_nvme_trc(phba, fmt, ##arg); \
293 #define lpfc_nvmeio_data(phba, fmt, arg...) \ argument
397 dev_printk(KERN_ERR, &(((q->phba))->pcidev)->dev, in lpfc_debug_dump_q()
401 (q->phba)->brd_no, in lpfc_debug_dump_q()
420 lpfc_debug_dump_wq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_wq() argument
426 wq = phba->sli4_hba.hdwq[wqidx].io_wq; in lpfc_debug_dump_wq()
429 wq = phba->sli4_hba.mbx_wq; in lpfc_debug_dump_wq()
432 wq = phba->sli4_hba.els_wq; in lpfc_debug_dump_wq()
[all …]
Dlpfc_els.c57 static int lpfc_issue_fabric_iocb(struct lpfc_hba *phba,
59 static void lpfc_cmpl_els_edc(struct lpfc_hba *phba,
97 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt() local
101 phba->link_state == LPFC_LINK_DOWN || in lpfc_els_chk_latt()
102 phba->sli_rev > LPFC_SLI_REV3) in lpfc_els_chk_latt()
106 if (lpfc_readl(phba->HAregaddr, &ha_copy)) in lpfc_els_chk_latt()
116 phba->pport->port_state); in lpfc_els_chk_latt()
128 if (phba->link_state != LPFC_CLEAR_LA) in lpfc_els_chk_latt()
129 lpfc_issue_clear_la(phba, vport); in lpfc_els_chk_latt()
168 struct lpfc_hba *phba = vport->phba; in lpfc_prep_els_iocb() local
[all …]
Dlpfc_logmsg.h53 void lpfc_dmp_dbg(struct lpfc_hba *phba);
54 void lpfc_dbg_print(struct lpfc_hba *phba, const char *fmt, ...);
59 dev_printk(level, &((vport)->phba->pcidev)->dev, "%d:(%d):" \
60 fmt, (vport)->phba->brd_no, vport->vpi, ##arg); }
62 #define lpfc_log_msg(phba, level, mask, fmt, arg...) \ argument
64 { uint32_t log_verbose = (phba)->pport ? \
65 (phba)->pport->cfg_log_verbose : \
66 (phba)->cfg_log_verbose; \
68 dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
69 fmt, phba->brd_no, ##arg); \
[all …]
Dlpfc_crtn.h35 int lpfc_mbox_rsrc_prep(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox);
36 void lpfc_mbox_rsrc_cleanup(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox,
63 int lpfc_reg_congestion_buf(struct lpfc_hba *phba);
64 int lpfc_unreg_congestion_buf(struct lpfc_hba *phba);
77 int lpfc_init_iocb_list(struct lpfc_hba *phba, int cnt);
78 void lpfc_free_iocb_list(struct lpfc_hba *phba);
79 int lpfc_post_rq_buffer(struct lpfc_hba *phba, struct lpfc_queue *hrq,
81 int lpfc_read_lds_params(struct lpfc_hba *phba);
82 uint32_t lpfc_calc_cmf_latency(struct lpfc_hba *phba);
83 void lpfc_cmf_signal_init(struct lpfc_hba *phba);
[all …]
Dlpfc_ct.c79 lpfc_cmpl_ct_cmd_vmid(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
83 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_ignore_hbq_buffer() argument
87 lpfc_printf_log(phba, KERN_INFO, LOG_ELS, in lpfc_ct_ignore_hbq_buffer()
90 get_job_ulpstatus(phba, piocbq)); in lpfc_ct_ignore_hbq_buffer()
92 lpfc_printf_log(phba, KERN_INFO, LOG_ELS, in lpfc_ct_ignore_hbq_buffer()
95 size, get_job_ulpstatus(phba, piocbq)); in lpfc_ct_ignore_hbq_buffer()
99 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_unsol_buffer() argument
102 lpfc_ct_ignore_hbq_buffer(phba, piocbq, mp, size); in lpfc_ct_unsol_buffer()
115 lpfc_ct_unsol_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_ct_unsol_cmpl() argument
128 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_ct_unsol_cmpl()
[all …]
Dlpfc_nvme.c57 lpfc_get_nvme_buf(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp,
98 vport->phba->hba_flag & HBA_IOQ_FLUSH) in lpfc_nvme_create_queue()
258 lpfc_nvme_handle_lsreq(struct lpfc_hba *phba, in lpfc_nvme_handle_lsreq() argument
276 vport->phba->hba_flag & HBA_IOQ_FLUSH) in lpfc_nvme_handle_lsreq()
286 lpfc_printf_log(phba, KERN_INFO, LOG_NVME_DISC, in lpfc_nvme_handle_lsreq()
313 __lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_vport *vport, in __lpfc_nvme_ls_req_cmp() argument
338 lpfc_nvmeio_data(phba, "NVMEx LS CMPL: xri x%x stat x%x parm x%x\n", in __lpfc_nvme_ls_req_cmp()
342 lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); in __lpfc_nvme_ls_req_cmp()
358 lpfc_sli_release_iocbq(phba, cmdwqe); in __lpfc_nvme_ls_req_cmp()
362 lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvme_ls_req_cmp() argument
[all …]
Dlpfc_nportdisc.c168 lpfc_check_elscmpl_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_check_elscmpl_iocb() argument
174 u32 ulp_status = get_job_ulpstatus(phba, rspiocb); in lpfc_check_elscmpl_iocb()
191 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_check_elscmpl_iocb()
213 lpfc_els_abort(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) in lpfc_els_abort() argument
219 pring = lpfc_phba_elsring(phba); in lpfc_els_abort()
239 spin_lock_irq(&phba->hbalock); in lpfc_els_abort()
240 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_els_abort()
244 if (lpfc_check_sli_ndlp(phba, pring, iocb, ndlp)) in lpfc_els_abort()
247 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_els_abort()
249 spin_unlock_irq(&phba->hbalock); in lpfc_els_abort()
[all …]
Dlpfc.h563 struct lpfc_hba *phba; member
905 (struct lpfc_hba *phba, struct lpfc_nodelist *ndlp,
932 (struct lpfc_hba *phba, uint32_t ring_number,
936 int (*lpfc_hba_down_post)(struct lpfc_hba *phba);
946 (struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
1644 lpfc_set_loopback_flag(struct lpfc_hba *phba) in lpfc_set_loopback_flag() argument
1646 if (phba->cfg_topology == FLAGS_LOCAL_LB) in lpfc_set_loopback_flag()
1647 phba->link_flag |= LS_LOOPBACK_MODE; in lpfc_set_loopback_flag()
1649 phba->link_flag &= ~LS_LOOPBACK_MODE; in lpfc_set_loopback_flag()
1653 lpfc_is_link_up(struct lpfc_hba *phba) in lpfc_is_link_up() argument
[all …]
/drivers/scsi/be2iscsi/
Dbe_main.c75 struct beiscsi_hba *phba = iscsi_host_priv(shost); \
77 phba->attr_##_name);\
82 beiscsi_##_name##_change(struct beiscsi_hba *phba, uint32_t val)\
85 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_INIT,\
88 phba->attr_##_name, val); \
89 phba->attr_##_name = val;\
92 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_INIT, \
106 struct beiscsi_hba *phba = iscsi_host_priv(shost);\
112 if (beiscsi_##_name##_change(phba, param_val) == 0) \
120 beiscsi_##_name##_init(struct beiscsi_hba *phba, uint32_t val) \
[all …]
Dbe_iscsi.c43 struct beiscsi_hba *phba; in beiscsi_session_create() local
54 phba = beiscsi_ep->phba; in beiscsi_session_create()
56 if (!beiscsi_hba_is_online(phba)) { in beiscsi_session_create()
57 beiscsi_log(phba, KERN_INFO, BEISCSI_LOG_CONFIG, in beiscsi_session_create()
58 "BS_%d : HBA in error 0x%lx\n", phba->state); in beiscsi_session_create()
62 beiscsi_log(phba, KERN_INFO, BEISCSI_LOG_CONFIG, in beiscsi_session_create()
64 if (cmds_max > beiscsi_ep->phba->params.wrbs_per_cxn) { in beiscsi_session_create()
65 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_CONFIG, in beiscsi_session_create()
69 beiscsi_ep->phba->params.wrbs_per_cxn, in beiscsi_session_create()
70 beiscsi_ep->phba->params.wrbs_per_cxn); in beiscsi_session_create()
[all …]
Dbe_cmds.c88 struct be_mcc_wrb *alloc_mcc_wrb(struct beiscsi_hba *phba, in alloc_mcc_wrb() argument
91 struct be_queue_info *mccq = &phba->ctrl.mcc_obj.q; in alloc_mcc_wrb()
95 spin_lock(&phba->ctrl.mcc_lock); in alloc_mcc_wrb()
97 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_INIT | in alloc_mcc_wrb()
100 mccq->used, phba->ctrl.mcc_tag_available); in alloc_mcc_wrb()
104 if (!phba->ctrl.mcc_tag_available) in alloc_mcc_wrb()
107 tag = phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index]; in alloc_mcc_wrb()
109 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_INIT | in alloc_mcc_wrb()
112 phba->ctrl.mcc_tag_available, in alloc_mcc_wrb()
113 phba->ctrl.mcc_alloc_index); in alloc_mcc_wrb()
[all …]
Dbe_mgmt.c34 struct beiscsi_hba *phba, in mgmt_vendor_specific_fw_cmd() argument
71 beiscsi_log(phba, KERN_WARNING, BEISCSI_LOG_CONFIG, in mgmt_vendor_specific_fw_cmd()
79 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_vendor_specific_fw_cmd()
92 be_mcc_notify(phba, tag); in mgmt_vendor_specific_fw_cmd()
109 int mgmt_open_connection(struct beiscsi_hba *phba, in mgmt_open_connection() argument
118 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_open_connection()
131 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_CONFIG, in mgmt_open_connection()
137 phwi_ctrlr = phba->phwi_ctrlr; in mgmt_open_connection()
142 def_hdr_id = (unsigned short)HWI_GET_DEF_HDRQ_ID(phba, ulp_num); in mgmt_open_connection()
143 def_data_id = (unsigned short)HWI_GET_DEF_BUFQ_ID(phba, ulp_num); in mgmt_open_connection()
[all …]
Dbe_mgmt.h29 int mgmt_open_connection(struct beiscsi_hba *phba,
35 struct beiscsi_hba *phba,
141 #define GET_MGMT_CONTROLLER_WS(phba) (phba->pmgmt_ws) argument
144 pa->lo = phba->init_mem[ISCSI_MEM_GLOBAL_HEADER].mem_array[0].\
146 pa->hi = phba->init_mem[ISCSI_MEM_GLOBAL_HEADER].mem_array[0].\
154 struct beiscsi_hba *phba; member
166 int beiscsi_mgmt_invalidate_icds(struct beiscsi_hba *phba,
170 int beiscsi_get_initiator_name(struct beiscsi_hba *phba, char *name, bool cfg);
172 int beiscsi_if_en_dhcp(struct beiscsi_hba *phba, u32 ip_type);
174 int beiscsi_if_en_static(struct beiscsi_hba *phba, u32 ip_type,
[all …]
Dbe_main.h252 #define chip_be2(phba) (phba->generation == BE_GEN2) argument
253 #define chip_be3_r(phba) (phba->generation == BE_GEN3) argument
254 #define is_chip_be2_be3r(phba) (chip_be3_r(phba) || (chip_be2(phba))) argument
262 #define BEISCSI_ULP_AVLBL_CID(phba, ulp_num) \ argument
263 (((struct ulp_cid_info *)phba->cid_array_info[ulp_num])->avlbl_cids)
264 #define BEISCSI_ULP0_AVLBL_CID(phba) \ argument
265 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP0)
266 #define BEISCSI_ULP1_AVLBL_CID(phba) \ argument
267 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP1)
300 (phba->cid_to_cri_map[cid] = cri_index)
[all …]

12