mbuf: fix big endian build
authorThomas Monjalon <thomas@monjalon.net>
Tue, 9 Apr 2019 20:06:35 +0000 (22:06 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Apr 2019 13:27:23 +0000 (15:27 +0200)
commit914631872c822a440b4d19545d9974481424cd3f
tree981f087aa1264c88bb57d30bbf29cdd79f869689
parent26ed007067e86bb3d587c048d130cd13bee6b07a
mbuf: fix big endian build

Compilation was failing when using a big endian toolchain:

rte_mbuf.h:504:2: error: expected ',' or '}' before 'RTE_MBUF_L3_LEN_OFS'

Fixes: 8d9c2c3a1f01 ("mbuf: add function to generate raw Tx offload value")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_mbuf/rte_mbuf.h