[dpdk-dev] [PATCH] ixgbe: fix ixgbe PCI access endian issue

2015-03-25 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of > xuelin.shi at freescale.com > Sent: Thursday, February 12, 2015 9:20 AM > To: thomas.monjalon at 6wind.com > Cc: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] ixgbe: fix ixgbe PC

[dpdk-dev] [PATCH] ixgbe: fix ixgbe PCI access endian issue

2015-02-20 Thread Thomas Monjalon
> ixgbe is little endian, but cpu maybe not. > add necessary conversions. > rte_cpu_to_le_32(...) for PCI write > rte_le_to_cpu_32(...) for PCI read. > > Signed-off-by: Xuelin Shi Acked-by: Thomas Monjalon Applied, thanks

[dpdk-dev] [PATCH] ixgbe: fix ixgbe PCI access endian issue

2015-02-12 Thread xuelin....@freescale.com
From: Xuelin Shi ixgbe is little endian, but cpu maybe not. add necessary conversions. rte_cpu_to_le_32(...) for PCI write rte_le_to_cpu_32(...) for PCI read. Signed-off-by: Xuelin Shi --- lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-