All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Bogdan Costescu <bogdan.costescu@iwr.uni-heidelberg.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Pete Zaitcev <zaitcev@redhat.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	netdev@oss.sgi.com
Subject: Re: [PATCH] support for Cobalt Networks (x86 only) systems (forrealthis
Date: Fri, 01 Jun 2001 09:15:37 -0400	[thread overview]
Message-ID: <3B179579.F9C9C721@mandrakesoft.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0106011503030.18082-100000@kenzo.iwr.uni-heidelberg.de>

Bogdan Costescu wrote:
> No way! If I implement a HA application which depends on link status, I
> want the info to be accurate, I don't want to know that 30 seconds ago I
> had good link.

To tangent a little bit, and add netdev to the CC...

The loss and regain of link status should be proactively signalled to
userspace using netlink or something similar.  Currently we have
netif_carrier_{on,off,ok} but it is only passively checked. 
netif_carrier_{on,off} should probably schedule_task() to fire off a
netlink message...

For your HA application specifically, right now, I would suggest making
sure your net driver calls netif_carrier_xxx correctly, then checking
for IFF_RUNNING interface flag.  IFF_RUNNING will disappear if the
interface is up, but there is no carrier [as according to
netif_carrier_ok].

-- 
Jeff Garzik      | Disbelief, that's why you fail.
Building 1024    |
MandrakeSoft     |

  reply	other threads:[~2001-06-01 13:15 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-01  2:47 [PATCH] support for Cobalt Networks (x86 only) systems (for real this time) Tim Hockin
2001-06-01  8:10 ` Jeff Garzik
2001-06-01  8:46 ` [PATCH] support for Cobalt Networks (x86 only) systems (for real this Alan Cox
     [not found] ` <mailman.991383180.28261.linux-kernel2news@redhat.com>
2001-06-01  8:58   ` [PATCH] support for Cobalt Networks (x86 only) systems (for real this time) Pete Zaitcev
2001-06-01 12:03     ` Bogdan Costescu
2001-06-01 12:20       ` [PATCH] support for Cobalt Networks (x86 only) systems (for realthis time) Jeff Garzik
2001-06-01 12:51         ` [PATCH] support for Cobalt Networks (x86 only) systems (for realthis Alan Cox
2001-06-01 12:56           ` Jeff Garzik
2001-06-01 12:58             ` Alan Cox
2001-06-01 13:06               ` Bogdan Costescu
2001-06-01 13:15                 ` Jeff Garzik [this message]
2001-06-01 13:19                   ` [PATCH] support for Cobalt Networks (x86 only) systems (forrealthis David S. Miller
2001-06-01 14:02                     ` Bogdan Costescu
2001-06-01 13:39                   ` Bogdan Costescu
2001-06-01 14:14                     ` jamal
2001-06-01 14:30                       ` Bogdan Costescu
2001-06-02 14:49                         ` jamal
2001-06-03 12:09                           ` Bogdan Costescu
2001-06-04 18:43                             ` Jeff Garzik
2001-06-04 19:08                             ` jamal
2001-06-01 14:19                 ` [PATCH] support for Cobalt Networks (x86 only) systems (for Alan Cox
2001-06-01 14:37                   ` Mark Frazer
2001-06-01 14:37                     ` Alan Cox
2001-06-01 14:45                       ` Mark Frazer
2001-06-01 14:46                       ` Bogdan Costescu
2001-06-01 17:37                     ` Alan Cox
2001-06-02  8:20                       ` Bogdan Costescu
2001-06-02 16:15                         ` Alan Cox
2001-06-02 19:10                           ` MII access (was [PATCH] support for Cobalt Networks (x86 only) systems) Bogdan Costescu
2001-06-02 19:25                             ` MII access (was [PATCH] support for Cobalt Networks (x86 only) Alan Cox
2001-06-02 21:36                               ` Bogdan Costescu
2001-06-02 21:37                                 ` Alan Cox
2001-06-03 11:59                                   ` Bogdan Costescu
2001-06-03 12:11                                     ` Jeff Garzik
2001-06-05  9:07                                       ` Bogdan Costescu
2001-06-10  2:07                                         ` eepro100 security fix [was: Re: MII access] Andrey Savochkin
2001-06-01 15:13                   ` [PATCH] support for Cobalt Networks (x86 only) systems (for Bogdan Costescu
2001-06-02 22:04               ` [PATCH] support for Cobalt Networks (x86 only) systems (for realthis Jamie Lokier

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=3B179579.F9C9C721@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=bogdan.costescu@iwr.uni-heidelberg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=zaitcev@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.