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 <egrosb...@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-unsubscr...@freebsd.org"
> >
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to