Home
last modified time | relevance | path

Searched refs:is_ud_or_gsi (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_qp.c518 static u32 get_sge_num_from_max_send_sge(bool is_ud_or_gsi, in get_sge_num_from_max_send_sge() argument
524 std_sge_num = is_ud_or_gsi ? 0 : HNS_ROCE_SGE_IN_WQE; in get_sge_num_from_max_send_sge()
525 min_sge = is_ud_or_gsi ? 1 : 0; in get_sge_num_from_max_send_sge()
530 static unsigned int get_sge_num_from_max_inl_data(bool is_ud_or_gsi, in get_sge_num_from_max_inl_data() argument
544 if (!is_ud_or_gsi && inline_sge <= HNS_ROCE_SGE_IN_WQE) in get_sge_num_from_max_inl_data()
553 bool is_ud_or_gsi = (hr_qp->ibqp.qp_type == IB_QPT_GSI || in set_ext_sge_param() local
563 std_sge_num = is_ud_or_gsi ? 0 : HNS_ROCE_SGE_IN_WQE; in set_ext_sge_param()
564 ext_wqe_sge_cnt = get_sge_num_from_max_send_sge(is_ud_or_gsi, in set_ext_sge_param()
569 get_sge_num_from_max_inl_data(is_ud_or_gsi, in set_ext_sge_param()