netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rask Ingemann Lambertsen <rask@sygehus.dk>
To: netdev@oss.sgi.com, linux-net@vger.kernel.org
Cc: jgarzik@pobox.com
Subject: [PATCH] [EXPERIMENTAL] 2.6: de2104x.c jumbo frames, take two
Date: Sat, 10 Jan 2004 00:33:07 +0100	[thread overview]
Message-ID: <20040110003304.A3788@sygehus.dk> (raw)

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

             reply	other threads:[~2004-01-09 23:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-09 23:33 Rask Ingemann Lambertsen [this message]
2004-01-10 13:47 ` [PATCH] [EXPERIMENTAL] 2.6: de2104x.c jumbo frames, take two Rask Ingemann Lambertsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040110003304.A3788@sygehus.dk \
    --to=rask@sygehus.dk \
    --cc=jgarzik@pobox.com \
    --cc=linux-net@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).