]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix X540 Completion timeout
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 29 Oct 2014 07:23:41 +0000 (07:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 11 Nov 2014 14:05:27 +0000 (06:05 -0800)
commit766ad2602b125833a2f2d8c8cc656726882b9f2e
tree13e5232d88ca50599b88707d44798e8f2dddadc9
parent35d176773efcce41b56f36756a841c16a3138baf
ixgbe: fix X540 Completion timeout

On topologies including few levels of PCIe switching X540 can run into an
unexpected completion error.  We get around this by waiting after enabling
loopback a sufficient amount of time until Tx Data Fetch is sent.  We then
poll the pending transaction bit to ensure we received the completion.  Only
then do we go on to clear the buffers.

Signed-of-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c