Searched refs:rcfw (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.10/drivers/infiniband/hw/bnxt_re/ |
| D | qplib_rcfw.c | 56 static int __wait_for_resp(struct bnxt_qplib_rcfw *rcfw, u16 cookie) in __wait_for_resp() argument 62 cmdq = &rcfw->cmdq; in __wait_for_resp() 63 cbit = cookie % rcfw->cmdq_depth; in __wait_for_resp() 70 static int __block_for_resp(struct bnxt_qplib_rcfw *rcfw, u16 cookie) in __block_for_resp() argument 76 cmdq = &rcfw->cmdq; in __block_for_resp() 77 cbit = cookie % rcfw->cmdq_depth; in __block_for_resp() 82 bnxt_qplib_service_creq(&rcfw->creq.creq_tasklet); in __block_for_resp() 88 static int __send_message(struct bnxt_qplib_rcfw *rcfw, struct cmdq_base *req, in __send_message() argument 91 struct bnxt_qplib_cmdq_ctx *cmdq = &rcfw->cmdq; in __send_message() 102 pdev = rcfw->pdev; in __send_message() [all …]
|
| D | qplib_rcfw.h | 192 void bnxt_qplib_free_rcfw_channel(struct bnxt_qplib_rcfw *rcfw); 194 struct bnxt_qplib_rcfw *rcfw, 197 void bnxt_qplib_rcfw_stop_irq(struct bnxt_qplib_rcfw *rcfw, bool kill); 198 void bnxt_qplib_disable_rcfw_channel(struct bnxt_qplib_rcfw *rcfw); 199 int bnxt_qplib_rcfw_start_irq(struct bnxt_qplib_rcfw *rcfw, int msix_vector, 201 int bnxt_qplib_enable_rcfw_channel(struct bnxt_qplib_rcfw *rcfw, 207 struct bnxt_qplib_rcfw *rcfw, 209 void bnxt_qplib_rcfw_free_sbuf(struct bnxt_qplib_rcfw *rcfw, 211 int bnxt_qplib_rcfw_send_message(struct bnxt_qplib_rcfw *rcfw, 215 int bnxt_qplib_deinit_rcfw(struct bnxt_qplib_rcfw *rcfw); [all …]
|
| D | qplib_sp.c | 57 static void bnxt_qplib_query_version(struct bnxt_qplib_rcfw *rcfw, in bnxt_qplib_query_version() argument 67 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_query_version() 77 int bnxt_qplib_get_dev_attr(struct bnxt_qplib_rcfw *rcfw, in bnxt_qplib_get_dev_attr() argument 91 sbuf = bnxt_qplib_rcfw_alloc_sbuf(rcfw, sizeof(*sb)); in bnxt_qplib_get_dev_attr() 93 dev_err(&rcfw->pdev->dev, in bnxt_qplib_get_dev_attr() 100 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp, in bnxt_qplib_get_dev_attr() 122 attr->max_qp_sges = bnxt_qplib_is_chip_gen_p5(rcfw->res->cctx) ? in bnxt_qplib_get_dev_attr() 154 bnxt_qplib_query_version(rcfw, attr->fw_ver); in bnxt_qplib_get_dev_attr() 167 bnxt_qplib_rcfw_free_sbuf(rcfw, sbuf); in bnxt_qplib_get_dev_attr() 172 struct bnxt_qplib_rcfw *rcfw, in bnxt_qplib_set_func_resources() argument [all …]
|
| D | main.c | 102 rdev->rcfw.res = NULL; in bnxt_re_destroy_chip_ctx() 127 rdev->rcfw.res = &rdev->qplib_res; in bnxt_re_setup_chip_ctx() 240 bnxt_qplib_set_func_resources(&rdev->qplib_res, &rdev->rcfw, in bnxt_re_sriov_config() 260 struct bnxt_qplib_rcfw *rcfw = &rdev->rcfw; in bnxt_re_stop_irq() local 269 bnxt_qplib_rcfw_stop_irq(rcfw, false); in bnxt_re_stop_irq() 276 struct bnxt_qplib_rcfw *rcfw = &rdev->rcfw; in bnxt_re_start_irq() local 296 bnxt_qplib_rcfw_start_irq(rcfw, msix_ent[BNXT_RE_AEQ_IDX].vector, in bnxt_re_start_irq() 864 static int bnxt_re_aeq_handler(struct bnxt_qplib_rcfw *rcfw, in bnxt_re_aeq_handler() argument 950 if (rdev->qplib_res.rcfw) in bnxt_re_cleanup_res() 1004 if (rdev->qplib_res.rcfw) { in bnxt_re_free_res() [all …]
|
| D | qplib_fp.c | 582 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_destroy_srq() local 593 rc = bnxt_qplib_rcfw_send_message(rcfw, (struct cmdq_base *)&req, in bnxt_qplib_destroy_srq() 604 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_srq() local 646 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_create_srq() 701 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_query_srq() local 713 sbuf = bnxt_qplib_rcfw_alloc_sbuf(rcfw, sizeof(*sb)); in bnxt_qplib_query_srq() 717 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp, in bnxt_qplib_query_srq() 720 bnxt_qplib_rcfw_free_sbuf(rcfw, sbuf); in bnxt_qplib_query_srq() 811 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_qp1() local 892 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_create_qp1() [all …]
|
| D | qplib_sp.h | 243 int bnxt_qplib_get_dev_attr(struct bnxt_qplib_rcfw *rcfw, 246 struct bnxt_qplib_rcfw *rcfw, 266 int bnxt_qplib_get_roce_stats(struct bnxt_qplib_rcfw *rcfw,
|
| D | bnxt_re.h | 160 struct bnxt_qplib_rcfw rcfw; member
|
| D | hw_counters.c | 148 rc = bnxt_qplib_get_roce_stats(&rdev->rcfw, &rdev->stats); in bnxt_re_ib_get_hw_stats()
|
| D | qplib_res.h | 263 struct bnxt_qplib_rcfw *rcfw; member
|