Whamcloud - gitweb
LU-17039 build: cleanup ib_dma_map_sg 79/51979/2
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 18 Aug 2023 04:50:56 +0000 (23:50 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Aug 2023 06:40:43 +0000 (06:40 +0000)
commita897803cc75ff9770105512acf1a81e402db7736
treecc1997ab35486266cad5959e1b1deaed6f4f3056
parent4774d1fab1ba701900aae61ae40987e64af7a635
LU-17039 build: cleanup ib_dma_map_sg

CONFIG_INFINIBAND_VIRT_DMA is a kernel configuration option
that in some cases conflicts with the configuration of the
externally provided OFED stack.

During configure when ib_dma_map_sg fails to build correctly
we can simply #undef CONFIG_INFINIBAND_VIRT_DMA to resolve
the inconsistent configuration that breaks ib_dma_map_sg

Test-Parameters: trivial
HPE-bug-id: LUS-11771
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Id0849464d3ffbd573cac13016191d80c6ea991af
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51979
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/autoconf/lustre-lnet.m4
lnet/klnds/o2iblnd/o2iblnd.h