net: add missing endianness annotations
authorDavid Marchand <david.marchand@redhat.com>
Fri, 27 Sep 2019 11:58:02 +0000 (13:58 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:10 +0000 (16:43 +0200)
commit7eca7f7fd09d76fba7958df8fd92e90ac169a8e6
tree80a55fc4f8f3a0269b70059165d6604e6aa20fcf
parente599bbf442f502fce0671f6b6f39f728b14259a7
net: add missing endianness annotations

OVS currently maintains a copy of those headers with the right endianness
annotations so that sparse checks can pass.

We introduced rte_beXX_t for better readibility in v17.08.
Let's make use of them, OVS then only needs to override those rte_beXX_t
types by exposing a tweaked rte_byteorder.h header.

Other existing dpdk users won't be affected since rte_beXX_t types are
mapped to uintXX_t types.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_net/rte_icmp.h
lib/librte_net/rte_ip.h
lib/librte_net/rte_sctp.h
lib/librte_net/rte_tcp.h
lib/librte_net/rte_udp.h