From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 16 08:30:43 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49CC6370 for ; Sat, 16 Aug 2014 08:30:43 +0000 (UTC) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC6182E7B for ; Sat, 16 Aug 2014 08:30:42 +0000 (UTC) Received: from latte.bs.cs.huji.ac.il ([132.65.179.20] helo=mbpro2.bs.cs.huji.ac.il) by kabab.cs.huji.ac.il with esmtp id 1XIZNm-000LNn-So; Sat, 16 Aug 2014 11:30:39 +0300 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Mellanox 10gb driver? From: Daniel Braniss In-Reply-To: <53EF09DC.60601@selasky.org> Date: Sat, 16 Aug 2014 11:36:15 +0300 Message-Id: <8FD6967F-E130-4FBC-B93B-D5D508279E11@cs.huji.ac.il> References: <5FA0CF8C-2C93-4639-AA6C-40D3C278FE0F@cs.huji.ac.il> <53EDF13D.5050206@selasky.org> <0E7861FF-AB45-421F-8BA0-0EAD02B85AF0@cs.huji.ac.il> <3E7F3970-0541-402F-B855-EDA299B5BBC1@cs.huji.ac.il> <53EF0260.9030806@selasky.org> <7D49FD54-AA37-4F04-952E-5A07754762E5@cs.huji.ac.il> <53EF09DC.60601@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2014 08:30:43 -0000 On Aug 16, 2014, at 10:35 AM, Hans Petter Selasky = wrote: > On 08/16/14 09:32, Daniel Braniss wrote: >>=20 >> On Aug 16, 2014, at 10:04 AM, Hans Petter Selasky = wrote: >>=20 >>> On 08/16/14 09:02, Daniel Braniss wrote: >>>>=20 >>>> On Aug 16, 2014, at 9:53 AM, Daniel Braniss = wrote: >>>>=20 >>>>>=20 >>>>> On Aug 15, 2014, at 2:38 PM, Hans Petter Selasky = wrote: >>>>>=20 >>>>>> On 08/15/14 12:55, Daniel Braniss wrote: >>>>>>> hi all, >>>>>>> any idea if there is/will be a driver for: >>>>>>>=20 >>>>>>> none3@pci0:5:0:0: class=3D0x020000 card=3D0x005515b3 = chip=3D0x100315b3 rev=3D0x00 hdr=3D0x00 >>>>>>> vendor =3D 'Mellanox Technologies' >>>>>>> device =3D 'MT27500 Family [ConnectX-3]' >>>>>>> class =3D network >>>>>>> subclass =3D ethernet >>>>>>>=20 >>>>>>=20 >>>>>> Hi, >>>>>>=20 >>>>>> If you build the kernel using MK_OFED=3Dyes, your hardware is = supported by the following modules: >>>>>>=20 >>>>>> .if ${MK_OFED} !=3D "no" || defined(ALL_MODULES) >>>>>> _mlx4=3D mlx4 >>>>>> _mlx4ib=3D mlx4ib >>>>>> _mlxen=3D mlxen >>>>>> _mthca=3D mthca >>>>>> .endif >>>>>>=20 >>>>>> You need to run latest -stable due to some compile issues which = have been fixed. >>>>>>=20 >>>>>> =97HPS >>>>>=20 >>>>> hi, >>>>>=20 >>>>> I added WITH_MK_OFED=3Dyes to the latest stable but no joy, it=92s = sill reported as none. >>>>> is there some magic that i=92m missing? >>>>> thanks, >>>>> danny >>>>=20 >>>> some more info, if it helps: >>>>=20 >>>> pcib5: at device 6.0 on pci0 >>>> pcib0: allocated type 3 (0xdf200000-0xdf3fffff) for rid 20 of pcib5 >>>> pcib0: allocated type 3 (0xd5000000-0xd57fffff) for rid 24 of pcib5 >>>> pcib5: domain 0 >>>> pcib5: secondary bus 5 >>>> pcib5: subordinate bus 5 >>>> pcib5: memory decode 0xdf200000-0xdf3fffff >>>> pcib5: prefetched decode 0xd5000000-0xd57fffff >>>> pcib5: special decode ISA >>>> pci5: on pcib5 >>>> pci5: domain=3D0, physical bus=3D5 >>>> found-> vendor=3D0x15b3, dev=3D0x1003, revid=3D0x00 >>>> domain=3D0, bus=3D5, slot=3D0, func=3D0 >>>> class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 >>>> cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D16 (dwords) >>>> lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 = (0 ns) >>>> intpin=3Da, irq=3D15 >>>> powerspec 3 supports D0 D3 current D0 >>>> MSI-X supports 128 messages in map 0x10 >>>> map[10]: type Memory, range 64, base 0xdf300000, size 20, = enabled >>>> pcib5: allocated memory range (0xdf300000-0xdf3fffff) for rid 10 of = pci0:5:0:0 >>>> map[18]: type Prefetchable Memory, range 64, base = 0xd5000000, size 23, enabled >>>> pcib5: allocated prefetch range (0xd5000000-0xd57fffff) for rid 18 = of pci0:5:0:0 >>>> pcib5: matched entry for 5.0.INTA >>>> pcib5: slot 0 INTA hardwired to IRQ 35 >>>> pci5: at device 0.0 (no driver attached) >>>=20 >>> Hi, >>>=20 >>> Did you "kldload mlxen" ? >>>=20 >>> --HPS >>>=20 >>=20 >> im running 9.3 stable, is this for 10? >=20 > No, look in: >=20 > sys/modules/mlxen >=20 I solved the puzzle! added options OFED device mlxen device mlx4ib device mthca to my kernel config and that did it - not sure the last 2 are needed. now to connect and check, but that will have to wait till tomorrow. thanks, danny > --HPS