qlge: Fix occasional loopback test failure.
authorRon Mercer <ron.mercer@qlogic.com>
Wed, 17 Feb 2010 06:41:23 +0000 (06:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:35:38 +0000 (13:35 -0800)
commitaa13bd6ef4ddd81080f972220fae30eb28f65b17
treed9e92fde0111bca92016538988edaddbf578f5be
parent801e9096c566d40d2e7c9903dc902fa01a5a0b36
qlge: Fix occasional loopback test failure.

On some servers we see the cleaning of the RX queue finish before all
the loopback packets are sent out.  This delay allows the queues to
settle before checking for successful completion.
Also, delay completion so link has time to come back up.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_ethtool.c