Searched refs:is_ud_or_gsi (Results 1 – 1 of 1) sorted by relevance
517 static u32 get_sge_num_from_max_send_sge(bool is_ud_or_gsi, in get_sge_num_from_max_send_sge() argument523 std_sge_num = is_ud_or_gsi ? 0 : HNS_ROCE_SGE_IN_WQE; in get_sge_num_from_max_send_sge()524 min_sge = is_ud_or_gsi ? 1 : 0; in get_sge_num_from_max_send_sge()529 static unsigned int get_sge_num_from_max_inl_data(bool is_ud_or_gsi, in get_sge_num_from_max_inl_data() argument541 if (!is_ud_or_gsi && inline_sge <= HNS_ROCE_SGE_IN_WQE) in get_sge_num_from_max_inl_data()550 bool is_ud_or_gsi = (hr_qp->ibqp.qp_type == IB_QPT_GSI || in set_ext_sge_param() local560 std_sge_num = is_ud_or_gsi ? 0 : HNS_ROCE_SGE_IN_WQE; in set_ext_sge_param()561 ext_wqe_sge_cnt = get_sge_num_from_max_send_sge(is_ud_or_gsi, in set_ext_sge_param()566 get_sge_num_from_max_inl_data(is_ud_or_gsi, in set_ext_sge_param()