Home
last modified time | relevance | path

Searched refs:rcfw (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/drivers/infiniband/hw/bnxt_re/
H A Dqplib_rcfw.c118 cmdq = &rcfw->cmdq; in bnxt_re_is_fw_stalled()
151 cmdq = &rcfw->cmdq; in __wait_for_resp()
296 cmdq = &rcfw->cmdq; in __send_message()
298 pdev = rcfw->pdev; in __send_message()
614 rc = rcfw->creq.aeq_handler(rcfw, (void *)func_event, NULL); in bnxt_qplib_process_func_event()
633 pdev = rcfw->pdev; in bnxt_qplib_process_qp_event()
646 rc = rcfw->creq.aeq_handler(rcfw, qp_event, qp); in bnxt_qplib_process_qp_event()
919 bnxt_qplib_free_hwq(rcfw->res, &rcfw->cmdq.hwq); in bnxt_qplib_free_rcfw_channel()
920 bnxt_qplib_free_hwq(rcfw->res, &rcfw->creq.hwq); in bnxt_qplib_free_rcfw_channel()
936 rcfw->res = res; in bnxt_qplib_alloc_rcfw_channel()
[all …]
H A Dqplib_rcfw.h262 void bnxt_qplib_free_rcfw_channel(struct bnxt_qplib_rcfw *rcfw);
264 struct bnxt_qplib_rcfw *rcfw,
266 void bnxt_qplib_rcfw_stop_irq(struct bnxt_qplib_rcfw *rcfw, bool kill);
267 void bnxt_qplib_disable_rcfw_channel(struct bnxt_qplib_rcfw *rcfw);
270 int bnxt_qplib_enable_rcfw_channel(struct bnxt_qplib_rcfw *rcfw,
276 struct bnxt_qplib_rcfw *rcfw,
278 void bnxt_qplib_rcfw_free_sbuf(struct bnxt_qplib_rcfw *rcfw,
280 int bnxt_qplib_rcfw_send_message(struct bnxt_qplib_rcfw *rcfw,
283 int bnxt_qplib_deinit_rcfw(struct bnxt_qplib_rcfw *rcfw);
284 int bnxt_qplib_init_rcfw(struct bnxt_qplib_rcfw *rcfw,
[all …]
H A Dqplib_sp.c104 cctx = rcfw->res->cctx; in bnxt_qplib_get_dev_attr()
257 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_del_sgid() local
317 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_add_sgid() local
407 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_update_sgid() local
444 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_ah() local
490 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_destroy_ah() local
513 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_free_mrw() local
551 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_alloc_mrw() local
590 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_dereg_mrw() local
620 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_reg_mr() local
[all …]
H A Dmain.c157 rdev->rcfw.res = NULL; in bnxt_re_destroy_chip_ctx()
435 struct bnxt_qplib_rcfw *rcfw; in bnxt_re_stop_irq() local
443 rcfw = &rdev->rcfw; in bnxt_re_stop_irq()
465 struct bnxt_qplib_rcfw *rcfw; in bnxt_re_start_irq() local
474 rcfw = &rdev->rcfw; in bnxt_re_start_irq()
1677 if (rdev->qplib_res.rcfw) in bnxt_re_cleanup_res()
1734 if (rdev->qplib_res.rcfw) { in bnxt_re_free_res()
1736 rdev->qplib_res.rcfw = NULL; in bnxt_re_free_res()
1748 rdev->qplib_res.rcfw = &rdev->rcfw; in bnxt_re_alloc_res()
1804 rdev->qplib_res.rcfw = NULL; in bnxt_re_alloc_res()
[all …]
H A Dqplib_fp.c621 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_destroy_srq() local
645 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_srq() local
741 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_query_srq() local
847 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_qp1() local
988 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_qp() local
1338 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_modify_qp() local
1460 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_query_qp() local
1596 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_destroy_qp() local
2216 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_cq() local
2320 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_resize_cq() local
[all …]
H A Dqplib_sp.h329 int bnxt_qplib_get_dev_attr(struct bnxt_qplib_rcfw *rcfw);
331 struct bnxt_qplib_rcfw *rcfw,
350 int bnxt_qplib_get_roce_stats(struct bnxt_qplib_rcfw *rcfw,
352 int bnxt_qplib_qext_stat(struct bnxt_qplib_rcfw *rcfw, u32 fid,
356 int bnxt_qplib_read_context(struct bnxt_qplib_rcfw *rcfw, u8 type, u32 xid,
H A Dbnxt_re.h194 struct bnxt_qplib_rcfw rcfw; member
264 rdev->rcfw.res->cctx->hwrm_intf_ver < HWRM_VERSION_READ_CTX) in bnxt_re_read_context_allowed()
H A Dqplib_res.c874 kfree(res->rcfw->qp_tbl); in bnxt_qplib_free_res()
882 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_alloc_res() local
890 rcfw->qp_tbl_size = max_t(u32, BNXT_RE_MAX_QPC_COUNT + 1, dev_attr->max_qp); in bnxt_qplib_alloc_res()
891 rcfw->qp_tbl = kcalloc(rcfw->qp_tbl_size, sizeof(struct bnxt_qplib_qp_node), in bnxt_qplib_alloc_res()
893 if (!rcfw->qp_tbl) in bnxt_qplib_alloc_res()
H A Dhw_counters.c183 rc = bnxt_qplib_qext_stat(&rdev->rcfw, fid, estat); in bnxt_re_get_ext_stat()
303 rc = bnxt_qplib_qext_stat(&rdev->rcfw, fid, estat); in bnxt_re_assign_pma_port_ext_counters()
348 rc = bnxt_qplib_qext_stat(&rdev->rcfw, fid, estat); in bnxt_re_assign_pma_port_counters()
436 rc = bnxt_qplib_get_roce_stats(&rdev->rcfw, err_s); in bnxt_re_ib_get_hw_stats()
H A Dqplib_res.h315 struct bnxt_qplib_rcfw *rcfw; member