RDMA API for Linux kernel

2019-05-31 05:53发布

问题:

Is there an API for RDMA (Infiniband) that can be used in kernel Space? Most of the API's that I have found are user Space. kDAPL and kAL can be used in the linux kernel; however, I have not yet found sample code to use these API's. Can somebody help me with sample code for RDMA in kernel space?

回答1:

You can check the "krping" test - it is just what you need. It uses RDMA-CM to establish connection and run some RDMA traffic.

Download it from OpenFabrics website