From owner-freebsd-net@FreeBSD.ORG Fri Jul 22 16:32:05 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3106B1065672 for ; Fri, 22 Jul 2011 16:32:05 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D857C8FC19 for ; Fri, 22 Jul 2011 16:32:04 +0000 (UTC) Received: by vws18 with SMTP id 18so2391313vws.13 for ; Fri, 22 Jul 2011 09:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wGnwQeyr8b+vqxJ7dNrmSrBc9M4O0Gij1MzZC2nBLsk=; b=JE1bA/cZaqtijoFRiUNRFzsE/5utnKimDdgtbBjZwTo5godyysKasnT1HuPiGRSZaC RBMhJ4+4mgJwPxmPMjD11UMPZZH+R2kDCCcfNstV7dyq0X9zOfksjdDK35jEs5Nfg1To z13Ieh+9Gl46410+oLunBvAYdgjFg72Znh3kI= MIME-Version: 1.0 Received: by 10.52.175.229 with SMTP id cd5mr1865209vdc.197.1311352324127; Fri, 22 Jul 2011 09:32:04 -0700 (PDT) Received: by 10.52.187.66 with HTTP; Fri, 22 Jul 2011 09:32:04 -0700 (PDT) In-Reply-To: References: Date: Fri, 22 Jul 2011 09:32:04 -0700 Message-ID: From: Jack Vogel To: Ryan Stone Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, Ivan Alexandrovich Subject: Re: Ethernet link status on i82576 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 16:32:05 -0000 Correct, until you up the interface there are no interrupts enabled so you don't detect link change. Not a bug, linux is a different kettle of fish... Jack On Fri, Jul 22, 2011 at 8:08 AM, Ryan Stone wrote: > I notice that the interface not up in your test. If you ifconfig it > up does it detect that it has lost link? The driver isn't really > running anymore when you bring the link down -- interrupts are > disabled, for example, so it will never get a link down interrupt. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >