Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/88892/?format=api
http://patchwork.dpdk.org/api/patches/88892/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210310172430.412405-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": "<20210310172430.412405-4-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210310172430.412405-4-bruce.richardson@intel.com", "date": "2021-03-10T17:24:29", "name": "[3/4] telemetry: create internal-only header file", "commit_ref": null, "pull_url": null, "state": "superseded", "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/20210310172430.412405-4-bruce.richardson@intel.com/mbox/", "series": [ { "id": 15587, "url": "http://patchwork.dpdk.org/api/series/15587/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=15587", "date": "2021-03-10T17:24:26", "name": "telemetry logging improvements and cleanup", "version": 1, "mbox": "http://patchwork.dpdk.org/series/15587/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/88892/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/88892/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 4B473A056A;\n\tWed, 10 Mar 2021 18:25:01 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6331422A3C3;\n\tWed, 10 Mar 2021 18:24:55 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 9854A22A3AC\n for <dev@dpdk.org>; Wed, 10 Mar 2021 18:24:52 +0100 (CET)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Mar 2021 09:24:50 -0800", "from silpixa00399126.ir.intel.com ([10.237.223.188])\n by orsmga008.jf.intel.com with ESMTP; 10 Mar 2021 09:24:49 -0800" ], "IronPort-SDR": [ "\n tP1oVsgihD15O8gJNMJkUOgXBapq5vfp4H4cdS6Uh/4d1xP95EmEJ/cSWW3WQ6teHRxgNwsd9C\n vJXJO90LeIKA==", "\n v6r4RFR86Ykl255M56xa+QSNnVpf1f4TUm+SVQ8A7XgWemAcHjnlxBeoBDih8wmMxDT7ZIwiDL\n AuN362p0GZfg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9919\"; a=\"185164652\"", "E=Sophos;i=\"5.81,237,1610438400\"; d=\"scan'208\";a=\"185164652\"", "E=Sophos;i=\"5.81,237,1610438400\"; d=\"scan'208\";a=\"410271713\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n Kevin Laatz <kevin.laatz@intel.com>", "Date": "Wed, 10 Mar 2021 17:24:29 +0000", "Message-Id": "<20210310172430.412405-4-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20210310172430.412405-1-bruce.richardson@intel.com>", "References": "<20210310172430.412405-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 3/4] telemetry: create internal-only header 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>\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 b8ee56ef01..bbc6a79f88 100644\n--- a/lib/librte_metrics/rte_metrics_telemetry.c\n+++ b/lib/librte_metrics/rte_metrics_telemetry.c\n@@ -7,7 +7,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 18f2ae2e2f..c3c988e972 100644\n--- a/lib/librte_telemetry/telemetry.c\n+++ b/lib/librte_telemetry/telemetry.c\n@@ -21,7 +21,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 fb44740186..ad076b9119 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 edd76ca359..5e9af37db1 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": [ "3/4" ] }{ "id": 88892, "url": "