Whamcloud - gitweb
LU-16967 build: Add in-kernel-ko2iblnd driver 15/51915/9
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 10 Nov 2023 06:22:31 +0000 (00:22 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 Dec 2023 12:20:11 +0000 (12:20 +0000)
commit8b1d2a72f10e8486ff83e4c5a22420232246b582
tree2b207bf6a986d2dee5129fb1c7f1e041804c3282
parent3554923af9e3260235865d90949ecd2924bbbc0e
LU-16967 build: Add in-kernel-ko2iblnd driver

Add in-kernel-ko2iblnd.ko for users of in-kernel OFED
and only build ko2iblnd.ko if an external OFED is available

This allows for building and packaging both an external
(MOFED or OPA) o2ib driver and an in-kernel o2ib driver.

Packaging rules will be written so that only enable one
of the o2iblnd drivers can be installed.

In the case of the in-kernel-ko2iblnd.ko driver a symlink
named ko2iblnd.ko will be created to point to the in-kernel
based o2ib driver which allows for a reasonable migration path
for the majority of users.

It is useful for dist build and test to be able to build
both in-kernel IB and external OFED in the same build.

This also means there would be some install/configure
adjustments that ought to have some discussion.

Test-Parameters: trivial
HPE-bug-id: LUS-11711
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I8105fad0b20c36705d7e14e3ae976bf3d81e9f1b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51915
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
.gitignore
autoMakefile.am
config/lustre-build-linux.m4
lnet/autoconf/lustre-lnet.m4
lnet/klnds/Makefile.in
lnet/klnds/autoMakefile.am
lnet/klnds/in-kernel-o2iblnd/Makefile.in [new file with mode: 0644]
lnet/klnds/in-kernel-o2iblnd/autoMakefile.am [new file with mode: 0644]
lnet/klnds/o2iblnd/Makefile.in
lnet/klnds/o2iblnd/autoMakefile.am
lnet/klnds/o2iblnd/o2iblnd.h