configure: check IBV_WR_SEND_WITH_INV not only for Linux
If the user wants to build RDMA on BSD and IBV_WR_SEND_WITH_INV is unavailable there he'll now get a warning message. Change-Id: Ie6c6ce55d21de519bb371ceed44fb1e01d6dc878 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453705 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
c4a3b31278
commit
32b356cd04
2
configure
vendored
2
configure
vendored
@ -407,7 +407,6 @@ if [[ "$OSTYPE" == "freebsd"* ]]; then
|
||||
fi
|
||||
|
||||
if [ "${CONFIG[RDMA]}" = "y" ]; then
|
||||
if [ "$OSTYPE" != "FreeBSD"* ]; then
|
||||
if echo -e '#include <infiniband/verbs.h>\n \
|
||||
int main(void){ return !!IBV_WR_SEND_WITH_INV; }\n' \
|
||||
| ${CC:-cc} ${CFLAGS} -x c -c -o /dev/null - 2>/dev/null; then
|
||||
@ -429,7 +428,6 @@ of libibverbs, so Linux kernel NVMe-oF initiators based on kernels greater
|
||||
than or equal to 4.14 will see significantly reduced performance.
|
||||
*******************************************************************************"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "${CONFIG[ISAL]}" = "y" ]] || [[ "${CONFIG[CRYPTO]}" = "y" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user