kern/165399: turn off port on SWITCH do not change status of igb

Jack Vogel jfvogel at gmail.com
Thu Feb 23 23:34:59 UTC 2012


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 Коньков Евгений <kes-kes at yandex.ru>

> Здравствуйте, Jack.
>
> Вы писали 22 февраля 2012 г., 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 at intel.com>
> VJ> To: "bug-followup at FreeBSD.org" <bug-followup at FreeBSD.org>, "
> kes-kes at yandex.ru"
> VJ>         <kes-kes at yandex.ru>
> VJ> Cc:
> VJ> Subject: Re: kern/165399: turn off port on SWITCH do not change status
> of igb
> VJ> Date: Wed, 22 Feb 2012 20:07:34 +0000
>
> VJ>  --_000_BC1B13FD0226B0479C795193AC1B257204574EORSMSX104amrcorpi_
> VJ>  Content-Type: text/plain; charset="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=
> VJ>  ace up interrupts are not enabled, hence there is no way to see and
> respond=
> VJ>   to the link change event. If you bring the port up just by doing an
> `ifcon=
> 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)
>
>
> --
> С уважением,
>  Коньков                          mailto:kes-kes at yandex.ru
>
> _______________________________________________
> freebsd-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"
>


More information about the freebsd-bugs mailing list