The goals are:
- Move the current Linux shim from OFED to a central place, so it can be used by other drivers such as the video drivers.
- Make it possible to support multiple versions of Linux, to be able to gradually upgrade drivers, when the shim is updated.
Symbols are prefixed with linuxkpi${linux_version}_. A Coccinelle script is used to automate a large part of this prefixing, but manual edits are required.
Currently, the version is set as Linux 3.15 but it is arbitrary. I need confirmation from the developers of the original shim in OFED.