Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2013 17:12:04 -0700
From:      Haven Hash <havenster@gmail.com>
To:        Boris Kochergin <spawk@acm.poly.edu>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, =?ISO-8859-1?B?V2Vp3ywgSvxyZ2Vu?= <weiss@uni-mainz.de>
Subject:   Re: Unsupported AFBR-700SDZ SFP+ module with 82598EB 10-Gigabit AF Dual Port Network Connection
Message-ID:  <CAMUJtRO=PGvjMPQv_JQrz7q5JgCtz2645j_bkiOtjv%2Bw6FZk6g@mail.gmail.com>
In-Reply-To: <51BF1843.30605@acm.poly.edu>
References:  <D6240E9DA4CE444399B1D9D8A57CBDD988E18919@E14MDB-02.zdv.Uni-Mainz.DE> <51BF1843.30605@acm.poly.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
I believe there are two checks, one for Intel specific SFP modules (as some
cards have their EEPROM's configured to only accept Intel branded optics),
which this patch deals with, and another separate check for supported SFP's
which is not addressed by this. Support SFP's include adapters from Finisar
and a few other vendors, there's probably a list somewhere, but it does not
include various types of Twinax cable (which will work if you load the
driver then insert the cable, but the driver will refuse to create the
interfaces if the cable is plugged in at the time it loads).

I believe Jack is going to try and make these checks optional sometime in
the future so you can try and use any SFP like with the Chelsio cards.


On Mon, Jun 17, 2013 at 7:08 AM, Boris Kochergin <spawk@acm.poly.edu> wrote=
:

> Thanks, but this does not work.
>
> ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.8>
> port 0xece0-0xecff mem
> 0xdf360000-0xdf37ffff,0xdf3c0000-0xdf3fffff,0xdf33c000-0xdf33ffff irq 45
> at device 0.1 on pci6
> ix0: Using MSIX interrupts with 9 vectors
> ix0: Unsupported SFP+ Module
> ix0: Hardware Initialization Failure
> device_attach: ix0 attach returned 5
>
> -Boris
>
> On 06/09/13 13:42, Wei=DF, J=FCrgen wrote:
> > With the following patch the ixgbe (ix) driver
> > accepts any SFP.
> >
> >
> > --- ixgbe_phy.c.orig        2012-10-01 18:38:31.000000000 +0200
> > +++ ixgbe_phy.c 2012-11-13 16:23:18.650609931 +0100
> > @@ -1186,6 +1186,7 @@
> >                 }
> >
> >                 ixgbe_get_device_caps(hw, &enforce_sfp);
> > +               enforce_sfp |=3D IXGBE_DEVICE_CAPS_ALLOW_ANY_SFP;
> >                 if (!(enforce_sfp & IXGBE_DEVICE_CAPS_ALLOW_ANY_SFP) &&
> >                     !((hw->phy.sfp_type =3D=3D ixgbe_sfp_type_1g_cu_cor=
e0) ||
> >                       (hw->phy.sfp_type =3D=3D ixgbe_sfp_type_1g_cu_cor=
e1) ||
> >
> >
> > Regards
> >
> > Juergen
> >
> > Juergen Weiss      |Universitaet Mainz, Zentrum fuer Datenverarbeitung,
> > weiss@uni-mainz.de |55099 Mainz, Tel: +49(6131)39-26361, FAX:
> +49(6131)39-26407
> >
> _______________________________________________
> 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?CAMUJtRO=PGvjMPQv_JQrz7q5JgCtz2645j_bkiOtjv%2Bw6FZk6g>