Home
last modified time | relevance | path

Searched refs:SIW_MAX_SGE (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/include/uapi/rdma/
H A Dsiw-abi.h13 #define SIW_MAX_SGE 6 macro
88 * supported if SIW_MAX_SGE is below 2 elements.
90 #define SIW_MAX_INLINE (sizeof(struct siw_sge) * (SIW_MAX_SGE - 1))
92 #if SIW_MAX_SGE < 2
93 #error "SIW_MAX_SGE must be at least 2"
119 struct siw_sge sge[SIW_MAX_SGE];
135 struct siw_sge sge[SIW_MAX_SGE];
/kernel/linux/linux-6.6/include/uapi/rdma/
H A Dsiw-abi.h13 #define SIW_MAX_SGE 6 macro
88 * supported if SIW_MAX_SGE is below 2 elements.
90 #define SIW_MAX_INLINE (sizeof(struct siw_sge) * (SIW_MAX_SGE - 1))
92 #if SIW_MAX_SGE < 2
93 #error "SIW_MAX_SGE must be at least 2"
119 struct siw_sge sge[SIW_MAX_SGE];
135 struct siw_sge sge[SIW_MAX_SGE];
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/rdma/
H A Dsiw-abi.h24 #define SIW_MAX_SGE 6 macro
78 #define SIW_MAX_INLINE (sizeof(struct siw_sge) * (SIW_MAX_SGE - 1))
79 #if SIW_MAX_SGE < 2
80 #error "SIW_MAX_SGE must be at least 2"
102 struct siw_sge sge[SIW_MAX_SGE];
112 struct siw_sge sge[SIW_MAX_SGE];
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
H A Dsiw-abi.h24 #define SIW_MAX_SGE 6 macro
78 #define SIW_MAX_INLINE (sizeof(struct siw_sge) * (SIW_MAX_SGE - 1))
79 #if SIW_MAX_SGE < 2
80 #error "SIW_MAX_SGE must be at least 2"
102 struct siw_sge sge[SIW_MAX_SGE];
112 struct siw_sge sge[SIW_MAX_SGE];
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
H A Dsiw_main.c388 sdev->attrs.max_sge = SIW_MAX_SGE; in siw_device_create()
397 sdev->attrs.max_srq_sge = SIW_MAX_SGE; in siw_device_create()
H A Dsiw_qp.c272 memset(wqe->mem, 0, sizeof(*wqe->mem) * SIW_MAX_SGE); in siw_qp_mpa_rts()
891 memset(wqe->mem, 0, sizeof(*wqe->mem) * SIW_MAX_SGE); in siw_activate_tx_from_sq()
998 memset(wqe->mem, 0, sizeof(*wqe->mem) * SIW_MAX_SGE); in siw_activate_tx()
H A Dsiw_qp_tx.c416 * MAX_ARRAY = 64KB/PAGE_SIZE + 1 + (2 * (SIW_MAX_SGE - 1) + HDR + TRL
418 #define MAX_ARRAY ((0xffff / PAGE_SIZE) + 1 + (2 * (SIW_MAX_SGE - 1) + 2))
767 if (unlikely(num_sge > SIW_MAX_SGE)) in siw_check_sgl_tx()
H A Dsiw_verbs.c321 (attrs->cap.max_send_sge > SIW_MAX_SGE) || in siw_create_qp()
322 (attrs->cap.max_recv_sge > SIW_MAX_SGE)) { in siw_create_qp()
1601 attrs->max_sge > SIW_MAX_SGE || attrs->srq_limit > attrs->max_wr) { in siw_create_srq()
H A Dsiw.h195 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()
/kernel/linux/linux-6.6/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_qp_tx.c428 * MAX_ARRAY = 64KB/PAGE_SIZE + 1 + (2 * (SIW_MAX_SGE - 1) + HDR + TRL
430 #define MAX_ARRAY ((0xffff / PAGE_SIZE) + 1 + (2 * (SIW_MAX_SGE - 1) + 2))
776 if (unlikely(num_sge > SIW_MAX_SGE)) in siw_check_sgl_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.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()

Completed in 19 milliseconds