X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Finclude%2Flnet%2Flib-lnet.h;h=1abeb33eec182a9dcd5f44742e7f8629d3b40787;hp=6f16f49deda19a64fe708c8efc832a775c90ba2e;hb=5e1957841df3e771f3d72d8ea59180213430bbb9;hpb=279bbc81e03dc74d273ec12b4d9e703ca94404c4 diff --git a/lnet/include/lnet/lib-lnet.h b/lnet/include/lnet/lib-lnet.h index 6f16f49..1abeb33 100644 --- a/lnet/include/lnet/lib-lnet.h +++ b/lnet/include/lnet/lib-lnet.h @@ -716,9 +716,8 @@ int lnet_get_route(int idx, __u32 *net, __u32 *hops, lnet_nid_t *gateway, __u32 *alive); void lnet_proc_init(void); void lnet_proc_fini(void); -void lnet_init_rtrpools(void); -int lnet_alloc_rtrpools(int im_a_router); -void lnet_free_rtrpools(void); +int lnet_rtrpools_alloc(int im_a_router); +void lnet_rtrpools_free(void); lnet_remotenet_t *lnet_find_net_locked (__u32 net); int lnet_islocalnid(lnet_nid_t nid); @@ -811,6 +810,9 @@ char *lnet_msgtyp2str (int type); void lnet_print_hdr (lnet_hdr_t * hdr); int lnet_fail_nid(lnet_nid_t nid, unsigned int threshold); +void lnet_counters_get(lnet_counters_t *counters); +void lnet_counters_reset(void); + unsigned int lnet_iov_nob (unsigned int niov, struct iovec *iov); int lnet_extract_iov (int dst_niov, struct iovec *dst, int src_niov, struct iovec *src,