mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: arjan@fenrus.demon.nl
To: rmk@arm.linux.org.uk (Russell King)
Cc: linux-kernel@vger.kernel.org
Subject: Re: 3C905b partial  lockup in 2.4.5-pre5 and up to 2.4.6-pre1
Date: Sun, 10 Jun 2001 10:39:43 +0100 (BST)	[thread overview]
Message-ID: <m1591h9-000OpFC@amadeus.home.nl> (raw)
In-Reply-To: <20010610093838.A13074@flint.arm.linux.org.uk>

In article <20010610093838.A13074@flint.arm.linux.org.uk> you wrote:
> Is this a change of requirements for ethernet drivers?  Many other drivers
> do exactly the same (drop the first few packets while they're negotiating
> with a hub), unless they're using 10base2, even back to the days of 2.0
> kernels.

I think it would make sense, from the other sides perspective, to only return 
from the "up" function when you actually can send packets[1]. Sure, pump show
this most of all because it does

"up"
send DHCP req
wait
if failed "down"
	  wait
	  repeat


and that sucks if you always eat the first packets after an up...

xircom had this bug for a loooong time, 8139too just got it a few weeks ago
and, well, from an applications point of view expecting to be able to send
packets when the interface is up makes sense.

Applications like pump must be robust against "random" packetloss, and,
well, pump is. Just not against the "targeted" packetloss of loosing every
first few packets.

Greetings,
   Arjan van de Ven


[1] I know this is not always easy for the driverwrite. For one, xircom
    will eat every first few packets, so the driver would have to send a few
    fake packets to get going.

  reply	other threads:[~2001-06-10  9:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-09 17:45 Glenn C. Hofmann
2001-06-10  1:35 ` Andrew Morton
2001-06-10  4:56   ` Glenn C. Hofmann
2001-06-10  5:08   ` Glenn C. Hofmann
2001-06-10  5:54   ` Ben LaHaise
2001-06-10  8:38     ` Russell King
2001-06-10  9:39       ` arjan [this message]
2001-06-10 16:06       ` Ben LaHaise
2001-06-10 16:34         ` Russell King
2001-06-10 16:47           ` Jeff Garzik
2001-06-10 22:23             ` Ben LaHaise
2001-06-11  3:17             ` Glenn C. Hofmann
2001-06-11  3:25               ` Jeff Garzik
2001-06-12  3:17                 ` Glenn C. Hofmann
2001-06-11  0:53           ` David S. Miller
2001-06-11 13:03             ` Andrew Morton
2001-06-11 13:27             ` David S. Miller
2001-06-11 13:49               ` Jeff Garzik
2001-06-11 14:21                 ` Andrew Morton
2001-06-11 16:05                   ` Jeff Garzik

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=m1591h9-000OpFC@amadeus.home.nl \
    --to=arjan@fenrus.demon.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    /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

all inboxes | Powered by JetHome®