[dpdk-dev] rte_mbuf's packet_type field

Olivier MATZ olivier.matz at 6wind.com
Fri Mar 4 10:28:39 CET 2016


Hi Zoltan,

On 03/01/2016 06:15 PM, Zoltan Kiss wrote:
> I have a quick question about this field: how do I know if the
> underlying PMD supports a particular protocol parsing. Let's say I want
> to check for SCTP packets, looking at this field tells me EITHER the
> packet is SCTP (or not), OR that the hardware has no idea about SCTP. Is
> there a way to figure that support out?

I'm not aware of such a feature. I guess you want to avoid to re-check
all protocols in software if the hardware supports some of them and
did not recognize them? In that case it may be interesting, but it would
result in a lot of feature flags.

Regards,
Olivier



More information about the dev mailing list