From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 39A5AA050A; Wed, 13 Apr 2022 12:32:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B548427FE; Wed, 13 Apr 2022 12:32:35 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 13F2042801 for ; Wed, 13 Apr 2022 12:32:33 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 757AA1570; Wed, 13 Apr 2022 03:32:32 -0700 (PDT) Received: from net-arm-n1amp-02.shanghai.arm.com (net-arm-n1amp-02.shanghai.arm.com [10.169.210.142]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 36EE63F73B; Wed, 13 Apr 2022 03:32:29 -0700 (PDT) From: Ruifeng Wang To: ajit.khaparde@broadcom.com, somnath.kotur@broadcom.com Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, nd@arm.com, Ruifeng Wang Subject: [PATCH 2/3] net/bnxt: remove redundant ifdefs Date: Wed, 13 Apr 2022 18:31:55 +0800 Message-Id: <20220413103156.3680600-3-ruifeng.wang@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220413103156.3680600-1-ruifeng.wang@arm.com> References: <20220413103156.3680600-1-ruifeng.wang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org NEON vector path is built only when Arm platform is 64-bit. The ifdefs in NEON path are of no use, hence remove. Signed-off-by: Ruifeng Wang --- drivers/net/bnxt/bnxt_rxtx_vec_neon.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/bnxt/bnxt_rxtx_vec_neon.c b/drivers/net/bnxt/bnxt_rxtx_vec_neon.c index f15e2d3b4e..779e23ac4f 100644 --- a/drivers/net/bnxt/bnxt_rxtx_vec_neon.c +++ b/drivers/net/bnxt/bnxt_rxtx_vec_neon.c @@ -220,13 +220,9 @@ recv_burst_vec_neon(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts) /* Copy four mbuf pointers to output array. */ t0 = vld1q_u64((void *)&rxr->rx_buf_ring[mbcons]); -#ifdef RTE_ARCH_ARM64 t1 = vld1q_u64((void *)&rxr->rx_buf_ring[mbcons + 2]); -#endif vst1q_u64((void *)&rx_pkts[i], t0); -#ifdef RTE_ARCH_ARM64 vst1q_u64((void *)&rx_pkts[i + 2], t1); -#endif /* Prefetch four descriptor pairs for next iteration. */ if (i + BNXT_RX_DESCS_PER_LOOP_VEC128 < nb_pkts) { -- 2.25.1