From owner-freebsd-net@FreeBSD.ORG Wed Jun 19 00:17:05 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F178F842 for ; Wed, 19 Jun 2013 00:17:05 +0000 (UTC) (envelope-from havenster@gmail.com) Received: from mail-pb0-x234.google.com (mail-pb0-x234.google.com [IPv6:2607:f8b0:400e:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id CF89C1D3B for ; Wed, 19 Jun 2013 00:17:05 +0000 (UTC) Received: by mail-pb0-f52.google.com with SMTP id xa12so4403847pbc.25 for ; Tue, 18 Jun 2013 17:17:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NO9jUIHbuoWzZEKexTODXieh63+pNULouL+16J2P3og=; b=YbjgU1kTgYr8gKZOIYY8en6JRz4x2FdWwsBHGvZqJQPGV9V4xee/+Yk7xqmxTW6kAy iK/X0HZjunahtvVHPzxE92r16bCcvpHBKFSx/SISPd+vbKEbCnRCHEOyMhmTifb9zrwN EdT+W3kgjq39Y+zu1qtQw4z1S144HyX3D0ilREEeWCpCtheU9yj7vLe4lcoNLzMfZwwZ vYalZzmjqFC9jqePZ80wHfp838fxGV5srl50VaTzt9W2Na8U8W8aMdaUFmhOWWNi5wPM AQ3EAAGPE1r+HMtqQi8BDiEzF06/n4rRzo/oFNKhR5TX+B5btGwrEfJoxOpIsZVvLEJ5 o/Qw== MIME-Version: 1.0 X-Received: by 10.66.26.231 with SMTP id o7mr4090263pag.207.1371600724782; Tue, 18 Jun 2013 17:12:04 -0700 (PDT) Received: by 10.70.46.106 with HTTP; Tue, 18 Jun 2013 17:12:04 -0700 (PDT) In-Reply-To: <51BF1843.30605@acm.poly.edu> References: <51BF1843.30605@acm.poly.edu> Date: Tue, 18 Jun 2013 17:12:04 -0700 Message-ID: Subject: Re: Unsupported AFBR-700SDZ SFP+ module with 82598EB 10-Gigabit AF Dual Port Network Connection From: Haven Hash To: Boris Kochergin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-net@freebsd.org" , =?ISO-8859-1?B?V2Vp3ywgSvxyZ2Vu?= X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 00:17:06 -0000 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 wrote= : > Thanks, but this does not work. > > ix0: > 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" >