diff mbox series

[2/3] net/bnxt: remove redundant ifdefs

Message ID 20220413103156.3680600-3-ruifeng.wang@arm.com (mailing list archive)
State Accepted
Delegated to: Ajit Khaparde
Headers show
Series BNXT changes | expand


Context Check Description
ci/checkpatch success coding style OK

Commit Message

Ruifeng Wang April 13, 2022, 10:31 a.m. UTC
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 <ruifeng.wang@arm.com>
 drivers/net/bnxt/bnxt_rxtx_vec_neon.c | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series


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]);
 		vst1q_u64((void *)&rx_pkts[i], t0);
-#ifdef RTE_ARCH_ARM64
 		vst1q_u64((void *)&rx_pkts[i + 2], t1);
 		/* Prefetch four descriptor pairs for next iteration. */
 		if (i + BNXT_RX_DESCS_PER_LOOP_VEC128 < nb_pkts) {