[dpdk-dev] [PATCH] i40e: Fix eth_i40e_dev_init sequence on ThunderX

2016-11-11 Thread Zhang, Helin
Hi Rao The existing rule is to try best not modify source files in the folder of base/ for each PMD. The exceptions are *_osdep.h or *_osdep.c. So for your case, please redefine the rd32/wr32 in i40e_osdep.h. (with condition compiles for ARM?, as other CPU structures may not need that.)

[dpdk-dev] [PATCH] i40e: Fix eth_i40e_dev_init sequence on ThunderX

2016-11-10 Thread Jerin Jacob
On Thu, Nov 10, 2016 at 04:04:27AM -0800, Satha Rao wrote: > i40e_asq_send_command: rd32 & wr32 under ThunderX gives unpredictable >results. To solve this include rte memory barriers > > Signed-off-by: Satha Rao > --- > drivers/net/i40e/base/i40e_adminq.c | 5 - > 1

[dpdk-dev] [PATCH] i40e: Fix eth_i40e_dev_init sequence on ThunderX

2016-11-10 Thread Satha Rao
i40e_asq_send_command: rd32 & wr32 under ThunderX gives unpredictable results. To solve this include rte memory barriers Signed-off-by: Satha Rao --- drivers/net/i40e/base/i40e_adminq.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git