Public API headers for libibverbs and librdmacm extracted from rdma-core.
These headers are used for dynamically loading the RDMA libraries at runtime, allowing binaries to be built without requiring rdma-core development packages installed.
- Upstream Repository: https://github.com/linux-rdma/rdma-core
- Upstream Commit: 6e9643ea97d1f312223801b07c19c0a16615eeb4
- Upstream Date: 2026-01-15
- License: OpenIB.org BSD license (MIT variant) - see LICENSE
-
Clone rdma-core:
git clone --depth=1 https://github.com/linux-rdma/rdma-core.git /tmp/rdma-core
-
Copy the public headers from libibverbs:
cp /tmp/rdma-core/libibverbs/{arch,opcode,sa-kern-abi,sa,verbs,verbs_api,tm_types}.h include/infiniband/ -
Copy the public headers from librdmacm:
cp /tmp/rdma-core/librdmacm/{rdma_cma,rdma_cma_abi,rdma_verbs,rsocket}.h include/rdma/ cp /tmp/rdma-core/librdmacm/{acm,ib}.h include/infiniband/ -
Copy the kernel ABI headers:
cp /tmp/rdma-core/kernel-headers/rdma/ib_user_ioctl_verbs.h include/infiniband/ cp /tmp/rdma-core/kernel-headers/rdma/{ib_user_sa,ib_user_verbs}.h include/rdma/ -
Update this README with the new commit hash and date.
verbs.h- Main RDMA verbs APIverbs_api.h- Versioned API declarationsarch.h- Architecture-specific definitionsopcode.h- Work request opcodessa.h- Subnet administrationsa-kern-abi.h- SA kernel ABItm_types.h- Tag matching typesib_user_ioctl_verbs.h- Kernel ioctl definitionsacm.h- Address cache manager (from librdmacm)ib.h- IB utilities (from librdmacm)
rdma_cma.h- RDMA Connection Manager APIrdma_cma_abi.h- CM kernel ABIrdma_verbs.h- Convenience verbs wrappersrsocket.h- RDMA sockets APIib_user_sa.h- SA kernel ABIib_user_verbs.h- Verbs kernel ABI
(none)