[dpdk-dev] [PATCH v2] ixgbe: fix ixgbe access endian issue on bigendian arch

2015-03-27 Thread Ananyev, Konstantin
as.monjalon at 6wind.com > > Cc: dev at dpdk.org > > Subject: RE: [dpdk-dev] [PATCH v2] ixgbe: fix ixgbe access endian issue > > on bigendian arch > > > > Hi, > > > > > -Original Message- > > > From: dev [mailto:dev-bounces at dpdk.or

[dpdk-dev] [PATCH v2] ixgbe: fix ixgbe access endian issue on bigendian arch

2015-03-27 Thread Xuelin Shi
gt; To: thomas.monjalon at 6wind.com > > Cc: dev at dpdk.org; Xuelin Shi > > Subject: [dpdk-dev] [PATCH v2] ixgbe: fix ixgbe access endian issue on > > bigendian arch > > > > From: Xuelin Shi > > > > enforce rules of the cpu and ixgbe exchange data. &g

[dpdk-dev] [PATCH v2] ixgbe: fix ixgbe access endian issue on bigendian arch

2015-03-27 Thread Ananyev, Konstantin
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of xuelin.shi at > freescale.com > Sent: Tuesday, March 24, 2015 6:34 AM > To: thomas.monjalon at 6wind.com > Cc: dev at dpdk.org; Xuelin Shi > Subject: [dpdk-dev] [PATCH v2] ixgbe: fi

[dpdk-dev] [PATCH v2] ixgbe: fix ixgbe access endian issue on bigendian arch

2015-03-24 Thread xuelin....@freescale.com
From: Xuelin Shi enforce rules of the cpu and ixgbe exchange 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 --- changes for v2: rebased on latest head. fix some style issue detected by ch