Enlarge the L3 and tunnel header length from 8-bit to 16-bit to handle
the bigger headers. And reorder the fields to avoid creating a structure
hole.
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
*/
struct rte_net_hdr_lens {
uint8_t l2_len;
- uint8_t l3_len;
- uint8_t l4_len;
- uint8_t tunnel_len;
uint8_t inner_l2_len;
- uint8_t inner_l3_len;
+ uint16_t l3_len;
+ uint16_t inner_l3_len;
+ uint16_t tunnel_len;
+ uint8_t l4_len;
uint8_t inner_l4_len;
};