Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/55673/?format=api
http://patches.dpdk.org/api/patches/55673/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1561911676-37718-6-git-send-email-gavin.hu@arm.com/", "project": { "id": 1, "url": "http://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": "<1561911676-37718-6-git-send-email-gavin.hu@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1561911676-37718-6-git-send-email-gavin.hu@arm.com", "date": "2019-06-30T16:21:16", "name": "[RFC,5/5] config: add WFE config entry for aarch64", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "1895f571f6385dbff636577c0f98b84a749eef59", "submitter": { "id": 1018, "url": "http://patches.dpdk.org/api/people/1018/?format=api", "name": "Gavin Hu", "email": "gavin.hu@arm.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1561911676-37718-6-git-send-email-gavin.hu@arm.com/mbox/", "series": [ { "id": 5234, "url": "http://patches.dpdk.org/api/series/5234/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5234", "date": "2019-06-30T16:21:11", "name": "use WFE for locks and ring on aarch64", "version": 1, "mbox": "http://patches.dpdk.org/series/5234/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/55673/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/55673/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 27A6B1B9A5;\n\tSun, 30 Jun 2019 18:21:56 +0200 (CEST)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n\tby dpdk.org (Postfix) with ESMTP id CC1511B996\n\tfor <dev@dpdk.org>; Sun, 30 Jun 2019 18:21:50 +0200 (CEST)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 647E6CFC;\n\tSun, 30 Jun 2019 09:21:50 -0700 (PDT)", "from net-arm-thunderx2.shanghai.arm.com\n\t(net-arm-thunderx2.shanghai.arm.com [10.169.40.40])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t80AE43F718; Sun, 30 Jun 2019 09:21:48 -0700 (PDT)" ], "From": "Gavin Hu <gavin.hu@arm.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, jerinj@marvell.com, hemant.agrawal@nxp.com,\n\tbruce.richardson@intel.com, chaozhu@linux.vnet.ibm.com,\n\tHonnappa.Nagarahalli@arm.com, nd@arm.com, gavin.hu@arm.com", "Date": "Mon, 1 Jul 2019 00:21:16 +0800", "Message-Id": "<1561911676-37718-6-git-send-email-gavin.hu@arm.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1561911676-37718-1-git-send-email-gavin.hu@arm.com>", "References": "<1561911676-37718-1-git-send-email-gavin.hu@arm.com>", "Subject": "[dpdk-dev] [RFC 5/5] config: add WFE config entry for aarch64", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add the RTE_USE_WFE configuration entry for aarch64, disabled by default.\nIt can be enabled selectively based on the performance benchmarking.\n\nSigned-off-by: Gavin Hu <gavin.hu@arm.com>\nReviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>\nReviewed-by: Steve Capper <steve.capper@arm.com>\nReviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\n---\n config/arm/meson.build | 1 +\n config/common_armv8a_linux | 6 ++++++\n 2 files changed, 7 insertions(+)", "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex 6fa06a1..939d60e 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -116,6 +116,7 @@ impl_dpaa = ['NXP DPAA', flags_dpaa, machine_args_generic]\n impl_dpaa2 = ['NXP DPAA2', flags_dpaa2, machine_args_generic]\n \n dpdk_conf.set('RTE_FORCE_INTRINSICS', 1)\n+dpdk_conf.set('RTE_USE_WFE', 0)\n \n if not dpdk_conf.get('RTE_ARCH_64')\n \tdpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)\ndiff --git a/config/common_armv8a_linux b/config/common_armv8a_linux\nindex 72091de..ae87a87 100644\n--- a/config/common_armv8a_linux\n+++ b/config/common_armv8a_linux\n@@ -12,6 +12,12 @@ CONFIG_RTE_ARCH_64=y\n \n CONFIG_RTE_FORCE_INTRINSICS=y\n \n+# Use WFE instructions to implement the rte_wait_for_equal_xxx APIs,\n+# calling these APIs put the cores enter low power state while waiting\n+# for the memory address to be become equal to the expected value.\n+# This is supported only by aarch64.\n+CONFIG_RTE_USE_WFE=n\n+\n # Maximum available cache line size in arm64 implementations.\n # Setting to maximum available cache line size in generic config\n # to address minimum DMA alignment across all arm64 implementations.\n", "prefixes": [ "RFC", "5/5" ] }{ "id": 55673, "url": "