This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Mellanox ConectX EN mlxen driver

NIC, network controllers, compatibility questions, WOL, wake on lan
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
marvias
NewUser
NewUser
Posts: 3
Joined: 12 Apr 2014 18:34
Status: Offline

Mellanox ConectX EN mlxen driver

Post by marvias »

Hello,

would it be possible to add mlxnet support for 10GE Mellanox cards into official nas4free release ? I tried to create my own build according nas4free wiki, but it fails on either applying kernel patches or kernel compile.

Thanks,
Martin

User avatar
zoon01
Developer
Developer
Posts: 724
Joined: 20 Jun 2012 21:06
Location: Netherlands
Contact:
Status: Offline

Re: Mellanox ConectX EN mlxen driver

Post by zoon01 »

Hello marvias, check your pm.

Regards,
zoon01
System specs: XigmaNAS 11.2.0.4 -embedded on Samsung 860 EVO 256GB and Supermicro X10SL7-F w / Bios v3.2, IPMI v.03.86 / CPU E3-1241 v3 @ 3.50GHz - 32GB Crucial DDR3L 1600mhz ECC 1.35v , LSI 2308 on PH20.00.07.00 IT mode, Storage: 5x Western Digital Red (WD30EFRX) raidz

Development system is same system in virtualbox.

Rocketnas
NewUser
NewUser
Posts: 1
Joined: 05 Nov 2014 09:25
Status: Offline

Re: Mellanox ConectX EN mlxen driver

Post by Rocketnas »

Hello, zoon01 ! I need help ! I need release Nas4Free with support mlx4_en driver, so, i try connect Mellanox to switch - link Up and down, not working correctly. Thanks zoon01.

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: Mellanox ConectX EN mlxen driver

Post by Onichan »

So I was looking into something faster than 1Gb and seems like Mellanox Infiniband is a popular and cheap way. From searching the forums though it looks like nobody has a 9.3 build with driver support for it. Has anybody built the 9.3 kernel with Mellanox support?

Also while on the subject I found somebody mention Chelsio 10Gb SFP NICs. Looks like it requires the cxgb driver and that is normally in 9.3 release, but does anybody know if NAS4Free has it? I looked through my install, but didn't cxgb or t3_tom.ko so looks like it's not installed.

marvias
NewUser
NewUser
Posts: 3
Joined: 12 Apr 2014 18:34
Status: Offline

Re: Mellanox ConectX EN mlxen driver

Post by marvias »

I thought that since 9.2 b972 it is in the OS so there should be no problems with 9.3 branch.

Mellanox makes also ethernet cards (without IB support).
MNPA19-XTR seem to be really cheap now. Tho you need to add twinax copper cable or fiber transceivers depending on your connection length.

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: Mellanox ConectX EN mlxen driver

Post by daoyama »

Onichan wrote:Also while on the subject I found somebody mention Chelsio 10Gb SFP NICs. Looks like it requires the cxgb driver and that is normally in 9.3 release, but does anybody know if NAS4Free has it? I looked through my install, but didn't cxgb or t3_tom.ko so looks like it's not installed.
I don't check the card, but all drivers(except some mandatory) exist in /cf/boot/kernel.
Also kldconfig is configured to load from /cf/boot/kernel, so you only need kldload XXX.ko. (or use loader.conf)
At least 9.3.0.2.1349 have t3_tom.ko and t4_tom.ko. (if_cxgb is in kernel)
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

Vitaliy_R
NewUser
NewUser
Posts: 4
Joined: 22 Dec 2014 20:48
Status: Offline

Re: Mellanox ConectX EN mlxen driver

Post by Vitaliy_R »

Hello,

You can use recompiled drivers x64 attached below.

Do not forget add to /boot/loader.conf lines in order to load driver.

mlx4_load="YES"
mlxen_load="YES"

Driver support al ConnectX-2 and ConnectX-3 cards include Pro.
In my build it's working perfect:

Version 10.2.0.2 - Prester (revision 1814)
Build date Sun Aug 30 21:05:02 CEST 2015
Platform OS FreeBSD Revision: 199506
FreeBSD 10.2-RELEASE-p2 #0 r287260M: Fri Aug 28 18:38:18 CEST 2015

Please let me know if you have any problem.

Regards,

Vitaliy
You do not have the required permissions to view the files attached to this post.

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: Mellanox ConectX EN mlxen driver

Post by daoyama »

Vitaliy_R wrote:You can use recompiled drivers x64 attached below.

Do not forget add to /boot/loader.conf lines in order to load driver.

mlx4_load="YES"
mlxen_load="YES"
mlxen.ko and mlx4.ko are bundled in NAS4Free 10.x series. You don't need add it.
Also x64-embedded will load it by default. So you don't need touch loader.conf.
However, full installation does not add it to loader.conf. Yes, it's a bug of NAS4Free.
I never use full installation on physical machine....

For more 10GbE, read this info.
viewtopic.php?f=4&t=9761
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

alexplatform
Starter
Starter
Posts: 38
Joined: 26 Jun 2012 21:21
Status: Offline

Re: Mellanox ConectX EN mlxen driver

Post by alexplatform »

Is there a way to enable ipoib instead of/in addition to connectx en?

Thanks!

Alex

viniciusferrao
NewUser
NewUser
Posts: 2
Joined: 16 Sep 2016 22:20
Status: Offline

Re: Mellanox ConectX EN mlxen driver

Post by viniciusferrao »

alexplatform wrote:Is there a way to enable ipoib instead of/in addition to connectx en?

Thanks!

Alex
I'm interested on this too. Any success with IPoIB mode?

Vitaliy_R
NewUser
NewUser
Posts: 4
Joined: 22 Dec 2014 20:48
Status: Offline

Re: Mellanox ConectX EN mlxen driver

Post by Vitaliy_R »

viniciusferrao wrote:
16 Sep 2016 22:22
alexplatform wrote:Is there a way to enable ipoib instead of/in addition to connectx en?

Thanks!

Alex
I'm interested on this too. Any success with IPoIB mode?
Hello guys,

Sorry for late answer.

AFAIK Infiniband stack is not included in NAS4Free 11.0.0.4.4195, but you can use the latest ConnectX-4 EN adapters
by adding to /boot/loader.conf line in order to load driver.

mlx5en_load="YES"

Vitaliy

Post Reply

Return to “LAN , Network controllers”