Whamcloud - gitweb
LU-12789 o2ib: fix configure checks 45/36245/2
authorSergey Gorenko <sergeygo@mellanox.com>
Fri, 20 Sep 2019 13:34:48 +0000 (16:34 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 27 Sep 2019 23:12:36 +0000 (23:12 +0000)
commitf44f657ee218303220f41182ced4fac290266b7f
tree5bc3f890b2d36175443677763349215f4ee1c08b
parent010f6b1819b9009745abda8d6119589dc336bd95
LU-12789 o2ib: fix configure checks

Fix configure checks for modern kernels / MOFED 4.7
1) sg_dma_address() and sg_dma_len() always have only one argument.
2) Make configure checks executed in proper enviroment

Change-Id: I9910de888371776758376743ab4418778e1d85e4
Signed-off-by: Alexey Lyashkov <c17817@cray.com>
Reviewed-on: https://review.whamcloud.com/36245
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/autoconf/lustre-lnet.m4
lnet/klnds/o2iblnd/o2iblnd.h