Mellanox 10gb driver?
Daniel Braniss
danny at cs.huji.ac.il
Sat Aug 16 08:30:43 UTC 2014
On Aug 16, 2014, at 10:35 AM, Hans Petter Selasky <hps at selasky.org> wrote:
> On 08/16/14 09:32, Daniel Braniss wrote:
>>
>> On Aug 16, 2014, at 10:04 AM, Hans Petter Selasky <hps at selasky.org> wrote:
>>
>>> On 08/16/14 09:02, Daniel Braniss wrote:
>>>>
>>>> On Aug 16, 2014, at 9:53 AM, Daniel Braniss <danny at cs.huji.ac.il> wrote:
>>>>
>>>>>
>>>>> On Aug 15, 2014, at 2:38 PM, Hans Petter Selasky <hps at selasky.org> wrote:
>>>>>
>>>>>> On 08/15/14 12:55, Daniel Braniss wrote:
>>>>>>> hi all,
>>>>>>> any idea if there is/will be a driver for:
>>>>>>>
>>>>>>> none3 at 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: <ACPI PCI-PCI bridge> 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: <ACPI PCI bus> 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: <network, ethernet> at device 0.0 (no driver attached)
>>>
>>> Hi,
>>>
>>> Did you "kldload mlxen" ?
>>>
>>> --HPS
>>>
>>
>> im running 9.3 stable, is this for 10?
>
> No, look in:
>
> sys/modules/mlxen
>
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
More information about the freebsd-hackers
mailing list