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 |
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) {
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(-)