The gnilnd is not upstream so avoid the code for native client
builds.
Test-Parameters: trivial
Change-Id: I48015da55f2ea8823838a00ca618c9bd1716b7c3
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58953
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
])
EXTRA_KCFLAGS="$EXTRA_KCFLAGS_save"
+ AC_DEFINE(HAVE_GNILND, 1, [support gemini LND])
AC_SUBST(ENABLE_GNI, yes)
], [
AC_SUBST(ENABLE_GNI, no)
}
#endif
+#ifdef HAVE_GNILND
static int
lustre_gnilnd_show_tun(struct cYAML *lndparams,
struct lnet_ioctl_config_gnilnd_tunables *lnd_cfg)
return LUSTRE_CFG_RC_NO_ERR;
}
+#endif
int
lustre_net_show_tunables(struct cYAML *tunables,
&lnd->lnd_tun_u.lnd_kfi,
backup);
#endif
+#ifdef HAVE_GNILND
else if (net_type == GNILND)
rc = lustre_gnilnd_show_tun(lnd_tunables,
&lnd->lnd_tun_u.lnd_gni);
+#endif
return rc;
}