mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Looking for a way to trigger error on network adapter
@ 2001-02-21 13:45 Francois Romieu
  2001-02-21 13:55 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Romieu @ 2001-02-21 13:45 UTC (permalink / raw)
  To: linux-kernel

Hello,

Context:
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 ?

-- 
Ueimor

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Looking for a way to trigger error on network adapter
  2001-02-21 13:45 Looking for a way to trigger error on network adapter Francois Romieu
@ 2001-02-21 13:55 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2001-02-21 13:55 UTC (permalink / raw)
  To: Francois Romieu; +Cc: linux-kernel

> 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 ?

Install XFree86 4.0 on a matrox card. Enable pci retries in the config. Wave
large windows around while running a heavy graphical app.

Thats certainly enough to make several sound cards barf and sulk. The matrox
has a bencmarketing feature where they lock the pci bus to get better winbench
type numbers. They arent the only people who do it and thankfully you can turn
it off, but for this specific case its rather useful 8)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-21 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-21 13:45 Looking for a way to trigger error on network adapter Francois Romieu
2001-02-21 13:55 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®