X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lnet%2Finclude%2Flnet%2Fapi.h;h=9408583920c0d86eeedb0380ca53c70217c59e59;hb=4e48761a57193279ce3f3d5170c3e38cf287b59a;hp=4fa2f66f0b3d9a49aca754b31356933ee14ffdf9;hpb=05ad99f1f3a9f85756bf3355505722bb4f20f420;p=fs%2Flustre-release.git diff --git a/lnet/include/lnet/api.h b/lnet/include/lnet/api.h index 4fa2f66..9408583 100644 --- a/lnet/include/lnet/api.h +++ b/lnet/include/lnet/api.h @@ -23,7 +23,7 @@ * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2016, Intel Corporation. + * Copyright (c) 2016, 2017, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -47,7 +47,7 @@ # error This include is only for kernel use. #endif -#include +#include /** \defgroup lnet_init_fini Initialization and cleanup * The LNet must be properly initialized before any LNet calls can be made. @@ -78,6 +78,7 @@ int LNetNIFini(void); int LNetGetId(unsigned int index, struct lnet_process_id *id); int LNetDist(lnet_nid_t nid, lnet_nid_t *srcnid, __u32 *order); lnet_nid_t LNetPrimaryNID(lnet_nid_t nid); +bool LNetIsPeerLocal(lnet_nid_t nid); /** @} lnet_addr */