<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hello. After some tunning into the 3c59x driver, i decide to contact you and tell you about some problems found in this driver.<br><br>The anoing thing with this driver is that when the traffic goes up more that 10Mbps, the driver "crashes" like this:<br><pre>kernel: NETDEV WATCHDOG: eth2: transmit timed out<br> kernel: eth2: transmit timed out, tx_status 00 status e000. <br> kernel: diagnostics: net 0ccc media 8880 dma 000000a0 fifo 0000 <br> kernel: Flags; bus-master 1, dirty 166045(13) current 166061(13) <br> kernel: Transmit list 36f2da20 vs. f6f2da20. <br> kernel: 0: @f6f2d200 length 80000036 status 00000036 <br> kernel: 1: @f6f2d2a0 length 8000003e status 0000003e <br> kernel: 2: @f6f2d340 length 80000036 status 00000036 <br> kernel: 3:<br><br>
@f6f2d3e0 length 8000003e status 0000003e <br> kernel: 4: @f6f2d480 length 8000003e status 0000003e <br> kernel: 5: @f6f2d520 length 800005ea status 000005ea <br> kernel: 6: @f6f2d5c0 length 800005ea status 000005ea <br> kernel: 7: @f6f2d660 length 8000003e status 0000003e <br> kernel: 8: @f6f2d700 length 800005ae status 000005ae <br> kernel: 9: @f6f2d7a0 length 800005ea status 000005ea <br> kernel: 10: @f6f2d840 length 80000036 status 00000036 <br> kernel: 11: @f6f2d8e0 length 800000ca status 800000ca <br> kernel: 12: @f6f2d980 length 800000d9 status 800000d9 <br> kernel: 13: @f6f2da20 length 80000a8d status 00000a8d <br> kernel: 14: @f6f2dac0 length 800005ea status 000005ea <br> kernel: 15: @f6f2db60 length 800005ea status 000005ea <br> kernel: eth2: <strong>Resetting the Tx ring pointer.</strong> </pre><br>I
check on google for this problem, but i didn't found anything. After i
take a look into the driver, i decide to rise up the TX_RING_SIZE and
RX_RING_SIZE, becouse i saw in sources that when those ring goes out,
the driver gives those errors. This problem didn't apear only one
computer. It apears on 5 diferent computers, with nForce2/3/570 and VIA
KT 333/400/800 chipsets.<br><br>I build a patch that chenges those values like this:<br><br>--- linux-2.6.22.5-orig/drivers/net/3c59x.c 2007-07-09 02:32:17.000000000 +0300<br>+++ linux-2.6.22.5/drivers/net/3c59x.c 2007-10-13 05:07:30.000000000 +0300<br>@@ -35,8 +35,8 @@<br> <br> /* A few values that may be tweaked. */<br> /* Keep the ring sizes a power of two for efficiency. */<br>-#define TX_RING_SIZE 16<br>-#define RX_RING_SIZE 32<br>+#define TX_RING_SIZE 1024<br>+#define RX_RING_SIZE 2048<br> #define PKT_BUF_SZ
1536 /* Size of each temporary Rx buffer.*/<br> <br> /* "Knobs" that adjust features and parameters. */<br>@@ -1014,6 +1014,11 @@<br> <br> if (!printed_version) {<br> printk (version);<br>+ printk ("%s Driver parameters: TX_RING_SIZE=%i, RX_RING_SIZE=%i, max_interrupt_work=%i\n",<br>+ DRV_NAME,<br>+ TX_RING_SIZE,<br>+ RX_RING_SIZE,<br>+ max_interrupt_work);<br> printed_version = 1;<br> }<br> <br><br>With those values the driver works fine, it didn't make errors. I use those network cards
becouse gives me performance. The Inte PRO 100 are good too, but i got more 3COM 905B/C than Intel PRO 100.<br><br>Best regards<br>Adrian Ban<br>Romania</div></div><br>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>