public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bob Tracy <rct@gherkin.frus.com>
To: Valdis.Kletnieks@vt.edu
Cc: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: [BUG] dm9601 driver won't init device properly
Date: Sat, 24 Jul 2010 11:43:26 -0500	[thread overview]
Message-ID: <20100724164326.GA7686@gherkin.frus.com> (raw)
In-Reply-To: <93420.1279982681@localhost>

On Sat, Jul 24, 2010 at 10:44:41AM -0400, Valdis.Kletnieks@vt.edu wrote:
> On Fri, 23 Jul 2010 14:57:36 CDT, Bob Tracy said:
> > I've got one of the inexpensive Davicom DM9601 USB to fast Ethernet
> > devices, commonly available on eBay for under $10 including shipping.
> > It works fairly well in a WinXP environment with a MTU of 1000: 1500
> > and 1492 are confirmed not working, and values between 1000 and 1492
> > have not been tested at this point.
> 
> Wow. An "ethernet" card that won't do an MTU of 1500 even under Windows.  May I
> add this to my gallery of examples I use when people say "no vendor could
> *possibly* ship hardware that fscked up"? :)

You may :-), although I wouldn't assume the Windows driver is blameless.
At 100 Mbit/s, flow-control simply has to work if the device is USB 1.1.
According to the data sheet, there's a total of 16 kB of on-chip SRAM
available for buffering (oddly enough, the documentation indicates the
device *could* support up to 64 kB of SRAM).  Gotta shovel out that
stall quickly, and I suspect using a smaller MTU is simply giving an
inefficient driver more time to do that.  If I don't get tired of
messing around with this adapter, I may experiment a little to see what
happens when I lock the interface speed at 10 Mbit/s (instead of letting
it auto-sense).

Another respondent said MTU >= 1280 is required for IPv6, so I gave that
a try just to see if the floor could be raised a bit above 1000.  For
what it's worth, 1280 works.

--Bob

      parent reply	other threads:[~2010-07-24 16:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-23 19:57 [BUG] dm9601 driver won't init device properly Bob Tracy
2010-07-23 20:19 ` Bob Tracy
2010-07-24 14:44 ` Valdis.Kletnieks
2010-07-24 14:54   ` Chris Fowler
2010-07-24 16:43   ` Bob Tracy [this message]

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=20100724164326.GA7686@gherkin.frus.com \
    --to=rct@gherkin.frus.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    /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