Whamcloud - gitweb
LU-12789 o2ib: fix configure checks 31/36331/2
authorSergey Gorenko <sergeygo@mellanox.com>
Fri, 20 Sep 2019 13:34:48 +0000 (16:34 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Oct 2019 20:31:49 +0000 (20:31 +0000)
commit6cb0c9863caaa6bfa9d45995f08b73ce1fadae1f
tree33a8a1b33b1e97f4150de0355ab39ece1f8a2e0c
parent4272c18f2a0a54f919f4ee2ed89fe74ea08b09d9
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

Lustre-change: https://review.whamcloud.com/36245
Lustre-commit: f44f657ee218303220f41182ced4fac290266b7f

Change-Id: I9910de888371776758376743ab4418778e1d85e4
Signed-off-by: Alexey Lyashkov <c17817@cray.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36331
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.h