netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: jamal <hadi@cyberus.ca>
Cc: netdev@oss.sgi.com
Subject: Re: Patch: link state notification for 2.5.41
Date: Sat, 12 Oct 2002 08:10:49 -0700	[thread overview]
Message-ID: <3DA83B79.3060302@pacbell.net> (raw)
In-Reply-To: Pine.GSO.4.30.0210120857550.23509-100000@shell.cyberus.ca

[ CCs trimmed ]


> BTW, did you ping the USB people on notPresent? At least one of them i
> think participated in that discussion.

That was likely me.  :)


> -Anyway, I wanted to keep the current semantics of
> netif_carrier_on()/_off(). The extended states that can be found RFC2863
> did not seem to useful to me for linux, mainly because "notPresent" is
> already implemented with netif_device_detach()/_attach() and especially
> for ethernet drivers there is no real difference between "testing" and
> "down".

The "link active" issue for hotplug is perhaps just that while userspace
sees /sbin/hotplug notifications when network interfaces are registered
or unregistered, the right time to autoconfigure is actually when the
link connects to a net ... or reconnects to a different one.  So we
really want (hotplug) events other than link register/unregister.  (And
some systems will want the events through a daemon instead.)

So long as there's a clean way to generate such events, and to use them
to trigger autoconfiguration, my basic concern is addressed.  Delivery
issues should be a lot easier to resolve.  I think I mentioned the
notPresent bit purely as an RFC conformance issue, since I was trying
to make sense of what the kernel code was expected/intended to do.

- Dave

      reply	other threads:[~2002-10-12 15:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11 23:51 Patch: link state notification for 2.5.41 Stefan Rompf
2002-10-12 13:09 ` jamal
2002-10-12 15:10   ` David Brownell [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=3DA83B79.3060302@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=hadi@cyberus.ca \
    --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).