Lines Matching refs:cc_param
925 struct bnxt_qplib_cc_param *cc_param) in bnxt_qplib_modify_cc() argument
941 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()
950 (cc_param->tos_ecn & CMDQ_MODIFY_ROCE_CC_TOS_ECN_MASK); in bnxt_qplib_modify_cc()
951 req->alt_vlan_pcp = cc_param->alt_vlan_pcp; in bnxt_qplib_modify_cc()
952 req->alt_tos_dscp = cpu_to_le16(cc_param->alt_tos_dscp); in bnxt_qplib_modify_cc()
953 req->rtt = cpu_to_le16(cc_param->rtt); in bnxt_qplib_modify_cc()
954 req->tcp_cp = cpu_to_le16(cc_param->tcp_cp); in bnxt_qplib_modify_cc()
955 req->cc_mode = cc_param->cc_mode; in bnxt_qplib_modify_cc()
956 req->inactivity_th = cpu_to_le16(cc_param->inact_th); in bnxt_qplib_modify_cc()
976 bnxt_qplib_fill_cc_gen1(&tlv_req.ext_req, &cc_param->cc_ext); in bnxt_qplib_modify_cc()