ixgbe: fix big endian access
authorXuelin Shi <xuelin.shi@freescale.com>
Thu, 12 Feb 2015 01:19:50 +0000 (09:19 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Feb 2015 10:52:29 +0000 (11:52 +0100)
commit3658eb95fe65bf42bdfb80b0a7ecd1e4d484bf5f
tree31d9989b64c3448f93dc3590e50f8359124653ae
parent89626cb570bcd43fc4da9f5cb0949aaef25bd6ce
ixgbe: fix big endian access

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 <xuelin.shi@freescale.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h