telemetry: rename internal-only header file

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 <bruce.richardson@intel.com>
Acked-by: Ciara Power <ciara.power@intel.com>
This commit is contained in:
Bruce Richardson 2021-03-25 13:57:06 +00:00 committed by Thomas Monjalon
parent e34e2f55a7
commit d700251c7a
4 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@
#include <rte_ethdev.h>
#include <rte_string_fns.h>
#ifdef RTE_LIB_TELEMETRY
#include <rte_telemetry_legacy.h>
#include <telemetry_internal.h>
#endif
#include "rte_metrics.h"

View File

@ -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

View File

@ -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 <rte_compat.h>
#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
*
***/

View File

@ -15,7 +15,7 @@
#include <rte_common.h>
#include <rte_spinlock.h>
#include "rte_telemetry_legacy.h"
#include "telemetry_internal.h"
#define MAX_LEN 128
#define BUF_SIZE 1024