Davicom ethernet driver dmfe.c : performance increasement

From: Philippe CORGIER (philippe.corgier@irts.fr)
Date: Wed Mar 12 2003 - 13:20:28 EST


Hy Jeff,

I have done a lot of improvements on dmfe.c (starting from its newest 1.36.4
version, found into kernel 2.5.64).
My issue was to increase performances, what was already done between 1.36
and 1.36.4 version.

I have removed useless memcpy at Xmit and applyed the standard way (DMA from
skb, free skb at Xmit done).

I have also fixed a new bug which was not present at low rates ;o) Ethernet
queue was nos suspended by the proper way when Xmit pool become full.

You will find enclosed the resulting source file.
With it, I have reached the maximum rates on 100Mbit/s (close to 12 Mo/s)
with a PIII/700.

I hope the community will take benefits on it !

Best regards,
Philippe CORGIER



-
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 : Sat Mar 15 2003 - 22:00:31 EST