Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/56137/?format=api
http://patches.dpdk.org/api/patches/56137/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1562320565-17339-3-git-send-email-phil.yang@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": "<1562320565-17339-3-git-send-email-phil.yang@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1562320565-17339-3-git-send-email-phil.yang@arm.com", "date": "2019-07-05T09:56:04", "name": "[v2,2/3] eal/mcslock: use generic msc queued lock on all arch", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ac763fb77fec36bd148efdf181462aa3c4ca8e83", "submitter": { "id": 833, "url": "http://patches.dpdk.org/api/people/833/?format=api", "name": "Phil Yang", "email": "phil.yang@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/1562320565-17339-3-git-send-email-phil.yang@arm.com/mbox/", "series": [ { "id": 5356, "url": "http://patches.dpdk.org/api/series/5356/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5356", "date": "2019-07-05T09:56:02", "name": "MCS queued lock implementation", "version": 2, "mbox": "http://patches.dpdk.org/series/5356/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/56137/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/56137/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 B1F9C1BE3E;\n\tFri, 5 Jul 2019 11:56:41 +0200 (CEST)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n\tby dpdk.org (Postfix) with ESMTP id 157441BE3C\n\tfor <dev@dpdk.org>; Fri, 5 Jul 2019 11:56:40 +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 A1CC81477;\n\tFri, 5 Jul 2019 02:56:39 -0700 (PDT)", "from phil-VirtualBox.shanghai.arm.com (unknown [10.169.109.155])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t804283F246; Fri, 5 Jul 2019 02:56:37 -0700 (PDT)" ], "From": "Phil Yang <phil.yang@arm.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, david.marchand@redhat.com,\n\tkonstantin.ananyev@intel.com, jerinj@marvell.com,\n\themant.agrawal@nxp.com, \n\tHonnappa.Nagarahalli@arm.com, gavin.hu@arm.com, nd@arm.com,\n\tphil.yang@arm.com", "Date": "Fri, 5 Jul 2019 17:56:04 +0800", "Message-Id": "<1562320565-17339-3-git-send-email-phil.yang@arm.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1562320565-17339-1-git-send-email-phil.yang@arm.com>", "References": "<1559750328-22377-2-git-send-email-phil.yang@arm.com>\n\t<1562320565-17339-1-git-send-email-phil.yang@arm.com>", "Subject": "[dpdk-dev] [PATCH v2 2/3] eal/mcslock: use generic msc queued lock\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 MCS queued lock implementation.\n\nSigned-off-by: Phil Yang <phil.yang@arm.com>\nReviewed-by: Gavin Hu <gavin.hu@arm.com>\nReviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\n\n---\n .../common/include/arch/arm/rte_mcslock.h | 23 ++++++++++++++++++++++\n .../common/include/arch/ppc_64/rte_mcslock.h | 19 ++++++++++++++++++\n .../common/include/arch/x86/rte_mcslock.h | 19 ++++++++++++++++++\n 3 files changed, 61 insertions(+)\n create mode 100644 lib/librte_eal/common/include/arch/arm/rte_mcslock.h\n create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_mcslock.h\n create mode 100644 lib/librte_eal/common/include/arch/x86/rte_mcslock.h", "diff": "diff --git a/lib/librte_eal/common/include/arch/arm/rte_mcslock.h b/lib/librte_eal/common/include/arch/arm/rte_mcslock.h\nnew file mode 100644\nindex 0000000..5e41e32\n--- /dev/null\n+++ b/lib/librte_eal/common/include/arch/arm/rte_mcslock.h\n@@ -0,0 +1,23 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2019 Arm Limited\n+ */\n+\n+#ifndef _RTE_MCSLOCK_ARM_H_\n+#define _RTE_MCSLOCK_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_mcslock.h\"\n+\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_MCSLOCK_ARM_H_ */\n+\ndiff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_mcslock.h b/lib/librte_eal/common/include/arch/ppc_64/rte_mcslock.h\nnew file mode 100644\nindex 0000000..951b6dd\n--- /dev/null\n+++ b/lib/librte_eal/common/include/arch/ppc_64/rte_mcslock.h\n@@ -0,0 +1,19 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2019 Arm Limited\n+ */\n+\n+#ifndef _RTE_MCSLOCK_PPC_64_H_\n+#define _RTE_MCSLOCK_PPC_64_H_\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+#include \"generic/rte_mcslock.h\"\n+\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_MCSLOCK_PPC_64_H_ */\n+\ndiff --git a/lib/librte_eal/common/include/arch/x86/rte_mcslock.h b/lib/librte_eal/common/include/arch/x86/rte_mcslock.h\nnew file mode 100644\nindex 0000000..573b700\n--- /dev/null\n+++ b/lib/librte_eal/common/include/arch/x86/rte_mcslock.h\n@@ -0,0 +1,19 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2019 Arm Limited\n+ */\n+\n+#ifndef _RTE_MCSLOCK_X86_64_H_\n+#define _RTE_MCSLOCK_X86_64_H_\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+#include \"generic/rte_mcslock.h\"\n+\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_MCSLOCK_X86_64_H_ */\n+\n", "prefixes": [ "v2", "2/3" ] }{ "id": 56137, "url": "