/usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/rdma
NameSizeModeActions
ib.h21380644editdlrm
iba.h56420644editdlrm
ibta_vol1_c12.h132510644editdlrm
ib_addr.h73080644editdlrm
ib_cache.h43290644editdlrm
ib_cm.h171330644editdlrm
ib_hdrs.h69880644editdlrm
ib_mad.h250640644editdlrm
ib_marshall.h7780644editdlrm
ib_pack.h80820644editdlrm
ib_pma.h42680644editdlrm
ib_sa.h199970644editdlrm
ib_smi.h46000644editdlrm
ib_sysfs.h12570644editdlrm
ib_umem.h43670644editdlrm
ib_umem_odp.h47870644editdlrm
ib_verbs.h1434650644editdlrm
iw_cm.h72940644editdlrm
iw_portmap.h22440644editdlrm
lag.h5300644editdlrm
mr_pool.h9750644editdlrm
opa_addr.h24520644editdlrm
opa_port_info.h137510644editdlrm
opa_smi.h30740644editdlrm
opa_vnic.h20340644editdlrm
rdmavt_cq.h17830644editdlrm
rdmavt_mr.h40380644editdlrm
rdmavt_qp.h286870644editdlrm
rdma_cm.h134380644editdlrm
rdma_cm_ib.h7970644editdlrm
rdma_counter.h19200644editdlrm
rdma_netlink.h40620644editdlrm
rdma_vt.h145610644editdlrm
restrack.h43040644editdlrm
rw.h26820644editdlrm
signature.h29690644editdlrm
tid_rdma_defs.h21000644editdlrm
uverbs_ioctl.h330790644editdlrm
uverbs_named_ioctl.h48360644editdlrm
uverbs_std_types.h53550644editdlrm
uverbs_types.h62100644editdlrm
Edit: /usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/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 #include #include /* * 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 /* * 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 */