Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_qp.c533 unsigned int inline_sge; in get_sge_num_from_max_inl_data() local
543 inline_sge = roundup_pow_of_two(max_inline_data) / HNS_ROCE_SGE_SIZE; in get_sge_num_from_max_inl_data()
544 if (!is_ud_or_gsi && inline_sge <= HNS_ROCE_SGE_IN_WQE) in get_sge_num_from_max_inl_data()
545 inline_sge = 0; in get_sge_num_from_max_inl_data()
547 return inline_sge; in get_sge_num_from_max_inl_data()