ConnectX ethernet card: how do I get tghe driver for it.

Ben RUBSON ben.rubson at gmail.com
Wed Sep 27 15:13:10 UTC 2017


Hi Eugene,

cd /usr/src/sys/modules/mlx4
make
make install
make clean
cd /usr/src/sys/modules/mlxen
make
make install
make clean

Add this to /boot/loader.conf :
mlx4_load="YES"
mlxen_load="YES"

Ben



> On 27 Sep 2017, at 17:10, Eugene M. Zheganin <emz at norma.perm.ru> wrote:
> 
> Hi,
> 
> I have an ConnectX ethernet card (vendor = 'Mellanox Technologies', device = 'MT26448 [ConnectX EN 10GigE, PCIe 2.0 5GT/s] <-- this is from the pciconf -lv, I believe it's an "unnumbered" ConnectX card) and FreeBSD 11 box. Skipping all of my unsuccessful tries description, I will simply ask :) - how do I get the driver for it ? seems like the sources are in the /usr/src/sys/ofed/drivers/net/mlx4 subtree, but issuing 'make' there I get a bunch of errors. If this card is supported (not sure it still is) then why isn't the driver available in the generic kernel ?
> 
> P.S. Btw the man page for mlx4en(4) seems a bit obsoleted.
> 
> Thanks.
> Eugene.


More information about the freebsd-net mailing list