/
usr
/
src
/
linux-headers-5.15.0-181
/
include
/
rdma
/
/usr/src/linux-headers-5.15.0-181/include/rdma
mkdir
upload
Name
Size
Mode
Actions
ib.h
2138
0644
edit
dl
rm
iba.h
5642
0644
edit
dl
rm
ibta_vol1_c12.h
13251
0644
edit
dl
rm
ib_addr.h
7335
0644
edit
dl
rm
ib_cache.h
4329
0644
edit
dl
rm
ib_cm.h
17326
0644
edit
dl
rm
ib_hdrs.h
6957
0644
edit
dl
rm
ib_mad.h
25064
0644
edit
dl
rm
ib_marshall.h
778
0644
edit
dl
rm
ib_pack.h
7900
0644
edit
dl
rm
ib_pma.h
4268
0644
edit
dl
rm
ib_sa.h
19963
0644
edit
dl
rm
ib_smi.h
4306
0644
edit
dl
rm
ib_sysfs.h
1257
0644
edit
dl
rm
ib_umem.h
7070
0644
edit
dl
rm
ib_umem_odp.h
3467
0644
edit
dl
rm
ib_verbs.h
141638
0644
edit
dl
rm
iw_cm.h
7294
0644
edit
dl
rm
iw_portmap.h
2244
0644
edit
dl
rm
lag.h
530
0644
edit
dl
rm
mr_pool.h
568
0644
edit
dl
rm
opa_addr.h
2452
0644
edit
dl
rm
opa_port_info.h
13751
0644
edit
dl
rm
opa_smi.h
3074
0644
edit
dl
rm
opa_vnic.h
2044
0644
edit
dl
rm
peer_mem.h
6340
0644
edit
dl
rm
rdmavt_cq.h
1783
0644
edit
dl
rm
rdmavt_mr.h
4038
0644
edit
dl
rm
rdmavt_qp.h
28687
0644
edit
dl
rm
rdma_cm.h
13121
0644
edit
dl
rm
rdma_cm_ib.h
797
0644
edit
dl
rm
rdma_counter.h
1826
0644
edit
dl
rm
rdma_netlink.h
4062
0644
edit
dl
rm
rdma_vt.h
14561
0644
edit
dl
rm
restrack.h
4303
0644
edit
dl
rm
rw.h
2275
0644
edit
dl
rm
signature.h
2969
0644
edit
dl
rm
tid_rdma_defs.h
2100
0644
edit
dl
rm
uverbs_ioctl.h
32992
0644
edit
dl
rm
uverbs_named_ioctl.h
4836
0644
edit
dl
rm
uverbs_std_types.h
5365
0644
edit
dl
rm
uverbs_types.h
6210
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-181/include/rdma/rdmavt_cq.h
(1783B)
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /* * Copyright(c) 2016 - 2018 Intel Corporation. */ #ifndef DEF_RDMAVT_INCCQ_H #define DEF_RDMAVT_INCCQ_H #include <linux/kthread.h> #include <rdma/ib_user_verbs.h> #include <rdma/ib_verbs.h> /* * Define an ib_cq_notify value that is not valid so we know when CQ * notifications are armed. */ #define RVT_CQ_NONE (IB_CQ_NEXT_COMP + 1) /* * Define read macro that apply smp_load_acquire memory barrier * when reading indice of circular buffer that mmaped to user space. */ #define RDMA_READ_UAPI_ATOMIC(member) smp_load_acquire(&(member).val) /* * Define write macro that uses smp_store_release memory barrier * when writing indice of circular buffer that mmaped to user space. */ #define RDMA_WRITE_UAPI_ATOMIC(member, x) smp_store_release(&(member).val, x) #include <rdma/rvt-abi.h> /* * 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_k_cq_wc { u32 head; /* index of next entry to fill */ u32 tail; /* index of next ib_poll_cq() entry */ struct ib_wc kqueue[]; }; /* * The completion queue structure. */ struct rvt_cq { struct ib_cq ibcq; struct work_struct comptask; spinlock_t lock; /* protect changes in this struct */ u8 notify; u8 triggered; u8 cq_full; int comp_vector_cpu; struct rvt_dev_info *rdi; struct rvt_cq_wc *queue; struct rvt_mmap_info *ip; struct rvt_k_cq_wc *kqueue; }; static inline struct rvt_cq *ibcq_to_rvtcq(struct ib_cq *ibcq) { return container_of(ibcq, struct rvt_cq, ibcq); } bool rvt_cq_enter(struct rvt_cq *cq, struct ib_wc *entry, bool solicited); #endif /* DEF_RDMAVT_INCCQH */
Save
cmd:
run