DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] rte_mbuf's packet_type field
@ 2016-03-01 17:15 Zoltan Kiss
  2016-03-04  9:28 ` Olivier MATZ
  0 siblings, 1 reply; 4+ messages in thread
From: Zoltan Kiss @ 2016-03-01 17:15 UTC (permalink / raw)
  To: dev

Hi,

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?

Zoli

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] rte_mbuf's packet_type field
  2016-03-01 17:15 [dpdk-dev] rte_mbuf's packet_type field Zoltan Kiss
@ 2016-03-04  9:28 ` Olivier MATZ
  2016-03-04 10:58   ` Ananyev, Konstantin
  0 siblings, 1 reply; 4+ messages in thread
From: Olivier MATZ @ 2016-03-04  9:28 UTC (permalink / raw)
  To: Zoltan Kiss, dev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] rte_mbuf's packet_type field
  2016-03-04  9:28 ` Olivier MATZ
@ 2016-03-04 10:58   ` Ananyev, Konstantin
  2016-03-04 13:40     ` Zoltan Kiss
  0 siblings, 1 reply; 4+ messages in thread
From: Ananyev, Konstantin @ 2016-03-04 10:58 UTC (permalink / raw)
  To: Olivier MATZ, Zoltan Kiss, dev

Hi,

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Olivier MATZ
> Sent: Friday, March 04, 2016 9:29 AM
> To: Zoltan Kiss; dev@dpdk.org
> Subject: Re: [dpdk-dev] rte_mbuf's packet_type field
> 
> 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.

Nothing in the mainline, but there is a patches in-flight:
http://dpdk.org/dev/patchwork/patch/10921/

Konstantin

> 
> Regards,
> Olivier


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] rte_mbuf's packet_type field
  2016-03-04 10:58   ` Ananyev, Konstantin
@ 2016-03-04 13:40     ` Zoltan Kiss
  0 siblings, 0 replies; 4+ messages in thread
From: Zoltan Kiss @ 2016-03-04 13:40 UTC (permalink / raw)
  To: Ananyev, Konstantin, Olivier MATZ, dev



On 04/03/16 10:58, Ananyev, Konstantin wrote:
> Hi,
>
>> -----Original Message-----
>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Olivier MATZ
>> Sent: Friday, March 04, 2016 9:29 AM
>> To: Zoltan Kiss; dev@dpdk.org
>> Subject: Re: [dpdk-dev] rte_mbuf's packet_type field
>>
>> 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.
>
> Nothing in the mainline, but there is a patches in-flight:
> http://dpdk.org/dev/patchwork/patch/10921/

Thanks, this would do it!

Regards,

Zoltan

>
> Konstantin
>
>>
>> Regards,
>> Olivier
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-04 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-01 17:15 [dpdk-dev] rte_mbuf's packet_type field Zoltan Kiss
2016-03-04  9:28 ` Olivier MATZ
2016-03-04 10:58   ` Ananyev, Konstantin
2016-03-04 13:40     ` Zoltan Kiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).