X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_param.h;h=cfc510cfc25e4785f37847584052612906a9c402;hb=b8a0753a3bd2953ef6c24ddd18d15786808c2066;hp=883eae3422985b6bc81a51d8aa84b96cc40c0c5a;hpb=f95393b0d0a59cf3dc2f29cffc35dcc4cc9d7728;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_param.h b/lustre/include/lustre_param.h index 883eae3..cfc510c 100644 --- a/lustre/include/lustre_param.h +++ b/lustre/include/lustre_param.h @@ -53,6 +53,8 @@ int class_find_param(char *buf, char *key, char **valp); int class_get_next_param(char **params, char *copy); int class_match_param(char *buf, char *key, char **valp); int class_parse_nid(char *buf, lnet_nid_t *nid, char **endh); +int class_parse_net(char *buf, __u32 *net, char **endh); +int class_match_net(char *buf, lnet_nid_t nid); /* obd_mount.c */ int do_lcfg(char *cfgname, lnet_nid_t nid, int cmd, char *s1, char *s2, char *s3, char *s4); @@ -83,6 +85,7 @@ int do_lcfg(char *cfgname, lnet_nid_t nid, int cmd, #define PARAM_FAILNODE "failover.node=" /* add failover nid */ #define PARAM_FAILMODE "failover.mode=" /* initial mount only */ #define PARAM_ACTIVE "active=" /* activate/deactivate */ +#define PARAM_NETWORK "network=" /* bind on nid */ /* Prefixes for parameters handled by obd's proc methods (XXX_process_config) */ #define PARAM_OST "ost."