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

Ananyev, Konstantin konstantin.ananyev at intel.com
Wed Jul 29 10:56:49 CEST 2015



> -----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.
> 
> From: Xuelin Shi <xuelin.shi at freescale.com>
> 
> 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 <xuelin.shi at freescale.com>

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> ---
> changes for v4:
>   fix compiling error: cpu16 to cpu_16
>   fix issues reported by checkpatch
> 
>  drivers/net/ixgbe/ixgbe_rxtx.c | 78 ++++++++++++++++++++++++++++--------------
>  1 file changed, 52 insertions(+), 26 deletions(-)
> 


More information about the dev mailing list