Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/40081/?format=api
https://patches.dpdk.org/api/patches/40081/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180516060802.36181-1-gavin.hu@arm.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": "<20180516060802.36181-1-gavin.hu@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180516060802.36181-1-gavin.hu@arm.com", "date": "2018-05-16T06:08:00", "name": "[dpdk-dev,v3,1/3] net/mlx5: fix the clang compiling issue", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f67416a29c2e05cd6c6ca8f3846016a0cd9d28a8", "submitter": { "id": 1018, "url": "https://patches.dpdk.org/api/people/1018/?format=api", "name": "Gavin Hu", "email": "gavin.hu@arm.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180516060802.36181-1-gavin.hu@arm.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/40081/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/40081/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 892E61B68C;\n\tWed, 16 May 2018 08:08:27 +0200 (CEST)", "from foss.arm.com (foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id 248841B3E4;\n\tWed, 16 May 2018 08:08:25 +0200 (CEST)", "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 231CE15AB;\n\tTue, 15 May 2018 23:08:25 -0700 (PDT)", "from net-arm-c2400_01.shanghai.arm.com\n\t(net-arm-c2400_01.shanghai.arm.com [10.169.40.174])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t61AB03F53D; Tue, 15 May 2018 23:08:24 -0700 (PDT)" ], "From": "Gavin Hu <gavin.hu@arm.com>", "To": "dev@dpdk.org", "Cc": "gavin hu <gavin.hu@arm.com>, stable@dpdk.org,\n\tSirshak Das <sirshak.das@arm.com>", "Date": "Wed, 16 May 2018 14:08:00 +0800", "Message-Id": "<20180516060802.36181-1-gavin.hu@arm.com>", "X-Mailer": "git-send-email 2.17.0", "In-Reply-To": "<1526372924-28411-1-git-send-email-gavin.hu@arm.com>", "References": "<1526372924-28411-1-git-send-email-gavin.hu@arm.com>", "Subject": "[dpdk-dev] [PATCH v3 1/3] net/mlx5: fix the clang compiling issue", "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://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": "<https://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: gavin hu <gavin.hu@arm.com>\n\nThis patch adds a pair of \"()\" to embrace the argument\ninput to the function-like macro invocation.\n\ndrivers/net/mlx5/mlx5_rxtx_vec.c:37:\ndrivers/net/mlx5/mlx5_rxtx_vec_neon.h:170:24: error: too many arguments\nprovided to function-like macro invocation\n\t(uint16x8_t) { 0, 0, cs_flags,\n\trte_cpu_to_be_16(len),\n\nFixes: 570acdb1da (\"net/mlx5: add vectorized Rx/Tx burst for ARM\")\nCc: stable@dpdk.org\n\nSigned-off-by: Gavin Hu <gavin.hu@arm.com>\nSigned-off-by: Sirshak Das <sirshak.das@arm.com>\nReviewed-by: Phil Yang <Phil.Yang@arm.com>\nReviewed-by: Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>\nReviewed-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>\nAcked-by: Yongseok Koh <yskoh@mellanox.com>\n---\n drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)", "diff": "diff --git a/drivers/net/mlx5/mlx5_rxtx_vec_neon.h b/drivers/net/mlx5/mlx5_rxtx_vec_neon.h\nindex 2673d6b8c..71a5eaf23 100644\n--- a/drivers/net/mlx5/mlx5_rxtx_vec_neon.h\n+++ b/drivers/net/mlx5/mlx5_rxtx_vec_neon.h\n@@ -167,8 +167,8 @@ txq_scatter_v(struct mlx5_txq_data *txq, struct rte_mbuf **pkts,\n \t\tvst1q_u8((void *)t_wqe, ctrl);\n \t\t/* Fill ESEG in the header. */\n \t\tvst1q_u16((void *)(t_wqe + 1),\n-\t\t\t (uint16x8_t) { 0, 0, cs_flags, rte_cpu_to_be_16(len),\n-\t\t\t\t\t 0, 0, 0, 0 });\n+\t\t\t ((uint16x8_t) { 0, 0, cs_flags, rte_cpu_to_be_16(len),\n+\t\t\t\t\t 0, 0, 0, 0 }));\n \t\ttxq->wqe_ci = wqe_ci;\n \t}\n \tif (!n)\n@@ -300,10 +300,10 @@ txq_burst_v(struct mlx5_txq_data *txq, struct rte_mbuf **pkts, uint16_t pkts_n,\n \tvst1q_u8((void *)t_wqe, ctrl);\n \t/* Fill ESEG in the header. */\n \tvst1q_u8((void *)(t_wqe + 1),\n-\t\t (uint8x16_t) { 0, 0, 0, 0,\n-\t\t\t\tcs_flags, 0, 0, 0,\n-\t\t\t\t0, 0, 0, 0,\n-\t\t\t\t0, 0, 0, 0 });\n+\t\t ((uint8x16_t) { 0, 0, 0, 0,\n+\t\t\t\t cs_flags, 0, 0, 0,\n+\t\t\t\t 0, 0, 0, 0,\n+\t\t\t\t 0, 0, 0, 0 }));\n #ifdef MLX5_PMD_SOFT_COUNTERS\n \ttxq->stats.opackets += pkts_n;\n #endif\n", "prefixes": [ "dpdk-dev", "v3", "1/3" ] }{ "id": 40081, "url": "