On Thu, 10 Jan 2019 03:03:24 +0200 Rami Rosen <roszenr...@gmail.com> wrote:
> Hi, Morten, > > > And regarding avoiding code duplicity, I'm pursuing Olivier about merging > packet header validation into rte_net_get_ptype() instead of writing a > separate function. > > > This seems also a good alternative. > +1 > > Regards, > Rami Rosen > +1 All drivers that don't have hardware support for getting l2/l3 and ptype information should be calling rte_net_get_ptype() already.