/usr/src/linux-headers-5.15.0-190/include/rdma
NameSizeModeActions
ib.h21380644editdlrm
iba.h56420644editdlrm
ibta_vol1_c12.h132510644editdlrm
ib_addr.h73350644editdlrm
ib_cache.h43290644editdlrm
ib_cm.h173260644editdlrm
ib_hdrs.h69570644editdlrm
ib_mad.h250640644editdlrm
ib_marshall.h7780644editdlrm
ib_pack.h79000644editdlrm
ib_pma.h42680644editdlrm
ib_sa.h199630644editdlrm
ib_smi.h43060644editdlrm
ib_sysfs.h12570644editdlrm
ib_umem.h70700644editdlrm
ib_umem_odp.h34670644editdlrm
ib_verbs.h1416360644editdlrm
iw_cm.h72940644editdlrm
iw_portmap.h22440644editdlrm
lag.h5300644editdlrm
mr_pool.h5680644editdlrm
opa_addr.h24520644editdlrm
opa_port_info.h137510644editdlrm
opa_smi.h30740644editdlrm
opa_vnic.h20440644editdlrm
peer_mem.h63400644editdlrm
rdmavt_cq.h17830644editdlrm
rdmavt_mr.h40380644editdlrm
rdmavt_qp.h286870644editdlrm
rdma_cm.h131210644editdlrm
rdma_cm_ib.h7970644editdlrm
rdma_counter.h18260644editdlrm
rdma_netlink.h40620644editdlrm
rdma_vt.h145610644editdlrm
restrack.h43030644editdlrm
rw.h23940644editdlrm
signature.h29690644editdlrm
tid_rdma_defs.h21000644editdlrm
uverbs_ioctl.h329920644editdlrm
uverbs_named_ioctl.h48360644editdlrm
uverbs_std_types.h53650644editdlrm
uverbs_types.h62100644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/include/rdma/rw.h (2394B)
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2016 HGST, a Western Digital Company. */ #ifndef _RDMA_RW_H #define _RDMA_RW_H #include #include #include #include #include struct rdma_rw_ctx { /* number of RDMA READ/WRITE WRs (not counting MR WRs) */ u32 nr_ops; /* tag for the union below: */ u8 type; union { /* for mapping a single SGE: */ struct { struct ib_sge sge; struct ib_rdma_wr wr; } single; /* for mapping of multiple SGEs: */ struct { struct ib_sge *sges; struct ib_rdma_wr *wrs; } map; /* for registering multiple WRs: */ struct rdma_rw_reg_ctx { struct ib_sge sge; struct ib_rdma_wr wr; struct ib_reg_wr reg_wr; struct ib_send_wr inv_wr; struct ib_mr *mr; } *reg; }; }; int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, u64 remote_addr, u32 rkey, enum dma_data_direction dir); void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, enum dma_data_direction dir); int rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, struct scatterlist *prot_sg, u32 prot_sg_cnt, struct ib_sig_attrs *sig_attrs, u64 remote_addr, u32 rkey, enum dma_data_direction dir); void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, struct scatterlist *prot_sg, u32 prot_sg_cnt, enum dma_data_direction dir); struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr); int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr); unsigned int rdma_rw_mr_factor(struct ib_device *device, u32 port_num, unsigned int maxpages); unsigned int rdma_rw_max_send_wr(struct ib_device *dev, u32 port_num, unsigned int max_rdma_ctxs, u32 create_flags); void rdma_rw_init_qp(struct ib_device *dev, struct ib_qp_init_attr *attr); int rdma_rw_init_mrs(struct ib_qp *qp, struct ib_qp_init_attr *attr); void rdma_rw_cleanup_mrs(struct ib_qp *qp); #endif /* _RDMA_RW_H */