Re: network tx_timeout guidance

From: David Miller
Date: Wed Jul 19 2006 - 17:10:28 EST


From: "Keith Chew" <keith.chew@xxxxxxxxx>
Date: Thu, 20 Jul 2006 08:53:28 +1200

> (2) What is the best way to simulate a Tx Timeout? Currently we have
> to wait for several days (for 1 of the 10 PCs under stress testing)
> for it to occur.

Make your netdev->hard_start_xmit() method simply record the
SKB, but don't actually give it to the hardware.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/