netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [EXPERIMENTAL] 2.6: de2104x.c jumbo frames, take two
@ 2004-01-09 23:33 Rask Ingemann Lambertsen
  2004-01-10 13:47 ` Rask Ingemann Lambertsen
  0 siblings, 1 reply; 2+ messages in thread
From: Rask Ingemann Lambertsen @ 2004-01-09 23:33 UTC (permalink / raw)
  To: netdev, linux-net; +Cc: jgarzik

Hi.

Attached is a patch which enables jumbo frames on DS2104x based boards. The
maximum supported MTU is 4066 bytes (but see below). Room for a VLAN tag is
included.

The maximum supported MTU is about twice as large as in my first jumbo frame
patch because both buffers of RX and TX descriptors are used (just like the
winbond-840 driver on TX). The media tables have been adjusted to disable
the RX watchdog and TX jabber timers.

Tested with a DS21041 and an MTU of 3544 on BNC media with an NE3200 board
at the other end without problems.

Known bugs and problems:
1. Although the DS21143 manual says that the RX frame descriptor size field
is 14 bits wide, the DS21041 seems to use only 11 bits. This means that
frames larger than 1518+2048 bytes can not be told apart from frames larger
than 1518 bytes but smaller than 2048 bytes. As a result, setting the MTU
larger than 3544 will cause problems.

Please report success or failure with this patch.

-- 
Regards,
Rask Ingemann Lambertsen

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

end of thread, other threads:[~2004-01-10 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-09 23:33 [PATCH] [EXPERIMENTAL] 2.6: de2104x.c jumbo frames, take two Rask Ingemann Lambertsen
2004-01-10 13:47 ` Rask Ingemann Lambertsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).