linux/include/uapi/rdma
Jiri Pirko d7a40b5194 RDMA/uverbs: Expose CoCo DMA bounce requirement to userspace
In CoCo guests, guest memory is encrypted and untrusted (T=0) devices
cannot DMA to it directly; such transfers must go through unencrypted
bounce buffers. RDMA registers user pages for direct device access,
bypassing the DMA layer and thus any bouncing, so registered memory does
not work in this configuration.

Until trusted (T=1) device detection is available, conservatively flag
every device attached to a CoCo guest. Expose the condition to userspace
as IB_UVERBS_DEVICE_CC_DMA_BOUNCE in device_cap_flags_ex so applications
can avoid memory registration and fall back to copying buffers through
send/recv.

Link: https://patch.msgid.link/r/20260517141311.2409230-2-jiri@resnulli.us
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2026-05-29 20:27:29 -03:00
..
hfi
bnxt_re-abi.h RDMA/bnxt_re: Enable app allocated QPs 2026-05-24 12:32:21 -03:00
cxgb4-abi.h
efa-abi.h RDMA/efa: Rename alloc_ucontext comp_mask to supported_caps 2026-03-17 07:04:03 -04:00
erdma-abi.h
hns-abi.h
ib_user_ioctl_cmds.h RDMA/uverbs: Use UMEM attributes for QP creation 2026-05-29 20:19:59 -03:00
ib_user_ioctl_verbs.h RDMA/core: Introduce generic buffer descriptor infrastructure for umem 2026-05-29 20:19:57 -03:00
ib_user_mad.h
ib_user_sa.h
ib_user_verbs.h RDMA/uverbs: Expose CoCo DMA bounce requirement to userspace 2026-05-29 20:27:29 -03:00
ionic-abi.h
irdma-abi.h
mana-abi.h
mlx4-abi.h
mlx5_user_ioctl_cmds.h RDMA/mlx5: Use UMEM attribute for QP doorbell record 2026-05-29 20:20:00 -03:00
mlx5_user_ioctl_verbs.h RDMA/mlx5: Add support for TLP VAR allocation 2026-03-05 05:42:01 -05:00
mlx5-abi.h
mthca-abi.h
ocrdma-abi.h
qedr-abi.h
rdma_netlink.h RDMA/nldev: Expose kernel-internal FRMR pools in netlink 2026-03-05 05:41:02 -05:00
rdma_user_cm.h
rdma_user_ioctl_cmds.h
rdma_user_ioctl.h
rdma_user_rxe.h
rvt-abi.h
siw-abi.h
vmw_pvrdma-abi.h