Re: Q: How to disable vlan strip in Intel igb driver ?

2016-05-01 Thread Peter Palúch
Hi Ran, Alex, I don't see rx-vlan-offload option in my ethtool. strange, maybe it is not available in all ethtool versions ? According to my manpage for ethtool v4.5, the relevant -K option is "rxvlan". Hi Peter, Yes, I'm using AF_PACKET (I can't validate it now for 100%, but I quite sure

Re: Q: How to disable vlan strip in Intel igb driver ?

2016-05-01 Thread Peter Palúch
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 On 01.05.2016 15:13, Ran Shalit wrote: Hello, I am using intel igb driver in Linux. The driver

[RFC] VLAN aux info for AF_PACKET available only with ETH_P_ALL

2016-04-14 Thread Peter Palúch
Greetings, When using AF_PACKET sockets with PACKET_AUXDATA socket option to access the VLAN TCI information of received frames, I have noticed that the VLAN information in struct tpacket_auxdata, namely, - tp_vlan_tci - tp_vlan_tpid - TP_STATUS_VLAN_VALID and TP_STATUS_VLAN_TPID_VALID flags

VLAN aux info for AF_PACKET available only with ETH_P_ALL

2016-04-12 Thread Peter Palúch
Greetings, I am running vanilla Linux kernel v4.4.6. When using AF_PACKET sockets with PACKET_AUXDATA socket option to access the VLAN TCI information of received frames, I have noticed that the VLAN information in struct tpacket_auxdata, namely, - tp_vlan_tci - tp_vlan_tpid - TP_STATUS_VLAN