>> Ran > > You should be able to turn off the offload by setting > "rx-vlan-offload" to "off" via "ethtool -K". > > - Alex
Alex, I don't see rx-vlan-offload option in my ethtool. strange, maybe it is not available in all ethtool versions ? On Sun, May 1, 2016 at 9:22 PM, Peter Palúch <peter.pal...@fri.uniza.sk> wrote: > Ran, > > How are you accessing the VLAN tag information - and how do you know that > the VLAN tag is not being passed through? Are you using AF_PACKET socket in > your application? > > Best regards, > Peter > > Hi Peter, Yes, I'm using AF_PACKET (I can't validate it now for 100%, but I quite sure about it). I'm accessing the ethernet header, and it always gives me non extended ethernet header (without vlan information). I can see the vlan tag in vlan_tci field in sk_buff, but this is not exactly what I need, I need the header AS-IS with the original (extended) ethernet header. Thanks. Ran > > On 01.05.2016 15:13, Ran Shalit wrote: >> >> Hello, >> >> >> I am using intel igb driver in Linux. >> >> The driver strip the packet from vlan inofmation. But we need this >> information in the packet. >> >> We tried to change build flag, or see if there is any feature with >> ethtool that can disable this feature, but nothing helps. >> >> >> Is there any way to achive this ? >> >> Regards, >> >> Ran > >