Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266266AbUAIBBZ (ORCPT ); Thu, 8 Jan 2004 20:01:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266374AbUAIBBM (ORCPT ); Thu, 8 Jan 2004 20:01:12 -0500 Received: from ip214-49.coastside.net ([207.213.214.33]:11475 "EHLO jlundell.local") by vger.kernel.org with ESMTP id S266266AbUAIBBE (ORCPT ); Thu, 8 Jan 2004 20:01:04 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <20040109004525.GB545@alpha.home.local> References: <20040107200556.0d553c40.skraw@ithnet.com> <20040107210255.GA545@alpha.home.local> <3FFCC430.4060804@candelatech.com> <20040108091441.3ff81b53.skraw@ithnet.com> <20040108084758.GB9050@alpha.home.local> <20040109004525.GB545@alpha.home.local> Date: Thu, 8 Jan 2004 17:00:42 -0800 To: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org From: Jonathan Lundell Subject: Re: Problem with 2.4.24 e1000 and keepalived Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1223 Lines: 27 At 1:45am +0100 1/9/04, Willy Tarreau wrote: > > It's unfortunate that the two conditions are conflated by most net drivers. > >IMHO, saying "most net drivers" is unfair : tg3, tulip, 3c59x, starfire, >realtek, sis900, dl2k, pcnet32, and IIRC sunhme are OK. eepro100 is nearly >OK but has this annoying bug, and only older 10 Mbps drivers don't report >their status, often because the chip itself doesn't know. I'm sure you're right; I should have said most of the drivers that I'm using (including e100 &e1000). My impression, though, is that there's a trend to use netif_carrier_ok() to check the link in newish drivers (of course, it's author-choice, not universal), and that the netif_carrier_ok() is generally implemented to be dependent on the interface being (logically) up. It'd be nice if we could define link state reporting to be independent of logical up/down state, at least for drivers & devices capable of making the distinction. -- /Jonathan Lundell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/