Re: ixgbe ifmedia handling

2014-10-22 Thread Eric Joyner
Hi, On Wed, Oct 22, 2014 at 3:43 AM, Alexander V. Chernikov < melif...@freebsd.org> wrote: > There is a problem with correct media reporting in ixgbe: > > ixgbe_setup_optics() is called only at ixgbe_attach(). > This means that: > 1) if SFP slot was empty at the attach() time, "media" part will b

ixgbe ifmedia handling

2014-10-22 Thread Alexander V. Chernikov
There is a problem with correct media reporting in ixgbe: ixgbe_setup_optics() is called only at ixgbe_attach(). This means that: 1) if SFP slot was empty at the attach() time, "media" part will be set to adapter->optics = IFM_ETHER | IFM_AUTO; e.g. after attaching SFP status will look like