Searched refs:chip_ctx (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | main.c | 245 cctx = rdev->chip_ctx; in bnxt_re_limit_pf_res() 271 struct bnxt_qplib_chip_ctx *cctx = rdev->chip_ctx; in bnxt_re_limit_vf_res() 366 if (!_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_update_qp1_tos_dscp() 534 bnxt_qplib_dbr_pacing_set_primary_pf(rdev->chip_ctx, 1); in bnxt_re_hwrm_dbr_pacing_nqlist_query() 573 pacing_data->pacing_th * BNXT_RE_PACING_ALARM_TH_MULTIPLE(rdev->chip_ctx); in bnxt_re_set_default_pacing_data() 604 if (bnxt_qplib_dbr_pacing_ext_en(rdev->chip_ctx)) { in bnxt_re_set_dbq_throttling_reg() 631 if (bnxt_qplib_dbr_pacing_is_primary_pf(rdev->chip_ctx)) { in bnxt_re_set_dbq_throttling_for_non_primary() 665 rdev->chip_ctx->dbr_aeq_arm_reg & BNXT_GRC_BASE_MASK); in bnxt_re_handle_dbr_nq_pacing_notification() 668 (rdev->chip_ctx->dbr_throttling_reg & in bnxt_re_handle_dbr_nq_pacing_notification() 671 (rdev->chip_ctx->dbr_aeq_arm_reg & in bnxt_re_handle_dbr_nq_pacing_notification() [all …]
|
H A D | stats.c | 165 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 D | bnxt_re.h | 165 ((rdev)->chip_ctx->hwrm_cmd_max_timeout * 1000) 510 struct bnxt_qplib_chip_ctx *chip_ctx; member 1064 rdev->pacing_algo_th * BNXT_RE_PACING_ALARM_TH_MULTIPLE(rdev->chip_ctx); in bnxt_re_set_def_pacing_threshold()
|
H A D | ib_verbs.c | 541 if (!_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_legacy_create_fence_wqe() 606 if (!_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_legacy_create_fence_mr() 706 if (!_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_legacy_destroy_fence_mr() 737 struct bnxt_qplib_chip_ctx *cctx = rdev->chip_ctx; in bnxt_re_get_user_dpi() 1671 psn_sz = _is_chip_gen_p5_p7(rdev->chip_ctx) ? in bnxt_re_init_user_qp() 2008 diff = bnxt_re_get_diff(cntx, rdev->chip_ctx); in bnxt_re_init_sq_attr() 2052 struct bnxt_qplib_chip_ctx *chip_ctx; in bnxt_re_init_qp_type() local 2056 chip_ctx = rdev->chip_ctx; in bnxt_re_init_qp_type() 2067 if (_is_chip_gen_p5_p7(chip_ctx) && init_attr->qp_type == IB_QPT_GSI) { in bnxt_re_init_qp_type() 2078 return rdev->chip_ctx->modes.wqe_mode; in bnxt_re_init_qp_wqe_mode() [all …]
|