Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2012 15:10:03 -0800
From:      Jack Vogel <jfvogel@gmail.com>
To:        =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= <kes-kes@yandex.ru>
Cc:        freebsd-bugs@freebsd.org, "Vogel, Jack" <jack.vogel@intel.com>
Subject:   Re: Re[2]: kern/165399: turn off port on SWITCH do not change status of igb
Message-ID:  <CAFOYbcnJxk%2BJ6L4U2pwi9AkSpOmLag1QmxU%2BCLumvdXN%2BUeZVA@mail.gmail.com>
In-Reply-To: <666251870.20120223194701@yandex.ru>
References:  <201202222040.q1MKe7ft065290@freefall.freebsd.org> <666251870.20120223194701@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kes-kes@yandex.ru>

> =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" <jack.vogel@intel.com>
> VJ> To: "bug-followup@FreeBSD.org" <bug-followup@FreeBSD.org>, "
> kes-kes@yandex.ru"
> VJ>         <kes-kes@yandex.ru>
> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFOYbcnJxk%2BJ6L4U2pwi9AkSpOmLag1QmxU%2BCLumvdXN%2BUeZVA>