All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [jkirsher/next-queue PATCH 0/2] Address issues with reset on systems with high completion timeout times
@ 2018-07-20 22:29 Alexander Duyck
  2018-07-20 22:29 ` [Intel-wired-lan] [jkirsher/next-queue PATCH 1/2] ixgbe: Reorder Tx/Rx shutdown to reduce time needed to stop device Alexander Duyck
  2018-07-20 22:29 ` [Intel-wired-lan] [jkirsher/next-queue PATCH 2/2] ixgbe: Refactor queue disable logic to take completion time into account Alexander Duyck
  0 siblings, 2 replies; 9+ messages in thread
From: Alexander Duyck @ 2018-07-20 22:29 UTC (permalink / raw)
  To: intel-wired-lan

This patch series is meant to address issues seen with ixgbe on systems
with high completion timeout times. Specifically the Tx and Rx queue
disable functions are supposed to poll until the enable bit is actually
cleared, and isntead of doing that we were failing immediately after just
100us in the case of Rx and weren't bothering to test in the case of Tx.
Instead this patch set adds polling logic with the upper bounds defined
using the intervals defined in the completion timeout logic.

In addition I have reorganized the code to parallelize this as much as
possible so that the Tx and Rx should hopefully flush out at around the
same time so we only experience on wait for all of the queues instead of
waiting per queue.

---

Alexander Duyck (2):
      ixgbe: Reorder Tx/Rx shutdown to reduce time needed to stop device
      ixgbe: Refactor queue disable logic to take completion time into account


 drivers/net/ethernet/intel/ixgbe/ixgbe.h         |    3 
 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c |   32 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c    |  290 +++++++++++++++++-----
 3 files changed, 229 insertions(+), 96 deletions(-)

--

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-07-23 17:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-20 22:29 [Intel-wired-lan] [jkirsher/next-queue PATCH 0/2] Address issues with reset on systems with high completion timeout times Alexander Duyck
2018-07-20 22:29 ` [Intel-wired-lan] [jkirsher/next-queue PATCH 1/2] ixgbe: Reorder Tx/Rx shutdown to reduce time needed to stop device Alexander Duyck
2018-07-20 22:29 ` [Intel-wired-lan] [jkirsher/next-queue PATCH 2/2] ixgbe: Refactor queue disable logic to take completion time into account Alexander Duyck
2018-07-21  5:53   ` kbuild test robot
2018-07-21  5:53   ` [Intel-wired-lan] [RFC PATCH] ixgbe: ixgbe_get_completion_timeout() can be static kbuild test robot
2018-07-23 16:24     ` Alexander Duyck
2018-07-23 17:35       ` Jeff Kirsher
2018-07-23 16:34   ` [Intel-wired-lan] [jkirsher/next-queue PATCH 2/2] ixgbe: Refactor queue disable logic to take completion time into account Shannon Nelson
2018-07-23 17:10     ` Alexander Duyck

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.