Whamcloud - gitweb
LU-13761 o2ib: Fix compilation with MOFED 5.1 81/39781/2
authorSergey Gorenko <sergeygo@mellanox.com>
Tue, 1 Sep 2020 06:53:06 +0000 (23:53 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 15 Sep 2020 05:09:26 +0000 (05:09 +0000)
commitba702c79fbf81da830e0ba3d79f1f4efd9d50310
tree18ec899131e4a14f35d32e354a3dd5e71a81fe4f
parentd657c96e35e8b05df111745d6e540aaf16a0c1c9
LU-13761 o2ib: Fix compilation with MOFED 5.1

A new argument was added to rdma_reject() in MOFED 5.1 and
Linux 5.8.

Add a cofigure check and support both versions of rdma_reject().

Lustre-commit: 956deb0fe8195c7a0c38c66a5a8cc1e95c2c245e
Lustre-change: https://review.whamcloud.com/39323

Test-Parameters: trivial
Signed-off-by: Sergey Gorenko <sergeygo@mellanox.com>
Change-Id: I2b28991f335658b651b21a09899b7b17ab2a9d57
Reviewed-on: https://review.whamcloud.com/39781
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/autoconf/lustre-lnet.m4
lnet/klnds/o2iblnd/o2iblnd_cb.c