numam-dpdk/drivers/net/i40e
Qi Zhang ff6edd3886 net/i40e: 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: 9ed94e5bb0 ("i40e: 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 net/i40e/base: support FCoE 2016-09-30 12:27:18 +02:00
i40e_ethdev_vf.c ethdev: add an argument to internal callback function 2016-10-14 02:01:52 +02:00
i40e_ethdev.c ethdev: add an argument to internal callback function 2016-10-14 02:01:52 +02:00
i40e_ethdev.h net/i40e: enable 25G device 2016-09-30 12:27:18 +02:00
i40e_fdir.c net/i40e: add packet type translation for X722 2016-09-30 12:27:18 +02:00
i40e_logs.h drivers: allow pruning log during build 2015-07-30 20:16:04 +02:00
i40e_pf.c net/i40e: support floating VEB 2016-06-29 17:28:21 +02:00
i40e_pf.h i40e: support port hotplug 2015-07-19 21:22:23 +02:00
i40e_regs.h i40e: add EEPROM and registers dumping 2016-03-16 17:48:48 +01:00
i40e_rxtx_vec_common.h net/i40e: extract non-x86 specific code from vector driver 2016-10-26 18:01:25 +02:00
i40e_rxtx_vec_neon.c net/i40e: implement vector PMD for ARM 2016-10-26 19:38:00 +02:00
i40e_rxtx_vec_sse.c net/i40e: fix out of order Rx read 2016-10-26 19:38:18 +02:00
i40e_rxtx.c net/i40e: implement new Rx checksum flag 2016-10-14 01:41:39 +02:00
i40e_rxtx.h net/i40e: add packet type metadata in vector Rx 2016-10-13 15:30:59 +02:00
Makefile net/i40e: make vector driver filenames consistent 2016-10-26 19:38:17 +02:00
rte_pmd_i40e_version.map i40e: move to drivers/net/ 2015-05-22 16:06:22 +02:00