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

2015-07-30 Thread Thomas Monjalon
> > 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(...) > > 3. checking pci status with converted constant > > > > Signed-off-by: Xuelin Shi > > Acked-by: Konstantin Ananyev Applied without added blank lines, thanks

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

2015-07-29 Thread xuelin....@freescale.com
From: Xuelin Shi 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(...) 3. checking pci status with converted constant Signed-off-by: Xuelin Shi --- changes for v4: fix compiling error: cpu16 to cpu_16

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

2015-07-29 Thread Ananyev, Konstantin
> -Original Message- > From: xuelin.shi at freescale.com [mailto:xuelin.shi at freescale.com] > Sent: Wednesday, July 29, 2015 7:38 AM > To: Ananyev, Konstantin > Cc: thomas.monjalon at 6wind.com; dev at dpdk.org; Xuelin Shi > Subject: [PATCH v4] ixgbe: fix data access on big endian cpu.