Is it possible to use RDMA Mellanox libraries from within a kernel module?

807 views Asked by At

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

1

There are 1 answers

2
haggai_e On BEST ANSWER

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 what libibverbs provides in user-space.