From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 16 07:03:44 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 98615243 for ; Sat, 16 Aug 2014 07:03:44 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A3892689 for ; Sat, 16 Aug 2014 07:03:44 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 0E8B21FE027; Sat, 16 Aug 2014 09:03:41 +0200 (CEST) Message-ID: <53EF0260.9030806@selasky.org> Date: Sat, 16 Aug 2014 09:04:00 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Daniel Braniss Subject: Re: Mellanox 10gb driver? 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> In-Reply-To: <3E7F3970-0541-402F-B855-EDA299B5BBC1@cs.huji.ac.il> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 07:03:44 -0000 On 08/16/14 09:02, Daniel Braniss wrote: > > On Aug 16, 2014, at 9:53 AM, Daniel Braniss wrote: > >> >> On Aug 15, 2014, at 2:38 PM, Hans Petter Selasky wrote: >> >>> On 08/15/14 12:55, Daniel Braniss wrote: >>>> hi all, >>>> any idea if there is/will be a driver for: >>>> >>>> none3@pci0:5:0:0: class=0x020000 card=0x005515b3 chip=0x100315b3 rev=0x00 hdr=0x00 >>>> vendor = 'Mellanox Technologies' >>>> device = 'MT27500 Family [ConnectX-3]' >>>> class = network >>>> subclass = ethernet >>>> >>> >>> Hi, >>> >>> If you build the kernel using MK_OFED=yes, your hardware is supported by the following modules: >>> >>> .if ${MK_OFED} != "no" || defined(ALL_MODULES) >>> _mlx4= mlx4 >>> _mlx4ib= mlx4ib >>> _mlxen= mlxen >>> _mthca= mthca >>> .endif >>> >>> You need to run latest -stable due to some compile issues which have been fixed. >>> >>> —HPS >> >> hi, >> >> I added WITH_MK_OFED=yes to the latest stable but no joy, it’s sill reported as none. >> is there some magic that i’m missing? >> thanks, >> danny > > some more info, if it helps: > > 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=0, physical bus=5 > found-> vendor=0x15b3, dev=0x1003, revid=0x00 > domain=0, bus=5, slot=0, func=0 > class=02-00-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=15 > 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) Hi, Did you "kldload mlxen" ? --HPS