net/ixgbe: remove memory barrier from NEON Rx
authorRuifeng Wang <ruifeng.wang@arm.com>
Wed, 28 Aug 2019 08:24:53 +0000 (16:24 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Sep 2019 15:12:38 +0000 (17:12 +0200)
commit18b7d4eb3dca9e24208c8be59a8972e7f9d7d1cf
tree68ff732708cbdaad42ff3ddab3800c2fd69e8f1d
parentf1f0f39806d97a9a4d74d47ce7fb04e9b4943e08
net/ixgbe: remove memory barrier from NEON Rx

The memory barrier was intended for descriptor data integrity (see
comments in [1]). As later NEON loads were implemented and a whole
entry is loaded in one-run and atomic, that makes the ordering of
partial loading unnecessary. Remove it accordingly.

Corrected couple of code comments.

In terms of performance, observed slightly higher average throughput
in tests with 82599ES NIC.

[1] http://patches.dpdk.org/patch/18153/

Fixes: 989a84050542 ("net/ixgbe: fix received packets number for ARM NEON")
Cc: stable@dpdk.org
Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c