numam-dpdk/drivers/net/fm10k
Qi Zhang 0876c8b821 net/fm10k: fix out of order Rx read
In vPMD, when we load Rx desc with _mm_loadu_si128, the volatile
modifier will be cast away, allowing the compiler to reorder the
load instructions.

The Rx recv function's correctness is relying on these load
instructions following a strict sequence, reading the descriptors
in reverse order, so we add compiler barrier to prevent compiler
reorder.

Fixes: 7092be8437 ("fm10k: add vector Rx")

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-10-26 19:38:18 +02:00
..
base fm10k/base: remove unused struct element 2016-03-16 18:51:44 +01:00
fm10k_ethdev.c drivers: rename register macro prefix 2016-10-14 01:49:32 +02:00
fm10k_logs.h drivers: allow pruning log during build 2015-07-30 20:16:04 +02:00
fm10k_rxtx_vec.c net/fm10k: fix out of order Rx read 2016-10-26 19:38:18 +02:00
fm10k_rxtx.c net/fm10k: implement new Rx checksum flag 2016-10-14 01:41:12 +02:00
fm10k.h fm10k: enable FTAG based forwarding 2016-03-16 18:51:44 +01:00
Makefile mk: fix missing internal dependencies 2016-06-13 16:17:56 +02:00
rte_pmd_fm10k_version.map fm10k: move to drivers/net/ 2015-05-22 16:06:22 +02:00