Lines Matching defs:ext_req

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