]> 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)
commit3d01e85e460e40e557f98d2d5564352ddfdb054f
tree13e5232d88ca50599b88707d44798e8f2dddadc9
parent04b12574b5e686a3641d0f39b3c24dac5f39a572
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