Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/26113/?format=api
https://patches.dpdk.org/api/patches/26113/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170630165140.59594-2-ferruh.yigit@intel.com/", "project": { "id": 1, "url": "https://patches.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": "<20170630165140.59594-2-ferruh.yigit@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20170630165140.59594-2-ferruh.yigit@intel.com", "date": "2017-06-30T16:51:21", "name": "[dpdk-dev,v9,01/20] ethtool: add library skeleton", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "33d315548550f7a43b763fd33522c9ff18280542", "submitter": { "id": 324, "url": "https://patches.dpdk.org/api/people/324/?format=api", "name": "Ferruh Yigit", "email": "ferruh.yigit@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20170630165140.59594-2-ferruh.yigit@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/26113/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/26113/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 1CA044CC5;\n\tFri, 30 Jun 2017 18:52:12 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 799DC235\n\tfor <dev@dpdk.org>; Fri, 30 Jun 2017 18:52:01 +0200 (CEST)", "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t30 Jun 2017 09:51:58 -0700", "from silpixa00372839.ir.intel.com (HELO\n\tsilpixa00372839.ger.corp.intel.com) ([10.237.222.154])\n\tby orsmga004.jf.intel.com with ESMTP; 30 Jun 2017 09:51:44 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.40,287,1496127600\"; d=\"scan'208\";a=\"103233112\"", "From": "Ferruh Yigit <ferruh.yigit@intel.com>", "To": "dev@dpdk.org", "Cc": "Ferruh Yigit <ferruh.yigit@intel.com>,\n\tStephen Hemminger <stephen@networkplumber.org>,\n\tBruce Richardson <bruce.richardson@intel.com>,\n\tAnatoly Burakov <anatoly.burakov@intel.com>", "Date": "Fri, 30 Jun 2017 17:51:21 +0100", "Message-Id": "<20170630165140.59594-2-ferruh.yigit@intel.com>", "X-Mailer": "git-send-email 2.13.0", "In-Reply-To": "<20170630165140.59594-1-ferruh.yigit@intel.com>", "References": "<20170621110651.75299-1-ferruh.yigit@intel.com>\n\t<20170630165140.59594-1-ferruh.yigit@intel.com>", "Subject": "[dpdk-dev] [PATCH v9 01/20] ethtool: add library skeleton", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Library is disabled by default.\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\n MAINTAINERS | 3 +++\n config/common_base | 5 +++++\n doc/guides/rel_notes/release_17_08.rst | 1 +\n lib/Makefile | 2 ++\n lib/librte_eal/common/include/rte_log.h | 1 +\n lib/librte_ethtool/rte_ethtool_version.map | 4 ++++\n mk/rte.app.mk | 1 +\n 7 files changed, 17 insertions(+)\n create mode 100644 lib/librte_ethtool/rte_ethtool_version.map", "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex f6095efff..b2cf83c8e 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -754,6 +754,9 @@ Latency statistics\n M: Reshma Pattan <reshma.pattan@intel.com>\n F: lib/librte_latencystats/\n \n+Ethtool\n+M: Remy Horton <remy.horton@intel.com>\n+F: lib/librte_ethtool/\n \n Test Applications\n -----------------\ndiff --git a/config/common_base b/config/common_base\nindex f6aafd17d..c767b1090 100644\n--- a/config/common_base\n+++ b/config/common_base\n@@ -699,6 +699,11 @@ CONFIG_RTE_KNI_PREEMPT_DEFAULT=y\n CONFIG_RTE_LIBRTE_PDUMP=y\n \n #\n+# Compile librte_ethtool\n+#\n+CONFIG_RTE_LIBRTE_ETHTOOL=n\n+\n+#\n # Compile vhost user library\n #\n CONFIG_RTE_LIBRTE_VHOST=n\ndiff --git a/doc/guides/rel_notes/release_17_08.rst b/doc/guides/rel_notes/release_17_08.rst\nindex 842f46f75..dbe1ee906 100644\n--- a/doc/guides/rel_notes/release_17_08.rst\n+++ b/doc/guides/rel_notes/release_17_08.rst\n@@ -186,6 +186,7 @@ The libraries prepended with a plus sign were incremented in this version.\n librte_distributor.so.1\n librte_eal.so.4\n librte_ethdev.so.6\n+ + librte_ethtool.so.1\n librte_hash.so.2\n librte_ip_frag.so.1\n librte_jobstats.so.1\ndiff --git a/lib/Makefile b/lib/Makefile\nindex 07e1fd0c5..434237d6e 100644\n--- a/lib/Makefile\n+++ b/lib/Makefile\n@@ -106,6 +106,8 @@ DIRS-$(CONFIG_RTE_LIBRTE_REORDER) += librte_reorder\n DEPDIRS-librte_reorder := librte_eal librte_mempool librte_mbuf\n DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += librte_pdump\n DEPDIRS-librte_pdump := librte_eal librte_mempool librte_mbuf librte_ether\n+DIRS-$(CONFIG_RTE_LIBRTE_ETHTOOL) += librte_ethtool\n+DEPDIRS-librte_ethtool := librte_eal librte_ether\n \n ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n DIRS-$(CONFIG_RTE_LIBRTE_KNI) += librte_kni\ndiff --git a/lib/librte_eal/common/include/rte_log.h b/lib/librte_eal/common/include/rte_log.h\nindex 341913851..5b240e8b1 100644\n--- a/lib/librte_eal/common/include/rte_log.h\n+++ b/lib/librte_eal/common/include/rte_log.h\n@@ -87,6 +87,7 @@ extern struct rte_logs rte_logs;\n #define RTE_LOGTYPE_CRYPTODEV 17 /**< Log related to cryptodev. */\n #define RTE_LOGTYPE_EFD 18 /**< Log related to EFD. */\n #define RTE_LOGTYPE_EVENTDEV 19 /**< Log related to eventdev. */\n+#define RTE_LOGTYPE_ETHTOOL 20 /**< Log related to ethtool. */\n \n /* these log types can be used in an application */\n #define RTE_LOGTYPE_USER1 24 /**< User-defined log type 1. */\ndiff --git a/lib/librte_ethtool/rte_ethtool_version.map b/lib/librte_ethtool/rte_ethtool_version.map\nnew file mode 100644\nindex 000000000..b6d2840be\n--- /dev/null\n+++ b/lib/librte_ethtool/rte_ethtool_version.map\n@@ -0,0 +1,4 @@\n+DPDK_17.08 {\n+\n+\tlocal: *;\n+};\ndiff --git a/mk/rte.app.mk b/mk/rte.app.mk\nindex bcaf1b382..449bd2f61 100644\n--- a/mk/rte.app.mk\n+++ b/mk/rte.app.mk\n@@ -90,6 +90,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_KVARGS) += -lrte_kvargs\n _LDLIBS-$(CONFIG_RTE_LIBRTE_MBUF) += -lrte_mbuf\n _LDLIBS-$(CONFIG_RTE_LIBRTE_NET) += -lrte_net\n _LDLIBS-$(CONFIG_RTE_LIBRTE_ETHER) += -lrte_ethdev\n+_LDLIBS-$(CONFIG_RTE_LIBRTE_ETHTOOL) += -lrte_ethtool\n _LDLIBS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += -lrte_cryptodev\n _LDLIBS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += -lrte_eventdev\n _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += -lrte_mempool\n", "prefixes": [ "dpdk-dev", "v9", "01/20" ] }{ "id": 26113, "url": "