From owner-freebsd-net@FreeBSD.ORG Mon Jul 25 15:32:33 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 A65771065758 for ; Mon, 25 Jul 2011 15:32:33 +0000 (UTC) (envelope-from bhutchings@solarflare.com) Received: from exchange.solarflare.com (exchange.solarflare.com [216.237.3.220]) by mx1.freebsd.org (Postfix) with ESMTP id 83A2F8FC15 for ; Mon, 25 Jul 2011 15:32:33 +0000 (UTC) Received: from [10.11.1.192] ([78.28.140.4]) by exchange.solarflare.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 25 Jul 2011 08:20:32 -0700 From: Ben Hutchings To: Ivan Alexandrovich In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Organization: Solarflare Communications Date: Mon, 25 Jul 2011 17:20:25 +0200 Message-ID: <1311607225.4301.69.camel@deadeye> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jul 2011 15:20:33.0088 (UTC) FILETIME=[655FE400:01CC4ADE] X-TM-AS-Product-Ver: SMEX-8.0.0.1181-6.500.1024-18282.005 X-TM-AS-Result: No--21.768000-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Cc: freebsd-net@freebsd.org, Ryan Stone 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: Mon, 25 Jul 2011 15:32:33 -0000 On Mon, 2011-07-25 at 16:38 +0700, Ivan Alexandrovich wrote: > On Fri, 22 Jul 2011 11:08:18 -0400 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? > > Thank you. When the interface is "up" driver works as expected. It's common behaviour that the physical link status is not (easily) available while the interface is down. In Linux we resolved that when an interface is down its link state is always reported as down (where we have to give a boolean answer). Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.