LITE icon indicating copy to clipboard operation
LITE copied to clipboard

NeedHelp: make error

Open Lhoddy opened this issue 5 years ago • 2 comments

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.

Lhoddy avatar Sep 12 '20 11:09 Lhoddy

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.

lastweek avatar Sep 20 '20 19:09 lastweek

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.

yiying-zhang avatar Sep 20 '20 20:09 yiying-zhang