netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aaron Brown <aaron.f.brown@intel.com>
To: davem@davemloft.net
Cc: Shannon Nelson <shannon.nelson@intel.com>,
	netdev@vger.kernel.org, gospo@redhat.com, sassmann@redhat.com,
	Aaron Brown <aaron.f.brown@intel.com>
Subject: [net-next 06/14] i40e: disable local loopback on vmdq vsi
Date: Fri,  1 Aug 2014 13:27:07 -0700	[thread overview]
Message-ID: <1406924835-31550-7-git-send-email-aaron.f.brown@intel.com> (raw)
In-Reply-To: <1406924835-31550-1-git-send-email-aaron.f.brown@intel.com>

From: Shannon Nelson <shannon.nelson@intel.com>

The local loopback should only be enabled for VSIs that are supporting
cascaded VEBs or VEPA setups.  This is not the case here, and we need
to stop the VEB from echoing the VMDQ VSI packets back at the VSI.

Change-ID: I9dfb6ac79db24d04360d7efde62d81e20abc5090
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
---
 drivers/net/ethernet/intel/i40e/i40e_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 6ac8487..51bc030 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -7576,7 +7576,6 @@ static int i40e_add_vsi(struct i40e_vsi *vsi)
 		 * should be set to zero by default.
 		 */
 		ctxt.info.switch_id = 0;
-		ctxt.info.switch_id |= cpu_to_le16(I40E_AQ_VSI_SW_ID_FLAG_LOCAL_LB);
 		ctxt.info.switch_id |= cpu_to_le16(I40E_AQ_VSI_SW_ID_FLAG_ALLOW_LB);
 
 		/* Setup the VSI tx/rx queue map for TC0 only for now */
-- 
1.9.3

  parent reply	other threads:[~2014-08-01 20:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-01 20:27 [net-next 00/14] Intel Wired LAN Driver Updates Aaron Brown
2014-08-01 20:27 ` [net-next 01/14] i40e: adds FCoE code to the i40e driver Aaron Brown
2014-08-01 20:27 ` [net-next 02/14] i40e: Adds FCoE related code to i40e core driver Aaron Brown
2014-08-01 20:27 ` [net-next 03/14] i40e: adds FCoE to build and updates its documentation Aaron Brown
2014-08-01 20:27 ` [net-next 04/14] i40e: expose debug_write_register request Aaron Brown
2014-08-01 20:27 ` [net-next 05/14] i40e: use correct vf_id offset for virtchnl message Aaron Brown
2014-08-01 20:27 ` Aaron Brown [this message]
2014-08-01 20:27 ` [net-next 07/14] i40evf: fix scan warning on sprintf Aaron Brown
2014-08-01 20:27 ` [net-next 08/14] i40e: Minor comment changes Aaron Brown
2014-08-01 20:27 ` [net-next 09/14] i40e: remove support for vf unicast promiscuous mode Aaron Brown
2014-08-01 20:27 ` [net-next 10/14] i40evf: future-proof vfr_stat state check Aaron Brown
2014-08-01 20:27 ` [net-next 11/14] i40evf: do not re-arm watchdog after remove Aaron Brown
2014-08-01 20:27 ` [net-next 12/14] i40evf: don't leak queue vectors Aaron Brown
2014-08-01 20:27 ` [net-next 13/14] i40evf: fix memory leak on unused interfaces Aaron Brown
2014-08-01 20:27 ` [net-next 14/14] i40evf: Fixed guest OS panic when removing vf driver Aaron Brown
2014-08-01 20:31 ` [net-next 00/14] Intel Wired LAN Driver Updates Brown, Aaron F
2014-08-03  2:41 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1406924835-31550-7-git-send-email-aaron.f.brown@intel.com \
    --to=aaron.f.brown@intel.com \
    --cc=davem@davemloft.net \
    --cc=gospo@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=sassmann@redhat.com \
    --cc=shannon.nelson@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).