From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 514B4A09E4; Mon, 3 May 2021 18:34:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81C28410ED; Mon, 3 May 2021 18:34:02 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 19E4E40F35 for ; Mon, 3 May 2021 18:34:00 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 143GKurS003768; Mon, 3 May 2021 09:34:00 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=hTcqV16Lya9ft4CMMToERFGLeG8rAumP8SogkzXPrgg=; b=Bmrr/jIn0xel1UpNxCC5eJc7Dcrlv0bLVbfGQ1vMBuB98yM8jdxFERJd5fIlrSdo1hOX MaxAPHsY9Ijmv3m9AihSwF+CAAwxDRPr0sttOzBl0Mi5pWwPTIOAqymymA58HoCajfTK 6FnIagMvIRJEQ/NKjm0ko664WM7vNxUxtY6zxLoRC0294WzHiKI4XxnDg5hzKb0ed0qG tWR2NLqDUqV4AjPmF6Pq1t1wr9TBrO8/wxQ6NksJTFmHpkNJdEbgrZfDAY+l00q6VBg6 2llmrFIOB1FZeLJsO9sYG9MhAmgl2Z7Wx4yYE6zX4EUCvAmJLLOSUpHKWqegHZFRAsXx LQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 38agtfh4xb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 03 May 2021 09:33:59 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 3 May 2021 09:33:58 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 3 May 2021 09:33:58 -0700 Received: from jerin-lab.marvell.com (jerin-lab.marvell.com [10.28.34.14]) by maili.marvell.com (Postfix) with ESMTP id 9B2863F703F; Mon, 3 May 2021 09:33:56 -0700 (PDT) From: To: Ciara Power CC: , , , "Jerin Jacob" Date: Mon, 3 May 2021 22:04:28 +0530 Message-ID: <20210503163429.3222198-1-jerinj@marvell.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: 2xJbZv6WX4X65sVV8kKmi7rYA5AZPDnp X-Proofpoint-ORIG-GUID: 2xJbZv6WX4X65sVV8kKmi7rYA5AZPDnp X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-03_13:2021-05-03, 2021-05-03 signatures=0 Subject: [dpdk-dev] [PATCH] telemetry: remove internal symbol from public header X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Jerin Jacob Remove TELEMETRY_MAX_CALLBACKS symbol from public rte_telemetry.h header file. Signed-off-by: Jerin Jacob --- 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