]> git.hungrycats.org Git - linux/commit
[PATCH] hang on ZEROCOPY/TSO when hitting no-Tx-resources
authorScott Feldman <scott.feldman@intel.com>
Tue, 14 Oct 2003 10:15:35 +0000 (06:15 -0400)
committerStephen Hemminger <shemminger@osdl.org>
Tue, 14 Oct 2003 10:15:35 +0000 (06:15 -0400)
commit03f56141dcaf0a08857844dccadc1d362761c5c5
tree7807f233c9adb64a9dca7f85d72b44c7cba55620
parent77a2fa0ba7b7d8d916201c3fb7be408b932b7a85
[PATCH] hang on ZEROCOPY/TSO when hitting no-Tx-resources

* Critical bug fix: under heavy Tx stress using ZEROCOPY or TSO, if we
  ran out of Tx descriptors, we didn't calculate for the context
  descritor used as the first of the ZEROCOPY/TSO send, nor do we clean
  up the context desriptor bits in the case where the send isn't going
  to fit, where we need to undo the mappings.  This bug was introduced
  with the 5.2.16 patch set which included a workaround for a hang
  on 82544 over PCI-X.  This workaround cause the check for no-Tx-
  rosource logic to change, and this bug slipped in.
drivers/net/e1000/e1000_main.c