Skip to content

iree-org/rdma-core-headers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

rdma-core-headers

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.

Source

  • 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

Updating

  1. Clone rdma-core:

    git clone --depth=1 https://github.com/linux-rdma/rdma-core.git /tmp/rdma-core
  2. 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/
  3. 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/
  4. 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/
  5. Update this README with the new commit hash and date.

Contents

include/infiniband/ (libibverbs)

  • verbs.h - Main RDMA verbs API
  • verbs_api.h - Versioned API declarations
  • arch.h - Architecture-specific definitions
  • opcode.h - Work request opcodes
  • sa.h - Subnet administration
  • sa-kern-abi.h - SA kernel ABI
  • tm_types.h - Tag matching types
  • ib_user_ioctl_verbs.h - Kernel ioctl definitions
  • acm.h - Address cache manager (from librdmacm)
  • ib.h - IB utilities (from librdmacm)

include/rdma/ (librdmacm)

  • rdma_cma.h - RDMA Connection Manager API
  • rdma_cma_abi.h - CM kernel ABI
  • rdma_verbs.h - Convenience verbs wrappers
  • rsocket.h - RDMA sockets API
  • ib_user_sa.h - SA kernel ABI
  • ib_user_verbs.h - Verbs kernel ABI

Local Patches

(none)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors