Ranjit Manomohan 42952231c6 [TG3]: Fix set ring params tx ring size implementation
Fixes the implementation of the ethtool set ring parameters for the
tg3 transmit ring.  The size of tx_pending is taken into account
before doing a netif_wake_queue.  This prevents the interface from
locking up when smaller transmit ring sizes are used.

Signed-off-by: Ranjit Manomohan <ranjitm@google.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-10-18 20:54:26 -07:00
..
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-07 10:51:14 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-11 03:56:33 -04:00
2006-06-22 23:16:13 -04:00
2006-09-13 13:24:59 -04:00
2006-06-17 21:30:47 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-08 12:32:36 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-06 15:03:04 -04:00
2006-09-13 13:24:59 -04:00
2006-08-19 17:40:16 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-11 03:56:33 -04:00
2006-10-03 22:36:44 +02:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-28 18:01:44 -07:00
2006-09-24 20:07:48 -07:00
2006-10-10 16:15:34 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-11 04:06:09 -04:00
2006-10-17 10:24:23 -07:00
2006-10-17 10:24:25 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-07 10:51:15 -07:00
2006-10-11 11:17:06 -07:00
2006-10-11 11:17:06 -07:00
2006-09-13 13:24:59 -04:00
2006-09-28 18:01:42 -07:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00