* [Intel-wired-lan] [net PATCH V1] i40e: fix vlan inside vxlan
@ 2015-09-22 18:34 Jesse Brandeburg
2015-09-24 20:42 ` Jeff Kirsher
0 siblings, 1 reply; 2+ messages in thread
From: Jesse Brandeburg @ 2015-09-22 18:34 UTC (permalink / raw)
To: intel-wired-lan
Previously to this patch, the hardware was removing
vlan tags from the inner header of vxlan packets. The
hardware configuration can be changed to leave the
packet alone since that is what the linux stack
expects for this type of vlan in vxlan packet.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 9295768..3410fb3 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -2613,7 +2613,8 @@ static int i40e_configure_rx_ring(struct i40e_ring *ring)
rx_ctx.lrxqthresh = 2;
rx_ctx.crcstrip = 1;
rx_ctx.l2tsel = 1;
- rx_ctx.showiv = 1;
+ /* this controls whether VLAN is stripped from inner headers */
+ rx_ctx.showiv = 0;
#ifdef I40E_FCOE
rx_ctx.fc_ena = (vsi->type == I40E_VSI_FCOE);
#endif
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Intel-wired-lan] [net PATCH V1] i40e: fix vlan inside vxlan
2015-09-22 18:34 [Intel-wired-lan] [net PATCH V1] i40e: fix vlan inside vxlan Jesse Brandeburg
@ 2015-09-24 20:42 ` Jeff Kirsher
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Kirsher @ 2015-09-24 20:42 UTC (permalink / raw)
To: intel-wired-lan
On Tue, 2015-09-22 at 11:34 -0700, Jesse Brandeburg wrote:
> Previously to this patch, the hardware was removing
> vlan tags from the inner header of vxlan packets. The
> hardware configuration can be changed to leave the
> packet alone since that is what the linux stack
> expects for this type of vlan in vxlan packet.
>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_main.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
CC: stable <stable@vger.kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20150924/f5f12e8b/attachment-0001.asc>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-24 20:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-22 18:34 [Intel-wired-lan] [net PATCH V1] i40e: fix vlan inside vxlan Jesse Brandeburg
2015-09-24 20:42 ` Jeff Kirsher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.