Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/46665/?format=api
https://patches.dpdk.org/api/patches/46665/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/000001d461d2$adc87910$09596b30$@linux.vnet.ibm.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": "<000001d461d2$adc87910$09596b30$@linux.vnet.ibm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/000001d461d2$adc87910$09596b30$@linux.vnet.ibm.com", "date": "2018-10-12T02:24:16", "name": "答复: [PATCH] eal/ppc64: add support for rte pause", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": true, "hash": "867eb347ceb8e87da275b7f2d923155fdcf6009b", "submitter": { "id": 114, "url": "https://patches.dpdk.org/api/people/114/?format=api", "name": "Chao Zhu", "email": "chaozhu@linux.vnet.ibm.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/000001d461d2$adc87910$09596b30$@linux.vnet.ibm.com/mbox/", "series": [ { "id": 1854, "url": "https://patches.dpdk.org/api/series/1854/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1854", "date": "2018-10-12T02:24:16", "name": "答复: [PATCH] eal/ppc64: add support for rte pause", "version": 1, "mbox": "https://patches.dpdk.org/series/1854/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/46665/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/46665/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 491D51B115;\n\tFri, 12 Oct 2018 04:25:26 +0200 (CEST)", "from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com\n\t[148.163.158.5]) by dpdk.org (Postfix) with ESMTP id 1F1731B107\n\tfor <dev@dpdk.org>; Fri, 12 Oct 2018 04:25:25 +0200 (CEST)", "from pps.filterd (m0098419.ppops.net [127.0.0.1])\n\tby mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id\n\tw9C2PKe8063726 for <dev@dpdk.org>; Thu, 11 Oct 2018 22:25:24 -0400", "from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101])\n\tby mx0b-001b2d01.pphosted.com with ESMTP id 2n2hcmttfv-1\n\t(version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT)\n\tfor <dev@dpdk.org>; Thu, 11 Oct 2018 22:25:23 -0400", "from localhost\n\tby e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <dev@dpdk.org> from <chaozhu@linux.vnet.ibm.com>;\n\tFri, 12 Oct 2018 03:24:21 +0100", "from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197)\n\tby e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be prosecuted; \n\t(version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256)\n\tFri, 12 Oct 2018 03:24:19 +0100", "from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com\n\t[9.149.105.59])\n\tby b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with\n\tESMTP id w9C2OInq3342828\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=FAIL); Fri, 12 Oct 2018 02:24:18 GMT", "from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id D58E9A4040;\n\tFri, 12 Oct 2018 05:23:50 +0100 (BST)", "from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 1ADC2A4053;\n\tFri, 12 Oct 2018 05:23:49 +0100 (BST)", "from DESKTOP7JL9IS1 (unknown [9.181.88.64])\n\tby d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP;\n\tFri, 12 Oct 2018 05:23:48 +0100 (BST)" ], "From": "\"Chao Zhu\" <chaozhu@linux.vnet.ibm.com>", "To": "\"'Jerin Jacob'\" <jerin.jacob@caviumnetworks.com>", "Cc": "<dev@dpdk.org>, <thomas@monjalon.net>,\n\t<gowrishankar.m@linux.vnet.ibm.com>, <ola.liljedahl@arm.com>", "References": "<20181007061857.29451-1-jerin.jacob@caviumnetworks.com>", "In-Reply-To": "<20181007061857.29451-1-jerin.jacob@caviumnetworks.com>", "Date": "Fri, 12 Oct 2018 10:24:16 +0800", "MIME-Version": "1.0", "Content-Type": "text/plain;\n\tcharset=\"gb2312\"", "Content-Transfer-Encoding": "quoted-printable", "X-Mailer": "Microsoft Outlook 16.0", "Thread-Index": "AQL0I56IlqWVozW9uU5+VJ3Fqn6S3qLbXe8A", "Content-Language": "zh-cn", "X-TM-AS-GCONF": "00", "x-cbid": "18101202-0020-0000-0000-000002D2F9B9", "X-IBM-AV-DETECTION": "SAVI=unused REMOTE=unused XFE=unused", "x-cbparentid": "18101202-0021-0000-0000-0000212176BF", "Message-Id": "<000001d461d2$adc87910$09596b30$@linux.vnet.ibm.com>", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:, ,\n\tdefinitions=2018-10-12_02:, , signatures=0", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n\tpriorityscore=1501\n\tmalwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0\n\tclxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0\n\tmlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx\n\tscancount=1 engine=8.0.1-1807170000 definitions=main-1810120022", "Subject": "[dpdk-dev] =?gb2312?b?tPC4tDogIFtQQVRDSF0gZWFsL3BwYzY0OiBhZGQg?=\n\t=?gb2312?b?c3VwcG9ydCBmb3IgcnRlIHBhdXNl?=", "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": "-----邮件原件-----\n发件人: Jerin Jacob <jerin.jacob@caviumnetworks.com> \n发送时间: 2018年10月7日 14:19\n收件人: Chao Zhu <chaozhu@linux.vnet.ibm.com>\n抄送: dev@dpdk.org; thomas@monjalon.net; gowrishankar.m@linux.vnet.ibm.com;\nola.liljedahl@arm.com; Jerin Jacob <jerin.jacob@caviumnetworks.com>\n主题: [dpdk-dev] [PATCH] eal/ppc64: add support for rte pause\n\nAdd support for rte_pause() implementation for ppc64.\n\nSigned-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>\n---\n\nThe reference implementation for Linux's cpu_relax() for ppc64 is at\nhttps://elixir.bootlin.com/linux/latest/source/arch/powerpc/include/asm/proc\nessor.h#L440\n\n---\n lib/librte_eal/common/include/arch/ppc_64/rte_pause.h | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_pause.h\nb/lib/librte_eal/common/include/arch/ppc_64/rte_pause.h\nindex 8bd835764..16e47ce22 100644\n--- a/lib/librte_eal/common/include/arch/ppc_64/rte_pause.h\n+++ b/lib/librte_eal/common/include/arch/ppc_64/rte_pause.h\n@@ -9,10 +9,17 @@\n extern \"C\" {\n #endif\n\n+#include \"rte_atomic.h\"\n+\n #include \"generic/rte_pause.h\"\n\n static inline void rte_pause(void)\n {\n+\t/* Set hardware multi-threading low priority */\n+\tasm volatile(\"or 1,1,1\");\n+\t/* Set hardware multi-threading medium priority */\n+\tasm volatile(\"or 2,2,2\");\n+\trte_compiler_barrier();\n }\n\n #ifdef __cplusplus\n", "prefixes": [] }{ "id": 46665, "url": "