DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] telemetry: remove internal symbol from public header
@ 2021-05-03 16:34 jerinj
  2021-05-04 12:14 ` Bruce Richardson
  0 siblings, 1 reply; 7+ messages in thread
From: jerinj @ 2021-05-03 16:34 UTC (permalink / raw)
  To: Ciara Power; +Cc: dev, thomas, bruce.richardson, Jerin Jacob

From: Jerin Jacob <jerinj@marvell.com>

Remove TELEMETRY_MAX_CALLBACKS symbol from public
rte_telemetry.h header file.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
---
 lib/telemetry/rte_telemetry.h | 2 --
 lib/telemetry/telemetry.c     | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/telemetry/rte_telemetry.h b/lib/telemetry/rte_telemetry.h
index 031db9e968..c08146e142 100644
--- a/lib/telemetry/rte_telemetry.h
+++ b/lib/telemetry/rte_telemetry.h
@@ -10,8 +10,6 @@
 #ifndef _RTE_TELEMETRY_H_
 #define _RTE_TELEMETRY_H_
 
-/** Maximum number of telemetry callbacks. */
-#define TELEMETRY_MAX_CALLBACKS 64
 /** Maximum length for string used in object. */
 #define RTE_TEL_MAX_STRING_LEN 64
 /** Maximum length of string. */
diff --git a/lib/telemetry/telemetry.c b/lib/telemetry/telemetry.c
index 386d0080bc..c06de45531 100644
--- a/lib/telemetry/telemetry.c
+++ b/lib/telemetry/telemetry.c
@@ -27,6 +27,9 @@
 #define MAX_OUTPUT_LEN (1024 * 16)
 #define MAX_CONNECTIONS 10
 
+/** Maximum number of telemetry callbacks. */
+#define TELEMETRY_MAX_CALLBACKS 64
+
 #ifndef RTE_EXEC_ENV_WINDOWS
 static void *
 client_handler(void *socket);
-- 
2.31.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-05 16:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-03 16:34 [dpdk-dev] [PATCH] telemetry: remove internal symbol from public header jerinj
2021-05-04 12:14 ` Bruce Richardson
2021-05-04 16:19   ` Power, Ciara
2021-05-05  8:44     ` David Marchand
2021-05-05 10:24       ` Jerin Jacob
2021-05-05 14:12         ` Power, Ciara
2021-05-05 16:15     ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).