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

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Mar 23 15:01:53 CET 2015


2015-03-03 16:27, xuelin.shi at freescale.com:
> From: Xuelin Shi <xuelin.shi at freescale.com>
> 
> enforce rules for cpu and ixgbe exchanging data.
> 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(...)
> 
> Signed-off-by: Xuelin Shi <xuelin.shi at freescale.com>

Please Xuelin, could you rebase on HEAD and fix these checkpatch errors?

ERROR:SPACING: space prohibited after that '!' (ctx:BxW)

ERROR:CODE_INDENT: code indent should use tabs where possible
+^I^I ^I   ^I  IXGBE_RXDADV_STAT_DD)) {$

Thanks


More information about the dev mailing list