e7c727c307
An external project that wants to do additional checks on fields
endianness can remap rte_beXX types to instrumented types and use
sparse.
The current code breaks OVS build with sparse:
../../lib/ofp-packet.c: note: in included file (through
.../ovs/dpdk-dir/build/include/rte_flow.h, ../../lib/netdev-dpdk.h,
../../lib/dp-packet.h):
.../ovs/dpdk-dir/build/include/rte_l2tpv2.h:92:37:
error: invalid bitfield specifier for type restricted ovs_be16.
.../ovs/dpdk-dir/build/include/rte_l2tpv2.h:93:37:
error: invalid bitfield specifier for type restricted ovs_be16.
.../ovs/dpdk-dir/build/include/rte_l2tpv2.h:94:40:
error: invalid bitfield specifier for type restricted ovs_be16.
.../ovs/dpdk-dir/build/include/rte_l2tpv2.h:95:37:
error: invalid bitfield specifier for type restricted ovs_be16.
.../ovs/dpdk-dir/build/include/rte_l2tpv2.h:96:40:
error: invalid bitfield specifier for type restricted ovs_be16.
.../ovs/dpdk-dir/build/include/rte_l2tpv2.h:97:37:
error: invalid bitfield specifier for type restricted ovs_be16.
.../ovs/dpdk-dir/build/include/rte_l2tpv2.h:98:37:
error: invalid bitfield specifier for type restricted ovs_be16.
.../ovs/dpdk-dir/build/include/rte_l2tpv2.h:99:40:
error: invalid bitfield specifier for type restricted ovs_be16.
.../ovs/dpdk-dir/build/include/rte_l2tpv2.h💯39:
error: invalid bitfield specifier for type restricted ovs_be16.
make[3]: *** [lib/ofp-packet.lo] Error 1
Use simple uint16_t types for bitfields in L2TPv2 struct.
Fixes:
|
||
---|---|---|
.. | ||
meson.build | ||
net_crc_avx512.c | ||
net_crc_neon.c | ||
net_crc_sse.c | ||
net_crc.h | ||
rte_arp.c | ||
rte_arp.h | ||
rte_ecpri.h | ||
rte_esp.h | ||
rte_ether.c | ||
rte_ether.h | ||
rte_geneve.h | ||
rte_gre.h | ||
rte_gtp.h | ||
rte_higig.h | ||
rte_icmp.h | ||
rte_ip.h | ||
rte_l2tpv2.h | ||
rte_mpls.h | ||
rte_net_crc.c | ||
rte_net_crc.h | ||
rte_net.c | ||
rte_net.h | ||
rte_ppp.h | ||
rte_sctp.h | ||
rte_tcp.h | ||
rte_udp.h | ||
rte_vxlan.h | ||
version.map |