Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/51626/?format=api
http://patches.dpdk.org/api/patches/51626/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1553512269-146074-3-git-send-email-joyce.kong@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": "<1553512269-146074-3-git-send-email-joyce.kong@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1553512269-146074-3-git-send-email-joyce.kong@arm.com", "date": "2019-03-25T11:11:08", "name": "[v8,2/3] eal/ticketlock: enable generic ticketlock on all arch", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "f139a35ca394ff7f9e6c1a3ef72a76d79e754572", "submitter": { "id": 970, "url": "http://patches.dpdk.org/api/people/970/?format=api", "name": "Joyce Kong", "email": "joyce.kong@arm.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1553512269-146074-3-git-send-email-joyce.kong@arm.com/mbox/", "series": [ { "id": 3894, "url": "http://patches.dpdk.org/api/series/3894/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3894", "date": "2019-03-25T11:11:06", "name": "ticketlock: implement ticketlock and add test case", "version": 8, "mbox": "http://patches.dpdk.org/series/3894/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/51626/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/51626/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 1FD723772;\n\tMon, 25 Mar 2019 12:11:31 +0100 (CET)", "from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id 6F30B34F3\n\tfor <dev@dpdk.org>; Mon, 25 Mar 2019 12:11:29 +0100 (CET)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D3C3015AD;\n\tMon, 25 Mar 2019 04:11:28 -0700 (PDT)", "from net-arm-thunderx2.shanghai.arm.com\n\t(net-arm-thunderx2.shanghai.arm.com [10.169.40.112])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t5B9803F575; Mon, 25 Mar 2019 04:11:27 -0700 (PDT)" ], "From": "Joyce Kong <joyce.kong@arm.com>", "To": "dev@dpdk.org", "Cc": "nd@arm.com, stephen@networkplumber.org, jerin.jacob@caviumnetworks.com, \n\tkonstantin.ananyev@intel.com, thomas@monjalon.net,\n\thonnappa.nagarahalli@arm.com, gavin.hu@arm.com", "Date": "Mon, 25 Mar 2019 19:11:08 +0800", "Message-Id": "<1553512269-146074-3-git-send-email-joyce.kong@arm.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": [ "<1553512269-146074-1-git-send-email-joyce.kong@arm.com>", "<1547802943-18711-1-git-send-email-joyce.kong@arm.com>" ], "References": [ "<1553512269-146074-1-git-send-email-joyce.kong@arm.com>", "<1547802943-18711-1-git-send-email-joyce.kong@arm.com>" ], "Subject": "[dpdk-dev] [PATCH v8 2/3] eal/ticketlock: enable generic ticketlock\n\ton all arch", "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": "Let all architectures use generic ticketlock implementation.\n\nSigned-off-by: Joyce Kong <joyce.kong@arm.com>\n---\n .../common/include/arch/arm/rte_ticketlock.h | 22 ++++++++++++++++++++++\n .../common/include/arch/ppc_64/rte_ticketlock.h | 18 ++++++++++++++++++\n .../common/include/arch/x86/rte_ticketlock.h | 18 ++++++++++++++++++\n 3 files changed, 58 insertions(+)\n create mode 100644 lib/librte_eal/common/include/arch/arm/rte_ticketlock.h\n create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_ticketlock.h\n create mode 100644 lib/librte_eal/common/include/arch/x86/rte_ticketlock.h", "diff": "diff --git a/lib/librte_eal/common/include/arch/arm/rte_ticketlock.h b/lib/librte_eal/common/include/arch/arm/rte_ticketlock.h\nnew file mode 100644\nindex 0000000..e09fbd6\n--- /dev/null\n+++ b/lib/librte_eal/common/include/arch/arm/rte_ticketlock.h\n@@ -0,0 +1,22 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2019 Arm Limited\n+ */\n+\n+#ifndef _RTE_TICKETLOCK_ARM_H_\n+#define _RTE_TICKETLOCK_ARM_H_\n+\n+#ifndef RTE_FORCE_INTRINSICS\n+# error Platform must be built with CONFIG_RTE_FORCE_INTRINSICS\n+#endif\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+#include \"generic/rte_ticketlock.h\"\n+\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_TICKETLOCK_ARM_H_ */\ndiff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_ticketlock.h b/lib/librte_eal/common/include/arch/ppc_64/rte_ticketlock.h\nnew file mode 100644\nindex 0000000..c175e9e\n--- /dev/null\n+++ b/lib/librte_eal/common/include/arch/ppc_64/rte_ticketlock.h\n@@ -0,0 +1,18 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2019 Arm Limited\n+ */\n+\n+#ifndef _RTE_TICKETLOCK_PPC_64_H_\n+#define _RTE_TICKETLOCK_PPC_64_H_\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+#include \"generic/rte_ticketlock.h\"\n+\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_TICKETLOCK_PPC_64_H_ */\ndiff --git a/lib/librte_eal/common/include/arch/x86/rte_ticketlock.h b/lib/librte_eal/common/include/arch/x86/rte_ticketlock.h\nnew file mode 100644\nindex 0000000..0cc01f6\n--- /dev/null\n+++ b/lib/librte_eal/common/include/arch/x86/rte_ticketlock.h\n@@ -0,0 +1,18 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2019 Arm Limited\n+ */\n+\n+#ifndef _RTE_TICKETLOCK_X86_64_H_\n+#define _RTE_TICKETLOCK_X86_64_H_\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+#include \"generic/rte_ticketlock.h\"\n+\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_TICKETLOCK_X86_64_H_ */\n", "prefixes": [ "v8", "2/3" ] }{ "id": 51626, "url": "