Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/89857/?format=api
http://patchwork.dpdk.org/api/patches/89857/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210325135707.325536-4-bruce.richardson@intel.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20210325135707.325536-4-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210325135707.325536-4-bruce.richardson@intel.com", "date": "2021-03-25T13:57:06", "name": "[v2,3/4] telemetry: rename internal-only header file", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "55e6fb9d00510d95b10d4f775c962e7204804b63", "submitter": { "id": 20, "url": "http://patchwork.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210325135707.325536-4-bruce.richardson@intel.com/mbox/", "series": [ { "id": 15884, "url": "http://patchwork.dpdk.org/api/series/15884/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=15884", "date": "2021-03-25T13:57:03", "name": "telemetry logging improvements and cleanup", "version": 2, "mbox": "http://patchwork.dpdk.org/series/15884/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/89857/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/89857/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 25425A0A02;\n\tThu, 25 Mar 2021 14:57:47 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5127B140D89;\n\tThu, 25 Mar 2021 14:57:39 +0100 (CET)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 4CA5B140D7B\n for <dev@dpdk.org>; Thu, 25 Mar 2021 14:57:35 +0100 (CET)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Mar 2021 06:57:35 -0700", "from silpixa00399126.ir.intel.com ([10.237.223.116])\n by fmsmga004.fm.intel.com with ESMTP; 25 Mar 2021 06:57:33 -0700" ], "IronPort-SDR": [ "\n tJs/vqQKiwmjYUDIsyiZ4m/pVh8ynWKBNTu+xvIE9mXgVdvxhwm8xXk0uHLPq51S2pYAh+eSQs\n iFetz1qf40pg==", "\n bz132FnKHXp8PneF73z19K56/QYSqSTP2pVhdVVQ2FRhzwaTA3e7B4fBxl54/j4X+nWuEKVMf2\n 7hojIwljsxEA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9933\"; a=\"170910570\"", "E=Sophos;i=\"5.81,277,1610438400\"; d=\"scan'208\";a=\"170910570\"", "E=Sophos;i=\"5.81,277,1610438400\"; d=\"scan'208\";a=\"436466531\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n Ciara Power <ciara.power@intel.com>, Kevin Laatz <kevin.laatz@intel.com>", "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>\n <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\n file", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The header file containing the legacy telemetry function prototypes was all\ninternal-only, so we rename the file to be an internal-only one to make it\nclearer it's not for installation.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Ciara Power <ciara.power@intel.com>\n---\n lib/librte_metrics/rte_metrics_telemetry.c | 2 +-\n lib/librte_telemetry/telemetry.c | 2 +-\n .../{rte_telemetry_legacy.h => telemetry_internal.h} | 6 +++---\n lib/librte_telemetry/telemetry_legacy.c | 2 +-\n 4 files changed, 6 insertions(+), 6 deletions(-)\n rename lib/librte_telemetry/{rte_telemetry_legacy.h => telemetry_internal.h} (93%)", "diff": "diff --git a/lib/librte_metrics/rte_metrics_telemetry.c b/lib/librte_metrics/rte_metrics_telemetry.c\nindex 795bd29fe..c24990d92 100644\n--- a/lib/librte_metrics/rte_metrics_telemetry.c\n+++ b/lib/librte_metrics/rte_metrics_telemetry.c\n@@ -5,7 +5,7 @@\n #include <rte_ethdev.h>\n #include <rte_string_fns.h>\n #ifdef RTE_LIB_TELEMETRY\n-#include <rte_telemetry_legacy.h>\n+#include <telemetry_internal.h>\n #endif\n \n #include \"rte_metrics.h\"\ndiff --git a/lib/librte_telemetry/telemetry.c b/lib/librte_telemetry/telemetry.c\nindex 042136b82..7e08afd22 100644\n--- a/lib/librte_telemetry/telemetry.c\n+++ b/lib/librte_telemetry/telemetry.c\n@@ -20,7 +20,7 @@\n #include \"rte_telemetry.h\"\n #include \"telemetry_json.h\"\n #include \"telemetry_data.h\"\n-#include \"rte_telemetry_legacy.h\"\n+#include \"telemetry_internal.h\"\n \n #define MAX_CMD_LEN 56\n #define MAX_HELP_LEN 64\ndiff --git a/lib/librte_telemetry/rte_telemetry_legacy.h b/lib/librte_telemetry/telemetry_internal.h\nsimilarity index 93%\nrename from lib/librte_telemetry/rte_telemetry_legacy.h\nrename to lib/librte_telemetry/telemetry_internal.h\nindex fb4474018..ad076b911 100644\n--- a/lib/librte_telemetry/rte_telemetry_legacy.h\n+++ b/lib/librte_telemetry/telemetry_internal.h\n@@ -2,8 +2,8 @@\n * Copyright(c) 2020 Intel Corporation\n */\n \n-#ifndef _RTE_TELEMETRY_LEGACY_H_\n-#define _RTE_TELEMETRY_LEGACY_H_\n+#ifndef _RTE_TELEMETRY_INTERNAL_H_\n+#define _RTE_TELEMETRY_INTERNAL_H_\n \n #include <rte_compat.h>\n #include \"rte_telemetry.h\"\n@@ -14,7 +14,7 @@\n * @b EXPERIMENTAL: this API may change without prior notice\n \n * @file\n- * RTE Telemetry Legacy\n+ * RTE Telemetry Legacy and internal definitions\n *\n ***/\n \ndiff --git a/lib/librte_telemetry/telemetry_legacy.c b/lib/librte_telemetry/telemetry_legacy.c\nindex edd76ca35..5e9af37db 100644\n--- a/lib/librte_telemetry/telemetry_legacy.c\n+++ b/lib/librte_telemetry/telemetry_legacy.c\n@@ -15,7 +15,7 @@\n #include <rte_common.h>\n #include <rte_spinlock.h>\n \n-#include \"rte_telemetry_legacy.h\"\n+#include \"telemetry_internal.h\"\n \n #define MAX_LEN 128\n #define BUF_SIZE 1024\n", "prefixes": [ "v2", "3/4" ] }{ "id": 89857, "url": "