WukLab / LITE

LITE Kernel RDMA Support for Datacenter Applications. SOSP 2017.
105 stars 19 forks source link

NeedHelp: make error #13

Open Lhoddy opened 3 years ago

Lhoddy commented 3 years ago

I want to write a RDMA kernel module with Linux 5.1.1 & OFED 4.7 . But RDMA kernel APIs have changed a lot from Linux 3.10 to Linux 5.1.1 .And it's hard for me to find some guide about this. I'm wondering if it is possible that you could recommend some books or PDF files about RDMA kernel module programming. Thank you for your time.

lastweek commented 3 years ago

Hi @Lhoddy

Thank you for using LITE. If you are new to RDMA, getting familiar with userspace RDMA (libibverbs) would be a good starting point. The kernel RDMA closely resembles the userspace practice. AFAIK, there aren't too much resource on kernel RDMA programming other than codes/comments.

yiying-zhang commented 3 years ago

Hi @Lhoddy

Thank you for working on LITE. It would definitely be very helpful to migrate LITE to newer Linux kernel versions and we would love to integrate that change into LITE!

Unfortunately, I don't think there are detailed docs of the kernel verbs APIs, and these APIs have changed a lot since version 3.10. As far as I remember (which could be wrong), most of the changes are in function call parameters. You'll probably just have to look at each function call and how it's different between the two Linux versions.