$70 GRAYBYTE WORDPRESS FILE MANAGER $74

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/include/rdma/

HOME
Current File : /usr/include/rdma//rvt-abi.h
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */

/*
 * This file contains defines, structures, etc. that are used
 * to communicate between kernel and user code.
 */

#ifndef RVT_ABI_USER_H
#define RVT_ABI_USER_H

#include <linux/types.h>
#include <rdma/ib_user_verbs.h>
#ifndef RDMA_ATOMIC_UAPI
#define RDMA_ATOMIC_UAPI(_type, _name) struct{ _type val; } _name
#endif

struct rvt_wqe_sge {
	__aligned_u64 addr;
	__u32 length;
	__u32 lkey;
};

/*
 * 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 */

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
17 Mar 2026 5.07 PM
root / root
0755
hfi
--
16 Dec 2025 9.31 PM
root / root
0755
bnxt_re-abi.h
3.432 KB
12 Nov 2025 5.20 PM
root / root
0644
cxgb4-abi.h
3.049 KB
12 Nov 2025 5.20 PM
root / root
0644
efa-abi.h
2.892 KB
12 Nov 2025 5.20 PM
root / root
0644
hns-abi.h
2.155 KB
12 Nov 2025 5.20 PM
root / root
0644
ib_user_ioctl_cmds.h
9.209 KB
12 Nov 2025 5.20 PM
root / root
0644
ib_user_ioctl_verbs.h
7.697 KB
12 Nov 2025 5.20 PM
root / root
0644
ib_user_mad.h
8.33 KB
12 Nov 2025 5.20 PM
root / root
0644
ib_user_sa.h
2.251 KB
12 Nov 2025 5.20 PM
root / root
0644
ib_user_verbs.h
28.286 KB
12 Nov 2025 5.20 PM
root / root
0644
irdma-abi.h
2.141 KB
12 Nov 2025 5.20 PM
root / root
0644
mana-abi.h
1.157 KB
12 Nov 2025 5.20 PM
root / root
0644
mlx4-abi.h
4.997 KB
12 Nov 2025 5.20 PM
root / root
0644
mlx5-abi.h
13.544 KB
12 Nov 2025 5.20 PM
root / root
0644
mlx5_user_ioctl_cmds.h
10.493 KB
12 Nov 2025 5.20 PM
root / root
0644
mlx5_user_ioctl_verbs.h
3.499 KB
12 Nov 2025 5.20 PM
root / root
0644
mthca-abi.h
2.983 KB
12 Nov 2025 5.20 PM
root / root
0644
ocrdma-abi.h
4.02 KB
12 Nov 2025 5.20 PM
root / root
0644
qedr-abi.h
4.206 KB
12 Nov 2025 5.20 PM
root / root
0644
rdma_netlink.h
14.636 KB
12 Nov 2025 5.20 PM
root / root
0644
rdma_user_cm.h
6.965 KB
12 Nov 2025 5.20 PM
root / root
0644
rdma_user_ioctl.h
3.663 KB
12 Nov 2025 5.20 PM
root / root
0644
rdma_user_ioctl_cmds.h
2.546 KB
12 Nov 2025 5.20 PM
root / root
0644
rdma_user_rxe.h
4.667 KB
12 Nov 2025 5.20 PM
root / root
0644
rvt-abi.h
1.704 KB
12 Nov 2025 5.20 PM
root / root
0644
siw-abi.h
3.324 KB
12 Nov 2025 5.20 PM
root / root
0644
vmw_pvrdma-abi.h
7.823 KB
12 Nov 2025 5.20 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF