Whamcloud - gitweb
LU-14588 o2ib: make config script aware of the ofed symbols 56/43556/2
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Tue, 6 Apr 2021 22:54:01 +0000 (15:54 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 29 May 2021 00:12:45 +0000 (00:12 +0000)
commitb1686f0ef0364afbf72414c439b5468b2ecb8967
tree6e4e7f16278a6ba52377f8fe5d20a24427b768f2
parent422ace2eb5f9d096263bbb6fd9be8bc6f41459cd
LU-14588 o2ib: make config script aware of the ofed symbols

LNet o2ib configuration script needs to be aware of the external
ofed dkms symbols when testing for availability of o2ib features
by building "conftest" kernel objects. If this is not done,
symbols from the core kernel are used by default which is
different from what is used when actually building LNet,
at least on Ubuntu. This patch adds the check for external symbols.

Lustre-change: https://review.whamcloud.com/43223
Lustre-commit: bcc5d784826d2d7a8eece28e96fab8b0fa02ab17

Test-Parameters: trivial
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: Iea566f8a3feb86b8bef2f4501a3abc968d76451a
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/43556
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/autoconf/lustre-lnet.m4