> -----Original Message-----
> From: Chris Friesen [mailto:chris.frie...@genband.com]
> Sent: Thursday, November 08, 2012 1:43 PM
> To: Levy, Lior
> Cc: e1000-devel@lists.sourceforge.net; Allan, Bruce W; Brandeburg,
> Jesse; Ronciak, John
> Subject: Re: [E1000-devel] BUG? strange behavior with vlans and virtual
> functions on i350
> 
> On 11/08/2012 02:58 PM, Chris Friesen wrote:
> > I tried
> > using "ethtool -K ethX rxvlan off" but for some reason that option
> > always showed as off even when CTRL.VME was actually set.
> 
> This is not my main problem, but somewhat related.  I think I found a
> flaw in the driver.
> 
> If you have a kernel where HAVE_VLAN_RX_REGISTER is set (newer than
> 2.4.18) but where HAVE_NDO_SET_FEATURES is not set (older than 2.6.39),
> then it appears that
> 
> ethtool -K ethX rxvlan <off|on>"
> 
> will not actually change the hardware settings.  It will call
> igb_set_flags(), which will call ethtool_op_set_flags(), but nothing
> calls igb_vlan_mode() to actually change the hardware setting.
> 
> Chris

Chris,

I took a look at this with Carolyn and I believe what you're seeing is the 
expected behavior. In these older kernels, there was no ethtool option to turn 
on and off VLAN stripping on the fly. If you look, the get_flags operation just 
calls ethtool_op_get_flags, which doesn't recognize ETH_FLAG_RXVLAN.

If you're seeing issues with the functionality of VLANs with igb alone, let us 
know and we'll take a look at it.

Cheers,
Matthew

Matthew Vick
Linux Development
LAN Access Division
Intel Corporation



------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to