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 treewide: uapi: Replace zero-length arrays with flexible-array members 2022-06-28 21:26:05 +02:00
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 RDMA/erdma: Add the ABI definitions 2022-07-27 16:04:05 -03:00
hns-abi.h RDMA/hns: Support DSCP 2024-04-09 10:27:41 +03:00
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 RDMA/core: Use flexible array for mad data 2021-06-22 14:05:34 -03:00
ib_user_sa.h RDMA/ucma: Support query resolved service records 2025-08-13 06:16:07 -04:00
ib_user_verbs.h RDMA/uverbs: Expose CoCo DMA bounce requirement to userspace 2026-05-29 20:27:29 -03:00
ionic-abi.h RDMA/ionic: Register device ops for control path 2025-09-11 02:18:36 -04:00
irdma-abi.h RDMA/irdma: Fix irdma_alloc_ucontext_resp padding 2025-12-16 21:38:45 -04:00
mana-abi.h RDMA/mana_ib: Take CQ type from the device type 2026-01-15 06:03:22 -05:00
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 RDMA/mlx5: Support OOO RX WQE consumption 2024-11-04 06:57:20 -05:00
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/ucma: Fix rdma_ucm_query_ib_service_resp struct padding 2025-12-16 21:37:02 -04:00
rdma_user_ioctl_cmds.h treewide: uapi: Replace zero-length arrays with flexible-array members 2022-06-28 21:26:05 +02:00
rdma_user_ioctl.h
rdma_user_rxe.h RDMA/rxe: Extend rxe user ABI to support flush 2022-12-09 19:36:01 -04:00
rvt-abi.h
siw-abi.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
vmw_pvrdma-abi.h