[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1391837379.1875.8.camel@localhost>
Date: Fri, 07 Feb 2014 21:29:39 -0800
From: Aaron Brown <aaron.f.brown@...el.com>
To: Stefan Assmann <sassmann@...nic.de>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
e1000-devel@...ts.sourceforge.net, carolyn.wyborny@...el.com,
jeffrey.t.kirsher@...el.com
Subject: Re: [PATCH net-next] igb: enable VLAN stripping for VMs with i350
On Wed, 2013-12-11 at 10:32 +0100, Stefan Assmann wrote:
> For i350 VLAN stripping for VMs is not enabled in the VMOLR register
> but in
> the DVMOLR register. Making the changes accordingly. It's not
> necessary to
> unset the E1000_VMOLR_STRVLAN bit on i350 as the hardware will simply
> ignore
> it.
>
> Without this change if a VLAN is configured for a VF assigned to a
> guest
> via (i.e.)
> ip link set p1p1 vf 0 vlan 10
> the VLAN tag will not be stripped from packets going into the VM.
> Which they
> should be because the VM itself is not aware of the VLAN at all.
>
> Signed-off-by: Stefan Assmann <sassmann@...nic.de>
Tested-by: Sibai Li <sibai.li@...el.com>
Signed-off-by: Aaron Brown <aaron.f.brown@...el.com>
> ---
> drivers/net/ethernet/intel/igb/e1000_82575.h | 4 ++++
> drivers/net/ethernet/intel/igb/e1000_regs.h | 1 +
> drivers/net/ethernet/intel/igb/igb_main.c | 7 +++++++
> 3 files changed, 12 insertions(+)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists