Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/rdma/
H A Dsiw-abi.h13 #define SIW_MAX_SGE 6 macro
90 #define SIW_MAX_INLINE (sizeof(struct siw_sge) * (SIW_MAX_SGE - 1))
92 #if SIW_MAX_SGE < 2
119 struct siw_sge sge[SIW_MAX_SGE];
135 struct siw_sge sge[SIW_MAX_SGE];
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c338 sdev->attrs.max_sge = SIW_MAX_SGE; in siw_device_create()
347 sdev->attrs.max_srq_sge = SIW_MAX_SGE; in siw_device_create()
H A Dsiw_qp.c275 memset(wqe->mem, 0, sizeof(*wqe->mem) * SIW_MAX_SGE); in siw_qp_mpa_rts()
894 memset(wqe->mem, 0, sizeof(*wqe->mem) * SIW_MAX_SGE); in siw_activate_tx_from_sq()
1001 memset(wqe->mem, 0, sizeof(*wqe->mem) * SIW_MAX_SGE); in siw_activate_tx()
H A Dsiw_verbs.c326 (attrs->cap.max_send_sge > SIW_MAX_SGE) || in siw_create_qp()
327 (attrs->cap.max_recv_sge > SIW_MAX_SGE)) { in siw_create_qp()
1611 attrs->max_sge > SIW_MAX_SGE || attrs->srq_limit > attrs->max_wr) { in siw_create_srq()
H A Dsiw_qp_tx.c432 #define MAX_ARRAY ((0xffff / PAGE_SIZE) + 1 + (2 * (SIW_MAX_SGE - 1) + 2))
778 if (unlikely(num_sge > SIW_MAX_SGE)) in siw_check_sgl_tx()
H A Dsiw.h196 struct siw_mem *mem[SIW_MAX_SGE]; /* per sge's resolved mem */
H A Dsiw_qp_rx.c354 if (likely(num_sge <= SIW_MAX_SGE)) { in siw_rqe_get()