Whamcloud - gitweb
LU-13761 o2ib: Fix compilation with MOFED 5.1 23/39323/5
authorSergey Gorenko <sergeygo@mellanox.com>
Tue, 7 Jul 2020 11:31:31 +0000 (14:31 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 7 Aug 2020 04:59:21 +0000 (04:59 +0000)
commit956deb0fe8195c7a0c38c66a5a8cc1e95c2c245e
tree39050addcb2955fb6c3697d2427976b3f05022dd
parentb8faae3756e5ded135b392209125975807021691
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().

Test-Parameters: trivial
Signed-off-by: Sergey Gorenko <sergeygo@mellanox.com>
Change-Id: I2b28991f335658b651b21a09899b7b17ab2a9d57
Reviewed-on: https://review.whamcloud.com/39323
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/autoconf/lustre-lnet.m4
lnet/klnds/o2iblnd/o2iblnd_cb.c