From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id CE8A62C8 for ; Wed, 23 May 2018 14:10:51 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id m129-v6so8494626wmb.3 for ; Wed, 23 May 2018 05:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=z7r0CthLJ/s5Jvt5ZIOmBSxWQXwGxpXOiY7XkV6lD7o=; b=F/21THFRKEfcumZcXp9Evn2E+qqAq/jPOZudtVupTZr7lXoht9j6HJAcn4/UbcIVqy Q5vRnFq1mBSbPutCK03loXT6IddlxNroH0nLCM87gb9bItdhIhQAXV9Kf7MT+wcksFdP i0Qx2LHrztWcJQoqUT/soiAv5AFjDZc4Rrp/iHkww0zxVwwt+rEH4JfQ+O314ZpUzB0P tGGQ8fFSvG7XqIekmqKJIodZyzDypYl8uuhtyvfBsgjlogOw4yA4VQ1j1f6IaEEiEdXy h3GuAKy/dGsFmxIsDDxOk2bnLtMgtXLVbzmNRmqGsnKNyRSaUdi2a3DV2k0Uv2teA6Gz xrdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=z7r0CthLJ/s5Jvt5ZIOmBSxWQXwGxpXOiY7XkV6lD7o=; b=SDFCLfO0xzaR9sGLHTT0dydZ8KQ/WnC8lq/sSSnoNIZW1z/Rtm1dEe8ulbwrTZYoQc GxxNzmhYDbflZedncPcAYUuUYv52L55mJaa7nWKEPFVmEaeMYcaaz/5lCXkq7+HE6zwB MEm9lctIn3Cgwr9nfm7BxP7aBBYhiM4hR5KmzsQPDrMgM6C9RP0VYkVjbQetpdt+5T15 2XN+j9x5redyieDvS1hUfTVSYMeAzvVEZEUwpm2LhTx9o18MEDez0quV93hZlIa0ynx/ Tory28mF1Dl/3rLNL7AKr4ncrWwK6WfBR5Z6GPJAZ2nskl/MACiMl1MXphrCeUE4GlLY 9bDg== X-Gm-Message-State: ALKqPwcblF8oBYC16OESj6f+D4mluAJMPXtSboz/uZTOqWwmdW4DxFel 48jtAAZjIKhb8w1V4IVx/B4pgJbXWUM= X-Google-Smtp-Source: AB8JxZr1vhmzcLJQPNLhloLEm1mi0QI88A6uHsCBYITUhZuOr8CmHXJ3WC0vM1OyMLx1hQ7IOwtzIw== X-Received: by 2002:a1c:e08:: with SMTP id 8-v6mr4004593wmo.67.1527077451508; Wed, 23 May 2018 05:10:51 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id x81-v6sm23687911wrb.23.2018.05.23.05.10.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 05:10:50 -0700 (PDT) From: luca.boccassi@gmail.com To: Gavin Hu Cc: Sirshak Das , Phil Yang , Honnappa Nagarahalli , Jerin Jacob , Yongseok Koh , dpdk stable Date: Wed, 23 May 2018 13:09:32 +0100 Message-Id: <20180523121010.8385-21-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180523121010.8385-1-luca.boccassi@gmail.com> References: <20180516101323.2234-2-luca.boccassi@gmail.com> <20180523121010.8385-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/mlx5: fix build with clang on ARM' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 12:10:52 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/25/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 02881b774dbfba5dc101762fe9705720a3f01cee Mon Sep 17 00:00:00 2001 From: Gavin Hu Date: Thu, 17 May 2018 10:46:08 +0800 Subject: [PATCH] net/mlx5: fix build with clang on ARM [ upstream commit 74572f23cd6003d93007ebd3131d93833215463e ] This patch adds a pair of "()" to embrace the argument input to the function-like macro invocation. drivers/net/mlx5/mlx5_rxtx_vec.c:37: drivers/net/mlx5/mlx5_rxtx_vec_neon.h:170:24: error: too many arguments provided to function-like macro invocation (uint16x8_t) { 0, 0, cs_flags, rte_cpu_to_be_16(len), Fixes: 570acdb1da ("net/mlx5: add vectorized Rx/Tx burst for ARM") Signed-off-by: Gavin Hu Signed-off-by: Sirshak Das Reviewed-by: Phil Yang Reviewed-by: Honnappa Nagarahalli Reviewed-by: Jerin Jacob Acked-by: Yongseok Koh --- drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/mlx5/mlx5_rxtx_vec_neon.h b/drivers/net/mlx5/mlx5_rxtx_vec_neon.h index bbe1818ef..7a8a181f1 100644 --- a/drivers/net/mlx5/mlx5_rxtx_vec_neon.h +++ b/drivers/net/mlx5/mlx5_rxtx_vec_neon.h @@ -167,8 +167,8 @@ txq_scatter_v(struct mlx5_txq_data *txq, struct rte_mbuf **pkts, vst1q_u8((void *)t_wqe, ctrl); /* Fill ESEG in the header. */ vst1q_u16((void *)(t_wqe + 1), - (uint16x8_t) { 0, 0, cs_flags, rte_cpu_to_be_16(len), - 0, 0, 0, 0 }); + ((uint16x8_t) { 0, 0, cs_flags, rte_cpu_to_be_16(len), + 0, 0, 0, 0 })); txq->wqe_ci = wqe_ci; } if (!n) @@ -300,10 +300,10 @@ txq_burst_v(struct mlx5_txq_data *txq, struct rte_mbuf **pkts, uint16_t pkts_n, vst1q_u8((void *)t_wqe, ctrl); /* Fill ESEG in the header. */ vst1q_u8((void *)(t_wqe + 1), - (uint8x16_t) { 0, 0, 0, 0, - cs_flags, 0, 0, 0, - 0, 0, 0, 0, - 0, 0, 0, 0 }); + ((uint8x16_t) { 0, 0, 0, 0, + cs_flags, 0, 0, 0, + 0, 0, 0, 0, + 0, 0, 0, 0 })); #ifdef MLX5_PMD_SOFT_COUNTERS txq->stats.opackets += pkts_n; #endif -- 2.14.2