Added missing define CURRENT_LND_VERSION for gni.
Declared kgnilnd_tunables_setup.
Test-Parameters: trivial
Signed-off-by: Frank Sehr <fsehr@whamcloud.com>
Change-Id: Ia327dcbdaa518a24a60e32b1dcb37c5b1d0dc78e
Fixes:
56097c4904 ("LU-16548 lnet: report actual timeout used by lnd")
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51342
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
int kgnilnd_start_rca_thread(void);
int kgnilnd_get_node_state(__u32 nid);
+int kgnilnd_tunables_setup(struct lnet_ni *ni);
int kgnilnd_tunables_init(void);
+
void kgnilnd_init_msg(kgn_msg_t *msg, int type, lnet_nid_t source);
void kgnilnd_bump_timeouts(__u32 nap_time, char *reason);
#include "gnilnd.h"
+#define CURRENT_LND_VERSION 1
+
static int credits = GNILND_DEFAULT_CREDITS;
module_param(credits, int, 0444);
MODULE_PARM_DESC(credits, "# concurrent sends");
return rc;
}
-void
-kgninal_tunables_setup(struct lnet_ni *ni)
+int
+kgnilnd_tunables_setup(struct lnet_ni *ni)
{
struct lnet_ioctl_config_gnilnd_tunables *tunables;
tunables->lnd_version = CURRENT_LND_VERSION;
tunables->lnd_timeout = kgnilnd_timeout();
+
+ return 0;
}