On Fri, 4 Sep 2020 13:40:20 +0800 Haiyue Wang <haiyue.w...@intel.com> wrote:
> diff --git a/lib/librte_net/rte_net.h b/lib/librte_net/rte_net.h > index 94b06d9ee..992fb088a 100644 > --- a/lib/librte_net/rte_net.h > +++ b/lib/librte_net/rte_net.h > @@ -20,11 +20,11 @@ extern "C" { > */ > struct rte_net_hdr_lens { > uint8_t l2_len; > - uint8_t l3_len; > + uint16_t l3_len; > uint8_t l4_len; Please reorder these to avoid creating a structure hole.