net: adjust header length parse size
authorHaiyue Wang <haiyue.wang@intel.com>
Mon, 7 Sep 2020 01:56:50 +0000 (09:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:12 +0000 (18:55 +0200)
commit976277f9ce09bbf8e763e2e7f3857df64b0ff682
treee1a487d7bd1ca2682e9cd6a894fe05c38538e3bf
parent979f2bae0714c18899e5bbb3d472842b0ce20060
net: adjust header length parse size

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>
lib/librte_net/rte_net.h