All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: davem@davemloft.net
Cc: Carolyn Wyborny <carolyn.wyborny@intel.com>,
	netdev@vger.kernel.org, nhorman@redhat.com, sassmann@redhat.com,
	jogreene@redhat.com, Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Subject: [net-next 05/11] i40e: fix for queue timing delays
Date: Sat, 25 Mar 2017 01:12:59 -0700	[thread overview]
Message-ID: <20170325081305.31835-6-jeffrey.t.kirsher@intel.com> (raw)
In-Reply-To: <20170325081305.31835-1-jeffrey.t.kirsher@intel.com>

From: Carolyn Wyborny <carolyn.wyborny@intel.com>

This patch adds a delay to Rx queue disables to accommodate HW needs.

Change-ID: I2864ca667ce5dcc2cc44f8718113b719742a46a1
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
 drivers/net/ethernet/intel/i40e/i40e_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 5da990909a88..1435033faefe 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -4181,6 +4181,8 @@ static int i40e_vsi_control_rx(struct i40e_vsi *vsi, bool enable)
 		}
 	}
 
+	/* HW needs up to 50ms to finish RX queue disable*/
+	mdelay(50);
 	return ret;
 }
 
-- 
2.12.0

  parent reply	other threads:[~2017-03-25  8:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-25  8:12 [net-next 00/11][pull request] 40GbE Intel Wired LAN Driver Updates 2017-03-25 Jeff Kirsher
2017-03-25  8:12 ` [net-next 01/11] i40e/i40evf: Update code to better handle incrementing page count Jeff Kirsher
2017-03-25  8:12 ` [net-next 02/11] i40e: fix configuration of RSS table with DCB Jeff Kirsher
2017-03-25  8:12 ` [net-next 03/11] i40e/i40evf: Fix use after free in Rx cleanup path Jeff Kirsher
2017-03-25  8:12 ` [net-next 04/11] i40e: Fixed race conditions in VF reset Jeff Kirsher
2017-03-25  8:12 ` Jeff Kirsher [this message]
2017-03-25 10:31   ` [net-next 05/11] i40e: fix for queue timing delays Sergei Shtylyov
2017-03-26  3:00   ` David Miller
2017-03-27 16:12     ` Wyborny, Carolyn
2017-03-25  8:13 ` [net-next 06/11] i40e: removed no longer needed delays Jeff Kirsher
2017-03-25  8:13 ` [net-next 07/11] i40e/i40evf: Clean-up process_skb_fields Jeff Kirsher
2017-03-25  8:13 ` [net-next 08/11] i40e: Drop FCoE code from core driver files Jeff Kirsher
2017-03-25  8:13 ` [net-next 09/11] i40e: Drop FCoE code that always evaluates to false or 0 Jeff Kirsher
2017-03-25  8:13 ` [net-next 10/11] i40evf: dereference VSI after VSI has been null checked Jeff Kirsher
2017-03-25  8:13 ` [net-next 11/11] i40e: initialize params before notifying of l2_param_changes Jeff Kirsher
2017-03-27 23:38 ` [net-next 00/11][pull request] 40GbE Intel Wired LAN Driver Updates 2017-03-25 Jeff Kirsher

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=20170325081305.31835-6-jeffrey.t.kirsher@intel.com \
    --to=jeffrey.t.kirsher@intel.com \
    --cc=carolyn.wyborny@intel.com \
    --cc=davem@davemloft.net \
    --cc=jogreene@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=nhorman@redhat.com \
    --cc=sassmann@redhat.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 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.