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

Reply via email to