Lines Matching refs:ext_req
855 static void bnxt_qplib_fill_cc_gen1(struct cmdq_modify_roce_cc_gen1_tlv *ext_req, in bnxt_qplib_fill_cc_gen1() argument
858 ext_req->modify_mask = cpu_to_le64(cc_ext->ext_mask); in bnxt_qplib_fill_cc_gen1()
860 ext_req->inactivity_th_hi = cpu_to_le16(cc_ext->inact_th_hi); in bnxt_qplib_fill_cc_gen1()
861 ext_req->min_time_between_cnps = cpu_to_le16(cc_ext->min_delta_cnp); in bnxt_qplib_fill_cc_gen1()
862 ext_req->init_cp = cpu_to_le16(cc_ext->init_cp); in bnxt_qplib_fill_cc_gen1()
863 ext_req->tr_update_mode = cc_ext->tr_update_mode; in bnxt_qplib_fill_cc_gen1()
864 ext_req->tr_update_cycles = cc_ext->tr_update_cyls; in bnxt_qplib_fill_cc_gen1()
865 ext_req->fr_num_rtts = cc_ext->fr_rtt; in bnxt_qplib_fill_cc_gen1()
866 ext_req->ai_rate_increase = cc_ext->ai_rate_incr; in bnxt_qplib_fill_cc_gen1()
867 ext_req->reduction_relax_rtts_th = cpu_to_le16(cc_ext->rr_rtt_th); in bnxt_qplib_fill_cc_gen1()
868 ext_req->additional_relax_cr_th = cpu_to_le16(cc_ext->ar_cr_th); in bnxt_qplib_fill_cc_gen1()
869 ext_req->cr_min_th = cpu_to_le16(cc_ext->cr_min_th); in bnxt_qplib_fill_cc_gen1()
870 ext_req->bw_avg_weight = cc_ext->bw_avg_weight; in bnxt_qplib_fill_cc_gen1()
871 ext_req->actual_cr_factor = cc_ext->cr_factor; in bnxt_qplib_fill_cc_gen1()
872 ext_req->max_cp_cr_th = cpu_to_le16(cc_ext->cr_th_max_cp); in bnxt_qplib_fill_cc_gen1()
873 ext_req->cp_bias_en = cc_ext->cp_bias_en; in bnxt_qplib_fill_cc_gen1()
874 ext_req->cp_bias = cc_ext->cp_bias; in bnxt_qplib_fill_cc_gen1()
875 ext_req->cnp_ecn = cc_ext->cnp_ecn; in bnxt_qplib_fill_cc_gen1()
876 ext_req->rtt_jitter_en = cc_ext->rtt_jitter_en; in bnxt_qplib_fill_cc_gen1()
877 ext_req->link_bytes_per_usec = cpu_to_le16(cc_ext->bytes_per_usec); in bnxt_qplib_fill_cc_gen1()
878 ext_req->reset_cc_cr_th = cpu_to_le16(cc_ext->cc_cr_reset_th); in bnxt_qplib_fill_cc_gen1()
879 ext_req->cr_width = cc_ext->cr_width; in bnxt_qplib_fill_cc_gen1()
880 ext_req->quota_period_min = cc_ext->min_quota; in bnxt_qplib_fill_cc_gen1()
881 ext_req->quota_period_max = cc_ext->max_quota; in bnxt_qplib_fill_cc_gen1()
882 ext_req->quota_period_abs_max = cc_ext->abs_max_quota; in bnxt_qplib_fill_cc_gen1()
883 ext_req->tr_lower_bound = cpu_to_le16(cc_ext->tr_lb); in bnxt_qplib_fill_cc_gen1()
884 ext_req->cr_prob_factor = cc_ext->cr_prob_fac; in bnxt_qplib_fill_cc_gen1()
885 ext_req->tr_prob_factor = cc_ext->tr_prob_fac; in bnxt_qplib_fill_cc_gen1()
886 ext_req->fairness_cr_th = cpu_to_le16(cc_ext->fair_cr_th); in bnxt_qplib_fill_cc_gen1()
887 ext_req->red_div = cc_ext->red_div; in bnxt_qplib_fill_cc_gen1()
888 ext_req->cnp_ratio_th = cc_ext->cnp_ratio_th; in bnxt_qplib_fill_cc_gen1()
889 ext_req->exp_ai_rtts = cpu_to_le16(cc_ext->ai_ext_rtt); in bnxt_qplib_fill_cc_gen1()
890 ext_req->exp_ai_cr_cp_ratio = cc_ext->exp_crcp_ratio; in bnxt_qplib_fill_cc_gen1()
891 ext_req->use_rate_table = cc_ext->low_rate_en; in bnxt_qplib_fill_cc_gen1()
892 ext_req->cp_exp_update_th = cpu_to_le16(cc_ext->cpcr_update_th); in bnxt_qplib_fill_cc_gen1()
893 ext_req->high_exp_ai_rtts_th1 = cpu_to_le16(cc_ext->ai_rtt_th1); in bnxt_qplib_fill_cc_gen1()
894 ext_req->high_exp_ai_rtts_th2 = cpu_to_le16(cc_ext->ai_rtt_th2); in bnxt_qplib_fill_cc_gen1()
895 ext_req->actual_cr_cong_free_rtts_th = cpu_to_le16(cc_ext->cf_rtt_th); in bnxt_qplib_fill_cc_gen1()
896 ext_req->severe_cong_cr_th1 = cpu_to_le16(cc_ext->sc_cr_th1); in bnxt_qplib_fill_cc_gen1()
897 ext_req->severe_cong_cr_th2 = cpu_to_le16(cc_ext->sc_cr_th2); in bnxt_qplib_fill_cc_gen1()
898 ext_req->link64B_per_rtt = cpu_to_le32(cc_ext->l64B_per_rtt); in bnxt_qplib_fill_cc_gen1()
899 ext_req->cc_ack_bytes = cc_ext->cc_ack_bytes; in bnxt_qplib_fill_cc_gen1()
950 hdr = (struct roce_tlv *)&tlv_req.ext_req; in bnxt_qplib_modify_cc()
954 bnxt_qplib_fill_cc_gen1(&tlv_req.ext_req, &cc_param->cc_ext); in bnxt_qplib_modify_cc()