Whamcloud - gitweb
LU-13621 lnet: utility to print cpt number
[fs/lustre-release.git] / lnet / utils / lnetconfig / liblnetconfig.h
index dae9268..05d186f 100644 (file)
@@ -539,6 +539,12 @@ int lustre_lnet_calc_service_id(__u64 *service_id);
 int lustre_lnet_setup_mrrouting(struct cYAML **err_rc);
 
 /*
+ * lustre_lnet_calc_cpt_of_nid
+ *     Return the cpt number of the NID provided
+ */
+int lustre_lnet_calc_cpt_of_nid(char *nidc, long int ncpts);
+
+/*
  * lustre_lnet_config_discovery
  *   Enable or disable peer discovery. Peer discovery is enabled by default.
  *