Whamcloud - gitweb
LU-15983 lnet: Define KFILND network type
[fs/lustre-release.git] / lnet / include / uapi / linux / lnet / nidstr.h
index 7ac7f9a..9e4b156 100644 (file)
@@ -52,6 +52,7 @@ enum {
        GNILND          = 13,
        GNIIPLND        = 14,
        PTL4LND         = 15,
+       KFILND          = 16,
 
        NUM_LNDS
 };
@@ -59,7 +60,7 @@ enum {
 struct list_head;
 
 #define LNET_NIDSTR_COUNT 1024 /* # of nidstrings */
-#define LNET_NIDSTR_SIZE  32   /* size of each one (see below for usage) */
+#define LNET_NIDSTR_SIZE  64   /* size of each one (see below for usage) */
 
 /* support decl needed by both kernel and user space */
 char *libcfs_next_nidstring(void);
@@ -84,6 +85,7 @@ static inline char *libcfs_nid2str(lnet_nid_t nid)
        return libcfs_nid2str_r(nid, libcfs_next_nidstring(),
                                LNET_NIDSTR_SIZE);
 }
+
 __u32 libcfs_str2net(const char *str);
 lnet_nid_t libcfs_str2nid(const char *str);
 int libcfs_str2anynid(lnet_nid_t *nid, const char *str);
@@ -93,8 +95,6 @@ void cfs_free_nidlist(struct list_head *list);
 int cfs_parse_nidlist(char *str, int len, struct list_head *list);
 int cfs_print_nidlist(char *buffer, int count, struct list_head *list);
 int cfs_match_nid(lnet_nid_t nid, struct list_head *list);
-int cfs_match_nid_net(lnet_nid_t nid, __u32 net, struct list_head *net_num_list,
-                     struct list_head *addr);
 int cfs_match_net(__u32 net_id, __u32 net_type,
                  struct list_head *net_num_list);