The problem is that there is no mechanism right now to report on the fly which optics the adapter actually has. So for the ones that can differ I had just chosen the most likely value.
If it REALLY bothers you you can change your local code :) When I get some higher priority issues off my plate I can look again at doing something dynamic. Jack On Thu, Jan 13, 2011 at 11:49 AM, <sth...@nethelp.no> wrote: > > > If it has an SFP+, won't the it be LR or SR depending on the type of > > > SFP+ installed? > > > > The card is *sold* and *advertised* by Intel as a 10GBase-LR card. It > > may well be the case that it would also work with a 10GBase-SR SFP+. > > I don't have one of these lying around to test, unfortunately. But I > > have indeed verified that the SFP+ in the card is a 1310 nm 10GBase-LR > > unit (specifically it's a Finisar FTLX1471D3BCV). > > > > As such, I believe the ixgbe code should either set the card type as > > 10GBase-LR (statically), since that's how the card is sold/delivered. > > Or it should include code to read the optics type from the SFP+. > > Thinking about this some more - I see there are also SR variants of the > same card: > > http://ark.intel.com/Product.aspx?id=39773 > http://ark.intel.com/Product.aspx?id=39774 > > In which case reading the optics type from the SFP, or having some kind > of config setting, is the only thing that makes sense IMHO. > > Having a 10GBase-LR card report 10GBase-SR is guaranteed to result in > misunderstandings... > > Steinar Haug, Nethelp consulting, sth...@nethelp.no > _______________________________________________ > 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"