Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/7326/?format=api
https://patches.dpdk.org/api/patches/7326/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1443623388-29104-6-git-send-email-ian.betts@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": "<1443623388-29104-6-git-send-email-ian.betts@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1443623388-29104-6-git-send-email-ian.betts@intel.com", "date": "2015-09-30T14:29:48", "name": "[dpdk-dev,v1,5/5] config: add build files for performance-thread", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "293664205c49c72d76a19b246aeab3f997193d6d", "submitter": { "id": 340, "url": "https://patches.dpdk.org/api/people/340/?format=api", "name": "ibetts", "email": "ian.betts@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1443623388-29104-6-git-send-email-ian.betts@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/7326/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/7326/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 2C5558E6F;\n\tWed, 30 Sep 2015 16:30:14 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 631538D9E\n\tfor <dev@dpdk.org>; Wed, 30 Sep 2015 16:30:09 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga103.fm.intel.com with ESMTP; 30 Sep 2015 07:29:56 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga002.fm.intel.com with ESMTP; 30 Sep 2015 07:29:55 -0700", "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt8UETtVr003368; Wed, 30 Sep 2015 15:29:55 +0100", "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id t8UETtEB029238;\n\tWed, 30 Sep 2015 15:29:55 +0100", "(from ibetts@localhost)\n\tby sivswdev01.ir.intel.com with id t8UETtBf029233;\n\tWed, 30 Sep 2015 15:29:55 +0100" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.17,612,1437462000\"; d=\"scan'208\";a=\"816265038\"", "From": "ibetts <ian.betts@intel.com>", "To": "dev@dpdk.org", "Date": "Wed, 30 Sep 2015 15:29:48 +0100", "Message-Id": "<1443623388-29104-6-git-send-email-ian.betts@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1443623388-29104-1-git-send-email-ian.betts@intel.com>", "References": "<1443623388-29104-1-git-send-email-ian.betts@intel.com>", "Cc": "Ian Betts <ian.betts@intel.com>", "Subject": "[dpdk-dev] [PATCH v1 5/5] config: add build files for\n\tperformance-thread", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <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": "From: Ian Betts <ian.betts@intel.com>\n\nThis commit adds the build controls for the\nperformance-thread sample\n\nSigned-off-by: Ian Betts <ian.betts@intel.com>\n---\n config/common_linuxapp | 6 ++++\n config/defconfig_i686-native-linuxapp-gcc | 6 ++++\n config/defconfig_i686-native-linuxapp-icc | 6 ++++\n config/defconfig_x86_x32-native-linuxapp-gcc | 6 ++++\n examples/Makefile | 1 +\n examples/performance-thread/Makefile | 44 ++++++++++++++++++++++++++++\n 6 files changed, 69 insertions(+)\n create mode 100644 examples/performance-thread/Makefile", "diff": "diff --git a/config/common_linuxapp b/config/common_linuxapp\nindex 0de43d5..e1da564 100644\n--- a/config/common_linuxapp\n+++ b/config/common_linuxapp\n@@ -466,3 +466,8 @@ CONFIG_RTE_APP_TEST=y\n CONFIG_RTE_TEST_PMD=y\n CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n\n CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n\n+\n+#\n+# Compile the performance thread sample application\n+#\n+CONFIG_RTE_PERFORMANCE_THREAD=y\ndiff --git a/config/defconfig_i686-native-linuxapp-gcc b/config/defconfig_i686-native-linuxapp-gcc\nindex a90de9b..67caa06 100644\n--- a/config/defconfig_i686-native-linuxapp-gcc\n+++ b/config/defconfig_i686-native-linuxapp-gcc\n@@ -49,3 +49,8 @@ CONFIG_RTE_LIBRTE_KNI=n\n # Vectorized PMD is not supported on 32-bit\n #\n CONFIG_RTE_IXGBE_INC_VECTOR=n\n+\n+#\n+# Performance thread sample application is not supported on 32-bit\n+#\n+CONFIG_RTE_PERFORMANCE_THREAD=n\ndiff --git a/config/defconfig_i686-native-linuxapp-icc b/config/defconfig_i686-native-linuxapp-icc\nindex c021321..2610b3f 100644\n--- a/config/defconfig_i686-native-linuxapp-icc\n+++ b/config/defconfig_i686-native-linuxapp-icc\n@@ -49,3 +49,8 @@ CONFIG_RTE_LIBRTE_KNI=n\n # Vectorized PMD is not supported on 32-bit\n #\n CONFIG_RTE_IXGBE_INC_VECTOR=n\n+\n+#\n+# Performance thread sample application is not supported on 32-bit\n+#\n+CONFIG_RTE_PERFORMANCE_THREAD=n\ndiff --git a/config/defconfig_x86_x32-native-linuxapp-gcc b/config/defconfig_x86_x32-native-linuxapp-gcc\nindex fb0afc4..6e3f42a 100644\n--- a/config/defconfig_x86_x32-native-linuxapp-gcc\n+++ b/config/defconfig_x86_x32-native-linuxapp-gcc\n@@ -44,3 +44,8 @@ CONFIG_RTE_TOOLCHAIN_GCC=y\n # KNI is not supported on 32-bit\n #\n CONFIG_RTE_LIBRTE_KNI=n\n+\n+#\n+# Performance thread sample application is not supported on 32-bit\n+#\n+CONFIG_RTE_PERFORMANCE_THREAD=n\ndiff --git a/examples/Makefile b/examples/Makefile\nindex b4eddbd..9dffac4 100644\n--- a/examples/Makefile\n+++ b/examples/Makefile\n@@ -74,5 +74,6 @@ DIRS-$(CONFIG_RTE_LIBRTE_XEN_DOM0) += vhost_xen\n DIRS-y += vmdq\n DIRS-y += vmdq_dcb\n DIRS-$(CONFIG_RTE_LIBRTE_POWER) += vm_power_manager\n+DIRS-$(CONFIG_RTE_PERFORMANCE_THREAD) += performance-thread\n \n include $(RTE_SDK)/mk/rte.extsubdir.mk\ndiff --git a/examples/performance-thread/Makefile b/examples/performance-thread/Makefile\nnew file mode 100644\nindex 0000000..a9c75f7\n--- /dev/null\n+++ b/examples/performance-thread/Makefile\n@@ -0,0 +1,44 @@\n+# BSD LICENSE\n+#\n+# Copyright(c) 2010-2014 Intel Corporation. All rights reserved.\n+# All rights reserved.\n+#\n+# Redistribution and use in source and binary forms, with or without\n+# modification, are permitted provided that the following conditions\n+# are met:\n+#\n+# * Redistributions of source code must retain the above copyright\n+# notice, this list of conditions and the following disclaimer.\n+# * Redistributions in binary form must reproduce the above copyright\n+# notice, this list of conditions and the following disclaimer in\n+# the documentation and/or other materials provided with the\n+# distribution.\n+# * Neither the name of Intel Corporation nor the names of its\n+# contributors may be used to endorse or promote products derived\n+# from this software without specific prior written permission.\n+#\n+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+ifeq ($(RTE_SDK),)\n+$(error \"Please define RTE_SDK environment variable\")\n+endif\n+\n+# Default target, can be overridden by command line or environment\n+RTE_TARGET ?= x86_64-native-linuxapp-gcc\n+\n+include $(RTE_SDK)/mk/rte.vars.mk\n+\n+DIRS-$(CONFIG_RTE_PERFORMANCE_THREAD) += l3fwd-thread\n+DIRS-$(CONFIG_RTE_PERFORMANCE_THREAD) += pthread_shim\n+\n+include $(RTE_SDK)/mk/rte.extsubdir.mk\n", "prefixes": [ "dpdk-dev", "v1", "5/5" ] }{ "id": 7326, "url": "