[dpdk-dev] [PATCH] e1000: fix e1000 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:27 AM > To: thomas.monjalon at 6wind.com > Cc: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] e1000: fix e1000 PC

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

2015-02-20 Thread Thomas Monjalon
> e1000 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] e1000: fix e1000 PCI access endian issue.

2015-02-12 Thread xuelin....@freescale.com
From: Xuelin Shi e1000 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_e1000/e1000/e1000_osdep.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) dif