Whamcloud - gitweb
LU-7734 lnet: configure local NI from DLC
[fs/lustre-release.git] / lnet / utils / lnetconfig / liblnd.h
index 0de9fba..45f7893 100644 (file)
 #include "cyaml.h"
 
 int
-lustre_interface_show_net(struct cYAML *interfaces, unsigned int index,
-                         bool detail, struct lnet_ioctl_config_data *data,
-                         struct lnet_ioctl_net_config *net_config);
+lustre_net_show_tunables(struct cYAML *tunables,
+                        struct lnet_ioctl_config_lnd_cmn_tunables *cmn);
+
+int
+lustre_ni_show_tunables(struct cYAML *lnd_tunables,
+                       __u32 net_type,
+                       struct lnet_lnd_tunables *lnd);
 
 void
-lustre_interface_parse(struct cYAML *lndparams, const char *dev_name,
-                      struct lnet_ioctl_config_lnd_tunables *lnd_cfg);
+lustre_yaml_extract_lnd_tunables(struct cYAML *tree,
+                                __u32 net_type,
+                                struct lnet_lnd_tunables *tun);
 
 #endif /* LIB_LND_CONFIG_API_H */