[dpdk-dev] [PATCH] fm10k: fix the compilation on big endian platforms

Chao Zhu chaozhu at linux.vnet.ibm.com
Mon Aug 3 08:31:56 CEST 2015


The using of rte_cpu_to_le_32() in pre-compile macros will cause error
'initializer element is not constant' on big endian platforms. This patch
fixes the compilation error of fm10k driver.


Chao Zhu (1):
  fm10k: fix the compilation on big endian platforms

 drivers/net/fm10k/base/fm10k_tlv.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)



More information about the dev mailing list