Looking for a way to trigger error on network adapter

From: Francois Romieu (romieu@cogenit.fr)
Date: Wed Feb 21 2001 - 08:45:22 EST


HDLC PCI adapter + line at 2 Mb/s + external traffic generator that fills
the line with 5 to x1000 bytes frame.

I want to see how my code bahaves during rare (?) events: an overflow of
the RX fifo (256 bytes) and a TX underrun. It's my understanding that if the
adapter pains at DMAing, those errors should be triggered.
Could I/O at a inocuous location (a well-choosen PCI register ?) be enough
for that ?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:24 EST