Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 2010 15:56:50 -0800
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Jack Vogel <jfvogel@gmail.com>
Cc:        freebsd-net <freebsd-net@freebsd.org>, Eugene Grosbein <egrosbein@rdtc.ru>, Mike Tancsa <mike@sentex.net>
Subject:   Re: Problem with igb(4) updated to version 2.0.7
Message-ID:  <20101204235650.GA1489@michelle.cdnetworks.com>
In-Reply-To: <AANLkTin7hfqqwkudNHhrsyS_O7_-PCXffAWT1N85i31f@mail.gmail.com>
References:  <AANLkTi=LgejYxRXnxLtkvB-Qfp2u%2BtySdriWHfGWPQjL@mail.gmail.com> <20101128081617.GA90332@zibbi.meraka.csir.co.za> <AANLkTinF1fovumkeXxWgaKi_bNiUCnqgWAtdaCaXELzO@mail.gmail.com> <4CF73A2C.7000802@rdtc.ru> <4CF89EE7.8020807@rdtc.ru> <AANLkTi=6N3Rz57YVNF1ZiDGEexnEXWr6oNPz9F=c2GpA@mail.gmail.com> <4CF93A77.30804@rdtc.ru> <4CF9470F.4020709@sentex.net> <4CF947D4.10504@rdtc.ru> <AANLkTin7hfqqwkudNHhrsyS_O7_-PCXffAWT1N85i31f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 03, 2010 at 02:00:08PM -0800, Jack Vogel wrote:
> There are pros and cons either way you do things. I was talking to some of
> our
> Linux crew, they recently changed things so it would shut down the phy, but
> that
> doesn't always make everyone happy either.
> 
> Just saying that my FreeBSD drivers have not done so forever :)
> 

I also think powering down the PHY when interface is down is not
good idea in most cases but administrators is able to do that by
choosing 'none' media for drivers which use mii(4). For example,
#ifconfig foo0 media none

will power down the PHY. Of course igb(4) is not aware of mii(4) so
the command above does not work at this moment.

> Jack
> 
> 
> On Fri, Dec 3, 2010 at 11:41 AM, Eugene Grosbein <egrosbein@rdtc.ru> wrote:
> 
> > On 04.12.2010 01:37, Mike Tancsa wrote:
> >
> > >> Now I see, thanks.
> > >>
> > >> Is it technically possible to bring link down
> > >> for distinct port of dual-port em/igb-supported NICs using software?
> > >>
> > >> If yes, I'd like to patch my source tree.
> > >> For EtherChannel this kind of management should be possible.
> > >
> > >
> > > If your switch port's speed and duplex are manual, change the media
> > > options on the NIC to something like 10 half. The switch should see the
> > > port "down" then.
> >
> > Yes, but switches are not always at my control and one may be in auto mode.
> >
> > Eugene Grosbein
> > _______________________________________________
> > 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"
> >
> _______________________________________________
> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101204235650.GA1489>