Searched refs:cc_param (Results 1 – 3 of 3) sorted by relevance
925 struct bnxt_qplib_cc_param *cc_param) in bnxt_qplib_modify_cc() argument941 req->modify_mask = cpu_to_le32(cc_param->mask); in bnxt_qplib_modify_cc()942 req->enable_cc = cc_param->enable; in bnxt_qplib_modify_cc()943 req->g = cc_param->g; in bnxt_qplib_modify_cc()944 req->num_phases_per_state = cc_param->nph_per_state; in bnxt_qplib_modify_cc()945 req->time_per_phase = cc_param->time_pph; in bnxt_qplib_modify_cc()946 req->pkts_per_phase = cc_param->pkts_pph; in bnxt_qplib_modify_cc()947 req->init_cr = cpu_to_le16(cc_param->init_cr); in bnxt_qplib_modify_cc()948 req->init_tr = cpu_to_le16(cc_param->init_tr); in bnxt_qplib_modify_cc()949 req->tos_dscp_tos_ecn = (cc_param->tos_dscp << CMDQ_MODIFY_ROCE_CC_TOS_DSCP_SFT) | in bnxt_qplib_modify_cc()[all …]
355 struct bnxt_qplib_cc_param *cc_param);
1896 struct bnxt_qplib_cc_param cc_param = {}; in bnxt_re_setup_cc() local1907 cc_param.enable = 1; in bnxt_re_setup_cc()1908 cc_param.cc_mode = CMDQ_MODIFY_ROCE_CC_CC_MODE_PROBABILISTIC_CC_MODE; in bnxt_re_setup_cc()1911 cc_param.mask = (CMDQ_MODIFY_ROCE_CC_MODIFY_MASK_CC_MODE | in bnxt_re_setup_cc()1915 if (bnxt_qplib_modify_cc(&rdev->qplib_res, &cc_param)) in bnxt_re_setup_cc()