From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH 2/4] Driver/Mellanox: fix PMD compiling issue Date: Tue, 15 May 2018 14:41:42 +0530 Message-ID: <20180515091141.GB10539@jerin> References: <1526372924-28411-1-git-send-email-gavin.hu@arm.com> <1526372924-28411-3-git-send-email-gavin.hu@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Sirshak Das To: Gavin Hu Return-path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0042.outbound.protection.outlook.com [104.47.38.42]) by dpdk.org (Postfix) with ESMTP id 1E82D1BA52 for ; Tue, 15 May 2018 11:12:01 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1526372924-28411-3-git-send-email-gavin.hu@arm.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > Date: Tue, 15 May 2018 04:28:42 -0400 > From: Gavin Hu > To: dev@dpdk.org > CC: Sirshak Das > Subject: [dpdk-dev] [PATCH 2/4] Driver/Mellanox: fix PMD compiling issue > X-Mailer: git-send-email 2.1.4 Please add the reason and compilation error log. and make sure to fix check patch.sh and check-gitlog.sh errors. > > Signed-off-by: Gavin Hu > Signed-off-by: Sirshak Das > Reviewed-by: Phil Yang > Reviewed-by: Honnappa Nagarahalli > --- > 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 2673d6b..71a5eaf 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.1.4 >