Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_srq.c226 srq->wqe_shift = ilog2(roundup_pow_of_two(max(HNS_ROCE_SGE_SIZE, in alloc_srq_wqe_buf()
227 HNS_ROCE_SGE_SIZE * in alloc_srq_wqe_buf()
H A Dhns_roce_qp.c527 sge_num * HNS_ROCE_SGE_SIZE); in update_inline_data()
558 inline_sge = roundup_pow_of_two(max_inline_data) / HNS_ROCE_SGE_SIZE; in get_sge_num_from_max_inl_data()
605 (u32)HNS_HW_PAGE_SIZE / HNS_ROCE_SGE_SIZE); in set_ext_sge_param()
H A Dhns_roce_device.h75 #define HNS_ROCE_SGE_SIZE 16 macro
H A Dhns_roce_hw_v2.c202 if (msg_len > qp->sq.ext_sge_cnt * HNS_ROCE_SGE_SIZE) { in fill_ext_sge_inl_data()
222 idx += len / HNS_ROCE_SGE_SIZE; in fill_ext_sge_inl_data()
237 idx += left_len_in_pg / HNS_ROCE_SGE_SIZE; in fill_ext_sge_inl_data()
802 (max_sge - cnt) * HNS_ROCE_SGE_SIZE); in fill_recv_sge_to_wqe()