[dpdk-dev] [RFC] function to parse packet headers

Andrew Rybchenko arybchenko at solarflare.com
Fri Jan 11 08:56:11 CET 2019


On 1/11/19 3:11 AM, Stephen Hemminger wrote:
> 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.

Is it documented somewhere?



More information about the dev mailing list