DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] How to configure an Ethernet Driver to ignore the Ethertype
@ 2020-02-21 19:19 Jim Murphy
  2020-02-26 21:58 ` David Christensen
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Murphy @ 2020-02-21 19:19 UTC (permalink / raw)
  To: users

Hi,

I was wondering if there is a way to get the Ethernet driver to ignore the
Ethertype. The problem I am having is that I am dealing with a switch chip
that is redirecting packets to the processor via an offload ethernet
device. Before offload the switch chip adds a header that pushes the DA
into the spot where the EtherType is normally. As a result, the ethertype
is essentially a random value so some packets will look like that have a
snap header and the driver will conclude that the packet is corrupted I
presume. I am working with the IXGBE driver.

Any ideas?

Thanks,

Jim

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

* Re: [dpdk-users] How to configure an Ethernet Driver to ignore the Ethertype
  2020-02-21 19:19 [dpdk-users] How to configure an Ethernet Driver to ignore the Ethertype Jim Murphy
@ 2020-02-26 21:58 ` David Christensen
  2020-02-26 23:53   ` Jim Murphy
  0 siblings, 1 reply; 3+ messages in thread
From: David Christensen @ 2020-02-26 21:58 UTC (permalink / raw)
  To: users

> I was wondering if there is a way to get the Ethernet driver to ignore the
> Ethertype. The problem I am having is that I am dealing with a switch chip
> that is redirecting packets to the processor via an offload ethernet
> device. Before offload the switch chip adds a header that pushes the DA
> into the spot where the EtherType is normally. As a result, the ethertype
> is essentially a random value so some packets will look like that have a
> snap header and the driver will conclude that the packet is corrupted I
> presume. I am working with the IXGBE driver.

Are you talking about HiGig/HiGig2 headers? I think your support in the 
DPDK will be limited to octeontx2 (look for switch_header="higig2" in
https://fast.dpdk.org/doc/pdf-guides/nics-master.pdf).

Dave

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

* Re: [dpdk-users] How to configure an Ethernet Driver to ignore the Ethertype
  2020-02-26 21:58 ` David Christensen
@ 2020-02-26 23:53   ` Jim Murphy
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Murphy @ 2020-02-26 23:53 UTC (permalink / raw)
  To: David Christensen; +Cc: users

Hi,

Thanks for the pointers on higig I will look into it. However in this case
these headers are defined arbitrarily using p4.

Thanks,

Jim

On Wed, Feb 26, 2020, 1:58 PM David Christensen <drc@linux.vnet.ibm.com>
wrote:

> > I was wondering if there is a way to get the Ethernet driver to ignore
> the
> > Ethertype. The problem I am having is that I am dealing with a switch
> chip
> > that is redirecting packets to the processor via an offload ethernet
> > device. Before offload the switch chip adds a header that pushes the DA
> > into the spot where the EtherType is normally. As a result, the ethertype
> > is essentially a random value so some packets will look like that have a
> > snap header and the driver will conclude that the packet is corrupted I
> > presume. I am working with the IXGBE driver.
>
> Are you talking about HiGig/HiGig2 headers? I think your support in the
> DPDK will be limited to octeontx2 (look for switch_header="higig2" in
> https://fast.dpdk.org/doc/pdf-guides/nics-master.pdf).
>
> Dave
>

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

end of thread, other threads:[~2020-02-26 23:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 19:19 [dpdk-users] How to configure an Ethernet Driver to ignore the Ethertype Jim Murphy
2020-02-26 21:58 ` David Christensen
2020-02-26 23:53   ` Jim Murphy

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).