Home
last modified time | relevance | path

Searched refs:chip_ctx (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/bnxt/bnxt_re/
H A Dmain.c228 cctx = rdev->chip_ctx; in bnxt_re_limit_pf_res()
254 struct bnxt_qplib_chip_ctx *cctx = rdev->chip_ctx; in bnxt_re_limit_vf_res()
349 if (!_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_update_qp1_tos_dscp()
517 bnxt_qplib_dbr_pacing_set_primary_pf(rdev->chip_ctx, 1); in bnxt_re_hwrm_dbr_pacing_nqlist_query()
556 pacing_data->pacing_th * BNXT_RE_PACING_ALARM_TH_MULTIPLE(rdev->chip_ctx); in bnxt_re_set_default_pacing_data()
587 if (bnxt_qplib_dbr_pacing_ext_en(rdev->chip_ctx)) { in bnxt_re_set_dbq_throttling_reg()
614 if (bnxt_qplib_dbr_pacing_is_primary_pf(rdev->chip_ctx)) { in bnxt_re_set_dbq_throttling_for_non_primary()
648 rdev->chip_ctx->dbr_aeq_arm_reg & BNXT_GRC_BASE_MASK); in bnxt_re_handle_dbr_nq_pacing_notification()
651 (rdev->chip_ctx->dbr_throttling_reg & in bnxt_re_handle_dbr_nq_pacing_notification()
654 (rdev->chip_ctx->dbr_aeq_arm_reg & in bnxt_re_handle_dbr_nq_pacing_notification()
[all …]
H A Dstats.c165 byte_mask = bnxt_re_get_cfa_stat_mask(rdev->chip_ctx, in bnxt_re_get_qos_stats()
167 pkts_mask = bnxt_re_get_cfa_stat_mask(rdev->chip_ctx, in bnxt_re_get_qos_stats()
353 bool is_thor = _is_chip_gen_p5_p7(rdev->chip_ctx); in bnxt_re_get_roce_data_stats()
368 if (bnxt_ext_stats_supported(rdev->chip_ctx, rdev->dev_attr->dev_cap_flags, in bnxt_re_get_device_stats()
535 if (_is_chip_p7(rdev->chip_ctx)) { in bnxt_re_print_ext_stat()
577 en_disp = !_is_chip_gen_p5_p7(rdev->chip_ctx); in bnxt_re_print_normal_counters()
598 if (bnxt_ext_stats_supported(rdev->chip_ctx, rdev->dev_attr->dev_cap_flags, in bnxt_re_print_normal_counters()
697 if (bnxt_ext_stats_supported(rdev->chip_ctx, rdev->dev_attr->dev_cap_flags, in bnxt_re_get_hw_stats()
748 if (bnxt_ext_stats_supported(rdev->chip_ctx, rdev->dev_attr->dev_cap_flags, in bnxt_re_get_hw_stats()
H A Dbnxt_re.h165 ((rdev)->chip_ctx->hwrm_cmd_max_timeout * 1000)
510 struct bnxt_qplib_chip_ctx *chip_ctx; member
1051 rdev->pacing_algo_th * BNXT_RE_PACING_ALARM_TH_MULTIPLE(rdev->chip_ctx); in bnxt_re_set_def_pacing_threshold()
1065 return rdev->chip_ctx->modes.wqe_mode; in bnxt_re_is_var_size_supported()
H A Dib_verbs.c579 if (!_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_legacy_create_fence_wqe()
644 if (!_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_legacy_create_fence_mr()
744 if (!_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_legacy_destroy_fence_mr()
775 struct bnxt_qplib_chip_ctx *cctx = rdev->chip_ctx; in bnxt_re_get_user_dpi()
1638 psn_sz = _is_chip_gen_p5_p7(rdev->chip_ctx) ? in bnxt_re_init_user_qp()
1996 diff = bnxt_re_get_diff(cntx, rdev->chip_ctx); in bnxt_re_init_sq_attr()
2045 struct bnxt_qplib_chip_ctx *chip_ctx; in bnxt_re_init_qp_type() local
2049 chip_ctx = rdev->chip_ctx; in bnxt_re_init_qp_type()
2060 if (_is_chip_gen_p5_p7(chip_ctx) && init_attr->qp_type == IB_QPT_GSI) { in bnxt_re_init_qp_type()
2337 !_is_chip_gen_p5_p7(rdev->chip_ctx)) { in bnxt_re_create_qp()
[all …]