[dpdk-dev] [PATCH] ixgbe: fix data access on big endian cpu

2015-03-24 Thread Xuelin Shi
Hi Thomas, Done. http://patchwork.dpdk.org/dev/patchwork/patch/4123/ Thanks, Xuelin Shi > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, March 23, 2015 22:02 > To: Shi Xuelin-B29237 > Cc: dev at dpdk.org; konstantin.ananyev at intel.com;

[dpdk-dev] [PATCH] ixgbe: fix data access on big endian cpu

2015-03-23 Thread Thomas Monjalon
2015-03-03 16:27, xuelin.shi at freescale.com: > From: Xuelin Shi > > enforce rules for cpu and ixgbe exchanging data. > 1. cpu use data owned by ixgbe must use rte_le_to_cpu_xx(...) > 2. cpu fill data to ixgbe must use rte_cpu_to_le_xx(...) > > Signed-off-by: Xuelin Shi Please Xuelin, could y

[dpdk-dev] [PATCH] ixgbe: fix data access on big endian cpu

2015-03-03 Thread xuelin....@freescale.com
From: Xuelin Shi enforce rules for cpu and ixgbe exchanging data. 1. cpu use data owned by ixgbe must use rte_le_to_cpu_xx(...) 2. cpu fill data to ixgbe must use rte_cpu_to_le_xx(...) Signed-off-by: Xuelin Shi --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 115 --