Lines Matching refs:qplib_res
193 struct bnxt_qplib_db_pacing_data *pacing_data = rdev->qplib_res.pacing_data; in bnxt_re_update_do_pacing_slabs()
244 hctx = rdev->qplib_res.hctx; in bnxt_re_limit_pf_res()
247 bnxt_qplib_max_res_supported(cctx, &rdev->qplib_res, &dev_res, false); in bnxt_re_limit_pf_res()
274 bnxt_qplib_max_res_supported(cctx, &rdev->qplib_res, &dev_res, true); in bnxt_re_limit_vf_res()
290 hctx = rdev->qplib_res.hctx; in bnxt_re_set_resource_limits()
376 return bnxt_qplib_modify_qp(&rdev->qplib_res, &qp->qplib_qp); in bnxt_re_update_qp1_tos_dscp()
414 rc = bnxt_qplib_modify_cc(&rdev->qplib_res, cc_param); in bnxt_re_reconfigure_dscp()
436 rc = bnxt_qplib_query_cc_param(&rdev->qplib_res, cc_param); in bnxt_re_dcb_wq_task()
541 struct bnxt_qplib_db_pacing_data *pacing_data = rdev->qplib_res.pacing_data; in __wait_for_fifo_occupancy_below_th()
568 struct bnxt_qplib_db_pacing_data *pacing_data = rdev->qplib_res.pacing_data; in bnxt_re_set_default_pacing_data()
602 throttle_val = (rdev->qplib_res.pacing_data->fifo_max_depth * throttle) / 100; in bnxt_re_set_dbq_throttling_reg()
821 pacing_data = rdev->qplib_res.pacing_data; in bnxt_re_db_fifo_check()
867 pacing_data = rdev->qplib_res.pacing_data; in bnxt_re_pacing_timer_exp()
919 pacing_data = rdev->qplib_res.pacing_data; in bnxt_re_pacing_alert()
937 rdev = container_of(res, struct bnxt_re_dev, qplib_res); in bnxt_re_schedule_dbq_event()
1404 res = &rdev->qplib_res; in bnxt_re_set_db_offset()
1476 res = &rdev->qplib_res; in bnxt_re_destroy_chip_ctx()
1501 rdev->qplib_res.pdev = en_dev->pdev; in bnxt_re_setup_chip_ctx()
1502 rdev->qplib_res.netdev = rdev->netdev; in bnxt_re_setup_chip_ctx()
1503 rdev->qplib_res.en_dev = en_dev; in bnxt_re_setup_chip_ctx()
1509 rdev->qplib_res.cctx = chip_ctx; in bnxt_re_setup_chip_ctx()
1518 rdev->qplib_res.dattr = rdev->dev_attr; in bnxt_re_setup_chip_ctx()
1519 rdev->qplib_res.rcfw = &rdev->rcfw; in bnxt_re_setup_chip_ctx()
1520 rdev->qplib_res.is_vf = rdev->is_virtfn; in bnxt_re_setup_chip_ctx()
1522 rdev->qplib_res.hctx = kzalloc(sizeof(*rdev->qplib_res.hctx), in bnxt_re_setup_chip_ctx()
1524 if (!rdev->qplib_res.hctx) { in bnxt_re_setup_chip_ctx()
1531 rc = bnxt_qplib_map_db_bar(&rdev->qplib_res); in bnxt_re_setup_chip_ctx()
1548 kfree(rdev->qplib_res.hctx); in bnxt_re_setup_chip_ctx()
1549 rdev->qplib_res.hctx = NULL; in bnxt_re_setup_chip_ctx()
1690 hctx = rdev->qplib_res.hctx; in bnxt_re_net_stats_ctx_alloc()
1889 struct bnxt_qplib_db_pacing_data *pacing_data = rdev->qplib_res.pacing_data; in bnxt_re_hwrm_dbr_pacing_qcfg()
2624 struct bnxt_qplib_sgid_tbl *sgid_tbl = &rdev->qplib_res.sgid_tbl; in bnxt_re_update_gid()
2681 if (bnxt_qplib_modify_cc(&rdev->qplib_res, cc_param)) in bnxt_re_clear_cc()
2708 rc = bnxt_qplib_modify_cc(&rdev->qplib_res, cc_param); in bnxt_re_setup_cc()
2787 rdev->qplib_res.prio = false; in bnxt_re_prio_vlan_tx_update()
2789 rdev->qplib_res.prio = true; in bnxt_re_prio_vlan_tx_update()
3024 res = &rdev->qplib_res; in bnxt_re_put_stats_ctx()
3045 res = &rdev->qplib_res; in bnxt_re_get_stats_ctx()
3078 bnxt_qplib_clear_tbls(&rdev->qplib_res); in bnxt_re_free_tbls()
3079 bnxt_qplib_free_tbls(&rdev->qplib_res); in bnxt_re_free_tbls()
3095 rc = bnxt_qplib_alloc_tbls(&rdev->qplib_res, pppp_factor); in bnxt_re_alloc_init_tbls()
3098 bnxt_qplib_init_tbls(&rdev->qplib_res); in bnxt_re_alloc_init_tbls()
3141 rc = bnxt_qplib_alloc_nq_mem(&rdev->qplib_res, nq); in bnxt_re_setup_nqs()
3317 rdev->qplib_res.pacing_data = (struct bnxt_qplib_db_pacing_data *)rdev->dbr_page; in bnxt_re_initialize_dbr_pacing()
3337 rdev->qplib_res.pacing_data->grc_reg_offset = rdev->dbr_db_fifo_reg_off; in bnxt_re_initialize_dbr_pacing()
3340 pci_resource_start(rdev->qplib_res.pdev, 0) + in bnxt_re_initialize_dbr_pacing()
3475 (void)bnxt_qplib_dealloc_dpi(&rdev->qplib_res, kdpi); in bnxt_re_dev_uninit()
3503 bnxt_qplib_free_hwctx(&rdev->qplib_res); in bnxt_re_dev_uninit()
3518 bnxt_qplib_free_rcfw_channel(&rdev->qplib_res); in bnxt_re_dev_uninit()
3572 rc = bnxt_qplib_alloc_rcfw_channel(&rdev->qplib_res); in bnxt_re_dev_init()
3626 rc = bnxt_qplib_alloc_hwctx(&rdev->qplib_res); in bnxt_re_dev_init()
3671 rc = bnxt_qplib_alloc_dpi(&rdev->qplib_res, &rdev->dpi_privileged, in bnxt_re_dev_init()
3699 rc = bnxt_qplib_query_cc_param(&rdev->qplib_res, &rdev->cc_param); in bnxt_re_dev_init()
3707 bnxt_qplib_set_func_resources(&rdev->qplib_res); in bnxt_re_dev_init()
4089 if (!bnxt_qplib_query_cc_param(&rdev->qplib_res, in bnxt_re_task()