[dpdk-dev] [RFC] function to parse packet headers
Stephen Hemminger
stephen at networkplumber.org
Fri Jan 11 01:11:58 CET 2019
On Thu, 10 Jan 2019 03:03:24 +0200
Rami Rosen <roszenrami at 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.
More information about the dev
mailing list