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 25425A0A02; Thu, 25 Mar 2021 14:57:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5127B140D89; Thu, 25 Mar 2021 14:57:39 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 4CA5B140D7B for ; Thu, 25 Mar 2021 14:57:35 +0100 (CET) IronPort-SDR: tJs/vqQKiwmjYUDIsyiZ4m/pVh8ynWKBNTu+xvIE9mXgVdvxhwm8xXk0uHLPq51S2pYAh+eSQs iFetz1qf40pg== X-IronPort-AV: E=McAfee;i="6000,8403,9933"; a="170910570" X-IronPort-AV: E=Sophos;i="5.81,277,1610438400"; d="scan'208";a="170910570" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2021 06:57:35 -0700 IronPort-SDR: bz132FnKHXp8PneF73z19K56/QYSqSTP2pVhdVVQ2FRhzwaTA3e7B4fBxl54/j4X+nWuEKVMf2 7hojIwljsxEA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,277,1610438400"; d="scan'208";a="436466531" Received: from silpixa00399126.ir.intel.com ([10.237.223.116]) by fmsmga004.fm.intel.com with ESMTP; 25 Mar 2021 06:57:33 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , Ciara Power , Kevin Laatz Date: Thu, 25 Mar 2021 13:57:06 +0000 Message-Id: <20210325135707.325536-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210325135707.325536-1-bruce.richardson@intel.com> References: <20210310172430.412405-1-bruce.richardson@intel.com> <20210325135707.325536-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 3/4] telemetry: rename internal-only header file 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" The header file containing the legacy telemetry function prototypes was all internal-only, so we rename the file to be an internal-only one to make it clearer it's not for installation. Signed-off-by: Bruce Richardson Acked-by: Ciara Power --- lib/librte_metrics/rte_metrics_telemetry.c | 2 +- lib/librte_telemetry/telemetry.c | 2 +- .../{rte_telemetry_legacy.h => telemetry_internal.h} | 6 +++--- lib/librte_telemetry/telemetry_legacy.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename lib/librte_telemetry/{rte_telemetry_legacy.h => telemetry_internal.h} (93%) diff --git a/lib/librte_metrics/rte_metrics_telemetry.c b/lib/librte_metrics/rte_metrics_telemetry.c index 795bd29fe..c24990d92 100644 --- a/lib/librte_metrics/rte_metrics_telemetry.c +++ b/lib/librte_metrics/rte_metrics_telemetry.c @@ -5,7 +5,7 @@ #include #include #ifdef RTE_LIB_TELEMETRY -#include +#include #endif #include "rte_metrics.h" diff --git a/lib/librte_telemetry/telemetry.c b/lib/librte_telemetry/telemetry.c index 042136b82..7e08afd22 100644 --- a/lib/librte_telemetry/telemetry.c +++ b/lib/librte_telemetry/telemetry.c @@ -20,7 +20,7 @@ #include "rte_telemetry.h" #include "telemetry_json.h" #include "telemetry_data.h" -#include "rte_telemetry_legacy.h" +#include "telemetry_internal.h" #define MAX_CMD_LEN 56 #define MAX_HELP_LEN 64 diff --git a/lib/librte_telemetry/rte_telemetry_legacy.h b/lib/librte_telemetry/telemetry_internal.h similarity index 93% rename from lib/librte_telemetry/rte_telemetry_legacy.h rename to lib/librte_telemetry/telemetry_internal.h index fb4474018..ad076b911 100644 --- a/lib/librte_telemetry/rte_telemetry_legacy.h +++ b/lib/librte_telemetry/telemetry_internal.h @@ -2,8 +2,8 @@ * Copyright(c) 2020 Intel Corporation */ -#ifndef _RTE_TELEMETRY_LEGACY_H_ -#define _RTE_TELEMETRY_LEGACY_H_ +#ifndef _RTE_TELEMETRY_INTERNAL_H_ +#define _RTE_TELEMETRY_INTERNAL_H_ #include #include "rte_telemetry.h" @@ -14,7 +14,7 @@ * @b EXPERIMENTAL: this API may change without prior notice * @file - * RTE Telemetry Legacy + * RTE Telemetry Legacy and internal definitions * ***/ diff --git a/lib/librte_telemetry/telemetry_legacy.c b/lib/librte_telemetry/telemetry_legacy.c index edd76ca35..5e9af37db 100644 --- a/lib/librte_telemetry/telemetry_legacy.c +++ b/lib/librte_telemetry/telemetry_legacy.c @@ -15,7 +15,7 @@ #include #include -#include "rte_telemetry_legacy.h" +#include "telemetry_internal.h" #define MAX_LEN 128 #define BUF_SIZE 1024 -- 2.27.0