I want to develop a kernel module that is able to send/receive RDMA messages. I am wondering if the Mellanox libraries can be called from kernel space.
Can I call Mellanox RDMA functions from a kernel module?
Answer: I have some working code here: https://github.com/jcarreira/disag-firebox
Most of the RDMA functionality provided by Mellanox devices and other HCAs can be accessed in the kernel through the API provided by the
ib_core
module, which is very similar to whatlibibverbs
provides in user-space.