OFED 4.3 patch for BeeGFS 6.18 and 7.0

When trying to build the BeeGFS client kernel module of version 6.18 or 7.0 with OFED 4.3 drivers, the following error is displayed:
$ /etc/init.d/beegfs-client rebuild
- BeeGFS module autobuild
Building beegfs client module
/opt/beegfs/src/client/beegfs_client_module_6/build/../source/common/net/sock/ibv/IBVSocket.c: In function \u2018__IBVSocket_createNewID\u2019:
/opt/beegfs/src/client/beegfs_client_module_6/build/../source/common/net/sock/ibv/IBVSocket.c:87:76: error: macro "rdma_create_id" requires 5 arguments, but only 3 given
       new_cm_id = rdma_create_id(__IBVSocket_cmaHandler, _this, RDMA_PS_TCP);
/opt/beegfs/src/client/beegfs_client_module_6/build/../source/common/net/sock/ibv/IBVSocket.c:87:19: error: \u2018rdma_create_id\u2019 undeclared (first use in this function)
       new_cm_id = rdma_create_id(__IBVSocket_cmaHandler, _this, RDMA_PS_TCP);
/opt/beegfs/src/client/beegfs_client_module_6/build/../source/common/net/sock/ibv/IBVSocket.c:87:19: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/opt/beegfs/src/client/beegfs_client_module_6/build/../source/common/net/sock/ibv/IBVSocket.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/opt/beegfs/src/client/beegfs_client_module_6/build/../source] Error 2
make[1]: *** [module] Error 2
make: *** [auto_rebuild] Error 2

If you see this error, please install the patch that can be downloaded here or by using the command line. Please check the autobuild file (/etc/beegfs/beegfs-client-autobuild.conf) that the 'buildArgs' is set to use OFED.

In order to apply that patch please follow these instructions:
If you use BeeGFS 6.18 on RHEL 7.5 (Or CentOS/Scientific Linux 7.5), it is also necessary to install another patch, as described here
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki