On Thu, Jul 07, 2016 at 01:52:25PM -0700, pravin shelar wrote: > On Wed, Jul 6, 2016 at 10:59 AM, Simon Horman > <simon.hor...@netronome.com> wrote: > > * Set skb protocol based on contents of packet. I have observed this is > > necessary to get actual protocol of a packet when it is injected into an > > internal device e.g. by libnet in which case skb protocol will be set to > > ETH_ALL. > > > I am not sure what do yo mean by ETH_ALL. I could not find it in the kernel. > anyways, Can we fix libnet to set skb->protocol field correctly? The > change is introducing overhead for every packet received on internal > port.
It was quite a while ago since I wrote this patch and I don't recall what I meant by ETH_ALL. I now plan to drop this patch.