> -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
> 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
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
3 matches
Mail list logo