-
-
Notifications
You must be signed in to change notification settings - Fork 156
Test Mellanox ConnectX-2 MNPA19-XTR SFP+ 10G Ethernet Adapter #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Since you have two, you should try to see if RoCE can work. It would be awesome to have an RDMA-enabled Pi and it would help removing the IRQ issue you had in the other videos. |
@albydnc - Heh, I'll see what I can do! |
@geerlingguy let me know if you need some help, I work on infiniband and rdma |
|
|
Trying this driver first: https://www.mellanox.com/products/ethernet-drivers/linux/mlnx_en
How unfortunate :P |
Digging through the installer, I found
No support for older cards? What madness! Let's try with:
Now it's attempting to install extra stuff:
Why don't all these device manufacturers account for Raspberry Pi OS 64-bit beta? 🤔 Anyways, going to stop for now, and get back at it later. At least I have the card identified. It works through my 1x-to-16x adapter, but it wasn't showing if I tried powering it through my external adapter... I also received a Noctua fan PWM controller today. Nice for my ears to not run the 12V fan at maximum speed all day :D |
@albydnc - I may ask for some help figuring out a good test / benchmark for RDMA, as I know a lot of people may be interested in whether the Pi can support it. |
@geerlingguy you can use the default benchmarks available with the mellanox driver: perfest. |
you lost me here :( |
@mi-hol - It seems like that install script is a giant bash script that has a lot of points of entanglement where it's looking for exact strings in returned information. Pi OS, and especially Pi OS 64-bit beta, don't behave identically to Debian 10.3 / Debian 10. The Ubuntu installer might have better success, but honestly, the drivers have a ton of warnings and checks and things that try to force you to use ConnectX-4 or later generation of cards... I'm thinking compiling in the kernel would be easier since it's not as preachy about making you buy the latest generation of card. |
So, Connectx2, while still interesting, are not something you'll want to waste your time on. |
@albydnc - I figured as much... and I would gladly take you up on that offer! If you can DM me on Twitter, or email me (my email is on my website about page), I can sort out the details. And I'll happily plug your Twitter/name/whatever in an eventual video I make on 10G networking on the Pi (whether or not I can get the X3 working! I already have the ASUS card going). |
Jeff, just to (re-)pique your interest in the Mellanox cards, I have the dual NIC versions of the same venerable beasties:
where CentOS 7 worked a treat but CentOS Stream dropped support, I discovered, when upgrading a couple of weeks ago. You should note that Linux, at least, uses the MLX4 driver for these parts. In my case the issue was "as simple as" the drivers having GEN2 support On my RPi4 running 64-bit there's barely support for any ethernet device:
but there are some 4.x kernels lying about (no idea why) which do have full MLX4 support. In particular you can grep out this particular card (using the PCI vendor and product IDs from
So I'm going to guess that support is entirely feasible. Until last week I'd not compiled anything kernel-y before but I guess the process is similar on the RPi. |
@ianfitchet - Thanks! I'll keep that in mind next time I get back to this card—for now I'm switching my sights over to the ConnectX-3 I just got (see #143). |
Just tried with same freshly-compiled kernel I tested in #143 with a ConnectX-3 adapter, and getting the exact same error:
The lights flash, things seem to work, but it keeps re-connecting :(
|
Marking this as done... can't find any way to get the thing working, unfortunately. |
…ConnectX-2 cards don't work.
(I have since confirmed these cards work fine in a few different PCs, though.) |
If you still have one of these cards around, turning off tx/fx flow control (pause frames) may work via Incidentally, I've also had these cards silently fail when I try to use a MTU larger than 4032 on ethernet, but IDK if you've done anything IRT that. |
I still can use the Mellanox MT26448 with the latest fedora (39) without any issues in 2024. On the other hand, other Rocky Linux is not compatible with this NIC card. Strange. |
@kadir-gunel Maybe Rocky Linux has inherited the problem mentioned above? #21 (comment) |
The link to the product information page appears to be broken https://web.archive.org/web/20201111213008/https://www.mellanox.com/related-docs/prod_adapter_cards/ConnectX-2_EN_Cards.pdf seems to work |
Is it possible to know whether it supports SR-IOV? |
Uh oh!
There was an error while loading. Please reload this page.
Thanks to Jacob Hiltz, I have two Mellanox ConnectX-2 EN MNPA19-XTR SFP+ 10G Ethernet Adapter cards pulled from Dell servers to test with the CM4. He also sent me two Cisco SFP-H10GB-CU3M Passive Twinax cables, which means all I need to do is drop that card into my MikroTik 10G 4-port switch, plug in my MacBook Pro via my OWC 10G ThunderBolt 3 adapter, and see what happens.
Mellanox links:
drivers/net/ethernet/mellanox/mlx5
).Related:
The text was updated successfully, but these errors were encountered: