Whamcloud - gitweb
LU-17744 ldiskfs: mballoc stats fixes
[fs/lustre-release.git] / lnet / utils / lnetconfig / liblnd.h
1 // SPDX-License-Identifier: LGPL-2.0
2
3 /*
4  * Copyright (c) 2015, James Simmons <jsimmons@infradead.org>
5  *
6  * Copyright (c) 2016, 2017, Intel Corporation.
7  */
8
9 /*
10  * This file is part of Lustre, http://www.lustre.org/
11  */
12
13 #ifndef LIB_LND_CONFIG_API_H
14 #define LIB_LND_CONFIG_API_H
15
16 #include <linux/lnet/socklnd.h>
17 #include <linux/lnet/lnet-dlc.h>
18 #include <cyaml.h>
19
20 int
21 lustre_net_show_tunables(struct cYAML *tunables,
22                          struct lnet_ioctl_config_lnd_cmn_tunables *cmn);
23
24 int
25 lustre_ni_show_tunables(struct cYAML *lnd_tunables,
26                         __u32 net_type,
27                         struct lnet_lnd_tunables *lnd, bool backup);
28
29 void
30 lustre_yaml_extract_lnd_tunables(struct cYAML *tree,
31                                  __u32 net_type,
32                                  struct lnet_lnd_tunables *tun);
33
34 #endif /* LIB_LND_CONFIG_API_H */