OPNsense Forum

English Forums => Hardware and Performance => Topic started by: FATeknollogee on March 31, 2020, 06:26:27 am

Title: Mellanox ConnectX-4 MCX456A
Post by: FATeknollogee on March 31, 2020, 06:26:27 am
I have a Mellanox MCX456A-ECAT ConnectX-4.
Motherboard is SuperMicro SYS-5018D-FN4T.

What do I need to get this NIC to show up as an interface?

TIA
Title: Re: Mellanox ConnectX-4 MCX456A
Post by: mimugmail on March 31, 2020, 09:19:35 am
You have to load mlnx5 driver. Just search for Connect x3 and replace with 5
Title: Re: Mellanox ConnectX-4 MCX456A
Post by: FATeknollogee on March 31, 2020, 04:41:10 pm
You have to load mlnx5 driver. Just search for Connect x3 and replace with 5
Is this still valid for mlnx5?
https://www.routerperformance.net/opnsense/mellanox-connecx-management-in-opnsense/

Do I still need cli or can I use the GUI (System Tunables) to add mlx5en_load=“YES“
Title: Re: Mellanox ConnectX-4 MCX456A
Post by: mimugmail on March 31, 2020, 06:57:48 pm
You can try via GUI but I think it has to be loader.conf.local (which always stays untouched)
Title: Re: Mellanox ConnectX-4 MCX456A
Post by: franco on March 31, 2020, 07:54:27 pm
No, GUI works fine nowadays. :)


Cheers,
Franco
Title: Re: Mellanox ConnectX-4 MCX456A
Post by: FATeknollogee on April 07, 2020, 05:43:17 am
When I try to execute this command:
Code: [Select]
flint_ext -d pci0:4:0:0 q
I get an error:
Code: [Select]
"libstdc++.so.6" not found, required by "flint_ext"
How do I fix?
Title: Re: Mellanox ConnectX-4 MCX456A
Post by: franco on April 07, 2020, 01:12:44 pm
Do not install incompatible FreeBSD binaries...


Cheers,
Franco
Title: Re: Mellanox ConnectX-4 MCX456A
Post by: FATeknollogee on April 07, 2020, 04:10:20 pm
Without flint, how else can you update the firmware of the Mellanox nic?
btw, I'm using the instructions from @mimugmail blog post.
Title: Re: Mellanox ConnectX-4 MCX456A
Post by: FATeknollogee on April 08, 2020, 04:15:14 am
No, GUI works fine nowadays. :)


Cheers,
Franco

I had to use CLI, the GUI did not work.
Title: Re: Mellanox ConnectX-4 MCX456A
Post by: mimugmail on April 08, 2020, 05:45:42 am
Without flint, how else can you update the firmware of the Mellanox nic?
btw, I'm using the instructions from @mimugmail blog post.

It's a blog post, not official or supported :)
As the vendor software is out of control this might never be officially supported. Perhaps you can boot a Linux live CD and do the nic upgrade there
Title: Re: Mellanox ConnectX-4 MCX456A
Post by: FATeknollogee on April 08, 2020, 06:13:12 am
@mimugmail Great idea on the Linux live cd  :)