Dropped packets with the newest tulip driver due to FIFO overflow

Tobias Ringstrom (tori@ringstrom.mine.nu)
Sat, 8 Sep 2001 00:59:24 +0200 (CEST)


Hi, Jeff, LKML!

With the newest tulip driver (1.1.8 or the one in linux-2.4.9), I'm
getting extremely bad receive performance, with around 30-90% of all
received packets beeing mysteriously and silently dropped. This on a
Cardbus DC21143, which works very well with "all" previous versions.
(...and it's not a duplex issue, trust me...)

After some head-scratching, I traced the packet loss to receive FIFO
overflows. The missing packets are accounted for in CSR8<27:17>, which is
the FIFO overflow counter. The driver does not read this counter for some
reason, and that's why the packets are silently dropped. FIFO errors are
what you get if the DMA to memory is not happening fast enough. It is not
obvious to me why the changes in the driver caused this, but I do have
some ideas to try tomorrow, after some sleep. I find it strange that the
packet loss is so extreme, though.

I'm writing this to verify that this is not a known problem, to make sure
I'm not wasting my time.

Any ideas or comments?

/Tobias

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