/* * This structure is used to contain the head pointer, tail pointer, * and completion queue entries as a single memory allocation so * it can be mmap'ed into user space.
*/ struct rvt_cq_wc { /* index of next entry to fill */
RDMA_ATOMIC_UAPI(__u32, head); /* index of next ib_poll_cq() entry */
RDMA_ATOMIC_UAPI(__u32, tail);
/* these are actually size ibcq.cqe + 1 */ struct ib_uverbs_wc uqueue[];
};
/* * Receive work request queue entry. * The size of the sg_list is determined when the QP (or SRQ) is created * and stored in qp->r_rq.max_sge (or srq->rq.max_sge).
*/ struct rvt_rwqe {
__u64 wr_id;
__u8 num_sge;
__u8 padding[7]; struct rvt_wqe_sge sg_list[];
};
/* * This structure is used to contain the head pointer, tail pointer, * and receive work queue entries as a single memory allocation so * it can be mmap'ed into user space. * Note that the wq array elements are variable size so you can't * just index into the array to get the N'th element; * use get_rwqe_ptr() for user space and rvt_get_rwqe_ptr() * for kernel space.
*/ struct rvt_rwq { /* new work requests posted to the head */
RDMA_ATOMIC_UAPI(__u32, head); /* receives pull requests from here. */
RDMA_ATOMIC_UAPI(__u32, tail); struct rvt_rwqe wq[];
}; #endif/* RVT_ABI_USER_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.