From owner-freebsd-net@FreeBSD.ORG Wed Jun 19 05:55:44 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 85698DCC for ; Wed, 19 Jun 2013 05:55:44 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [IPv6:2607:f8b0:400c:c01::230]) by mx1.freebsd.org (Postfix) with ESMTP id 436A01B18 for ; Wed, 19 Jun 2013 05:55:44 +0000 (UTC) Received: by mail-ve0-f176.google.com with SMTP id c13so3757888vea.35 for ; Tue, 18 Jun 2013 22:55:43 -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=JeHqhEBIbDYRorHnvhNMWJD+k0dohMMZaLHOCflfbCw=; b=BO1Lr+7BgD8aB+6KOaEPqvGhkEu7F9UfPAo+1iKqRHVkhytLB/Cw1C9hnmSEG7sGJQ 1bdpZmBEzkSTtOpe0AwWxL2VYkvE4RtcxBAl71I/PPsWCzjIlPxRCleFmUr9Lzx6UKAa ifRk0Ir85BmrRTjPeSXcoF13lfCorNIqYQdbuPpUVSL3XUUH8pNlxf/7xw0KU7R3KY/o VsgLLzvisaCeTzmcjDfSqtrC+PEuxDTKE3sHufSXvcy1mekKYZ1+fZBj+XOKFzAIPn9I i/CawDw3/eIWcqfk9T2FAHjzQnCLr+KU290VmaDA1NTffQhvOkY9IFpuCGlZQJzLI0b3 Gp0w== MIME-Version: 1.0 X-Received: by 10.220.159.208 with SMTP id k16mr155494vcx.92.1371621343662; Tue, 18 Jun 2013 22:55:43 -0700 (PDT) Received: by 10.220.52.200 with HTTP; Tue, 18 Jun 2013 22:55:43 -0700 (PDT) In-Reply-To: References: <51BF1843.30605@acm.poly.edu> Date: Tue, 18 Jun 2013 22:55:43 -0700 Message-ID: Subject: Re: Unsupported AFBR-700SDZ SFP+ module with 82598EB 10-Gigabit AF Dual Port Network Connection From: Jack Vogel To: Haven Hash 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?= , Boris Kochergin 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 05:55:44 -0000 A new version of ixgbe was committed this afternoon, 2.5.13, it now has a compile-time option of using unsupported optics. Keep in mind that if you have issues I'm going to ask if it can be reproduced with supported optics as a first step :) Cheers, Jack On Tue, Jun 18, 2013 at 5:12 PM, Haven Hash wrote: > I believe there are two checks, one for Intel specific SFP modules (as so= me > 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 Finis= ar > and a few other vendors, there's probably a list somewhere, but it does n= ot > 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 4= 5 > > 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_c= ore0) > || > > > (hw->phy.sfp_type =3D=3D ixgbe_sfp_type_1g_cu_c= ore1) > || > > > > > > > > > Regards > > > > > > Juergen > > > > > > Juergen Weiss |Universitaet Mainz, Zentrum fuer Datenverarbeitun= g, > > > 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" > > > _______________________________________________ > 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" >