| To: | netdev@xxxxxxxxxxx, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | PATCH: sundance #6 |
| From: | Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx> |
| Date: | Thu, 19 Sep 2002 20:18:16 -0400 |
| Cc: | Donald Becker <becker@xxxxxxxxx>, Jason Lunz <lunz@xxxxxxxxxxxx>, Richard Gooch <rgooch@xxxxxxxxxxxxxxx>, "Patrick R. McManus" <mcmanus@xxxxxxxxxxxx>, edward_peng@xxxxxxxxxxxx |
| Organization: | MandrakeSoft |
| References: | <Pine.LNX.4.44.0209190903050.29420-100000@beohost.scyld.com> <3D8A25D1.3060300@mandrakesoft.com> <3D8A433B.5010703@mandrakesoft.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
The obvious sundance update from the earlier discussion...
diff -Nru a/drivers/net/sundance.c b/drivers/net/sundance.c
--- a/drivers/net/sundance.c Thu Sep 19 20:16:23 2002
+++ b/drivers/net/sundance.c Thu Sep 19 20:16:23 2002
@@ -60,6 +60,7 @@
* default to PIO, to fix chip bugs
- Add missing unregister_netdev (Jason Lunz)
- Add CONFIG_SUNDANCE_MMIO config option (jgarzik)
+ - Better rx buf size calculation (Donald Becker)
*/
@@ -973,7 +974,7 @@
np->cur_rx = np->cur_tx = 0;
np->dirty_rx = np->dirty_tx = 0;
- np->rx_buf_sz = (dev->mtu <= 1500 ? PKT_BUF_SZ : dev->mtu + 36);
+ np->rx_buf_sz = (dev->mtu <= 1520 ? PKT_BUF_SZ : dev->mtu + 16);
/* Initialize all Rx descriptors. */
for (i = 0; i < RX_RING_SIZE; i++) {
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Translation services - Services de traduction, Cedric Edwards |
|---|---|
| Next by Date: | ALTPATCH: 8139cp: LinkChg support, Jeff Garzik |
| Previous by Thread: | PATCH: [my] sundance #5, Jeff Garzik |
| Next by Thread: | Re: [PATCH] 2.4.20-pre sundance.c cleanups, Richard Gooch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |