From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 23 23:34:59 2012 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77118106566C for ; Thu, 23 Feb 2012 23:34:59 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id F13308FC08 for ; Thu, 23 Feb 2012 23:34:58 +0000 (UTC) Received: by werm13 with SMTP id m13so1663846wer.13 for ; Thu, 23 Feb 2012 15:34:58 -0800 (PST) Received-SPF: pass (google.com: domain of jfvogel@gmail.com designates 10.216.131.210 as permitted sender) client-ip=10.216.131.210; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jfvogel@gmail.com designates 10.216.131.210 as permitted sender) smtp.mail=jfvogel@gmail.com; dkim=pass header.i=jfvogel@gmail.com Received: from mr.google.com ([10.216.131.210]) by 10.216.131.210 with SMTP id m60mr176113wei.47.1330040098103 (num_hops = 1); Thu, 23 Feb 2012 15:34:58 -0800 (PST) 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=8PsP4A10dGxniUNEr9KTAPI7Lckn+5upetX/sNzWkJ4=; b=YEK9TY9DJPwwQM2FwRoU8UDDxTU9OpwMH7d0QkoJw9kS7NXODBjobEHtCynn25wdCH EAFpoz8rdfUnOT4sdz8eKOVd1SZdQ8agMVcRmQShVGOR8Fde+A8j18nT4UZDuGqUCKDw 6YX+ZuwHluAReiJiNaPKU5At3iqxBs/nJNycw= MIME-Version: 1.0 Received: by 10.216.131.210 with SMTP id m60mr114724wei.47.1330038603562; Thu, 23 Feb 2012 15:10:03 -0800 (PST) Received: by 10.180.102.97 with HTTP; Thu, 23 Feb 2012 15:10:03 -0800 (PST) In-Reply-To: <666251870.20120223194701@yandex.ru> References: <201202222040.q1MKe7ft065290@freefall.freebsd.org> <666251870.20120223194701@yandex.ru> Date: Thu, 23 Feb 2012 15:10:03 -0800 Message-ID: From: Jack Vogel To: =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-bugs@freebsd.org, "Vogel, Jack" Subject: Re: Re[2]: kern/165399: turn off port on SWITCH do not change status of igb X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 23:34:59 -0000 When the driver is loaded it looks at the link state just once, I did this as sort of a compromise, it will set the state based on what it sees at that time, but no changes to hardware state will be noticed from that point on until interrupts are enabled. Regards, Jack 2012/2/23 =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE=C9=CA > =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5, Jack. > > =F7=D9 =D0=C9=D3=C1=CC=C9 22 =C6=C5=D7=D2=C1=CC=D1 2012 =C7., 22:40:07: > > VJ> The following reply was made to PR kern/165399; it has been noted by > GNATS. > > VJ> From: "Vogel, Jack" > VJ> To: "bug-followup@FreeBSD.org" , " > kes-kes@yandex.ru" > VJ> > VJ> Cc: > VJ> Subject: Re: kern/165399: turn off port on SWITCH do not change statu= s > of igb > VJ> Date: Wed, 22 Feb 2012 20:07:34 +0000 > > VJ> --_000_BC1B13FD0226B0479C795193AC1B257204574EORSMSX104amrcorpi_ > VJ> Content-Type: text/plain; charset=3D"us-ascii" > VJ> Content-Transfer-Encoding: quoted-printable > VJ> > VJ> This is not a bug, it's a side-effect of design. Until you bring the > interf=3D > VJ> ace up interrupts are not enabled, hence there is no way to see and > respond=3D > VJ> to the link change event. If you bring the port up just by doing an > `ifcon=3D > VJ> fig igbX up` and try it again you'll see the status will change. > > Ok, I agree with that that port do no reacion until it is 'UP' > but why it do reaction when port on switch is turned ON? > SW PORT is OFF ----------- status link is no carrier > > SW PORT is ON ----------- status link is active > (why react despite on interrupts is off???) > SW PORT is OFF ----------- status link is active > (do not react because of interrupts is off) > > > -- > =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, > =EB=CF=CE=D8=CB=CF=D7 mailto:kes-kes@yandex.ru > > _______________________________________________ > freebsd-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" >