[openib-general] OpenIB Architecture, kernel mode driver examples

Sean Hefty sean.hefty at intel.com
Sat Feb 5 17:11:53 PST 2005


>3. I want to write a simple Linux kernel mode driver that uses the
>APIs exposed by the OpenIB Access Layer (NOT the VAPI). The driver
>does simple send/receive of messages. It does not need to use IPoIB or
>SDP or other kernel level services. Is there anyway I can get access
>to Sample code for such a driver.

Try looking at
https://openib.org/svn/gen2/utils/src/linux-kernel/infiniband/util/cmpost/cm
post.c for a simple (relative to IBA anyway) example program that connects
and sends/receive data.

- Sean




More information about the general mailing list