]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ixgb: fix tx unit hang - properly calculate desciptor count
authorAuke Kok <auke-jan.h.kok@intel.com>
Mon, 10 Jul 2006 15:51:43 +0000 (08:51 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 12 Jul 2006 21:42:40 +0000 (17:42 -0400)
commitb304b4b8c4a84543ff5469b9126df73240b989e1
tree4286fe4c69954c70617cde1823579cf16785cfe5
parentb618f41e07dcd6aa4d8be6fcb2fec13f2444488c
[PATCH] ixgb: fix tx unit hang - properly calculate desciptor count

There were some tso bugs that only showed up with heavy load and 16kB
pages that this patch fixes by making the driver's internal use count
of descriptors match the count that it was estimating it needed using
the DESC_NEEDED macro.  This bug caused NETDEV_WATCHDOG resets aka
tx timeouts.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ixgb/ixgb_main.c