summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2012-03-16 23:07:34 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-19 17:37:21 -0400
commit8f4a0a3d9f9706da5a9d053fe39854c160250ddc (patch)
tree1e7c4af740002a3d0ee2a5982b27cdeb1d18f13b /sound
parentda24e906cbfc08171d24a2b7cf66fad565fdd121 (diff)
downloadlinux-3.10-8f4a0a3d9f9706da5a9d053fe39854c160250ddc.tar.gz
linux-3.10-8f4a0a3d9f9706da5a9d053fe39854c160250ddc.tar.bz2
linux-3.10-8f4a0a3d9f9706da5a9d053fe39854c160250ddc.zip
ixgbe: Fix issues with SR-IOV loopback when flow control is disabled
This patch allows us to avoid a Tx hang when SR-IOV is enabled. This hang can be triggered by sending small packets at a rate that was triggering Rx missed errors from the adapter while the internal Tx switch and at least one VF are enabled. This was all due to the fact that under heavy stress the Rx FIFO never drained below the flow control high water mark. This resulted in the Tx FIFO being head of line blocked due to the fact that it relies on the flow control high water mark to determine when it is acceptable for the Tx to place a packet in the Rx FIFO. The resolution for this is to set the FCRTH value to the RXPBSIZE - 32 so that even if the ring is almost completely full we can still place Tx packets on the Rx ring and drop incoming Rx traffic if we do not have sufficient space available in the Rx FIFO. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions