mbuf: fix pinned memory function style
[dpdk.git] / lib / librte_telemetry / rte_telemetry.h
index 97674ae..aedb318 100644 (file)
@@ -31,7 +31,8 @@
  * @return
  *  -EALREADY if Telemetry is already initialised.
  */
-int32_t __rte_experimental
+__rte_experimental
+int32_t
 rte_telemetry_init(void);
 
 /**
@@ -45,7 +46,24 @@ rte_telemetry_init(void);
  * @return
  *  -EPERM on failure
  */
-int32_t __rte_experimental
+__rte_experimental
+int32_t
 rte_telemetry_cleanup(void);
 
+/**
+ * @warning
+ * @b EXPERIMENTAL: this API may change without prior notice
+ *
+ * Runs various tests to ensure telemetry initialisation and register/unregister
+ * functions are working correctly.
+ *
+ * @return
+ *  0 on success when all tests have passed
+ * @return
+ *  -1 on failure when the test has failed
+ */
+__rte_experimental
+int32_t
+rte_telemetry_selftest(void);
+
 #endif