Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x

Frank DiMitri frankd at frank-d.info
Mon Nov 28 06:11:46 UTC 2016


Meny,



Amazingly enough I completely missed that, and nobody was able to point me to them. I was unaware of any in-tree Mellanox drivers.



My (embarrassing) mistake, glad to see they're in the kernel by default.



Thanks!




---- On Sun, 27 Nov 2016 22:00:26 -0800 Meny Yossefi <menyy at mellanox.com> wrote ----




Hi, 

 

 

 

Not sure how did you reach that conclusion. 

 

 

 

We have an updated 11.x inbox driver for ConnectX-3 under /sys/ofed/ 

 

 

 

Eth: /sys/ofed/drivers/net/mlx4 

 

InfiniBand: /sys/ofed/drivers/infiniband/.. 

 

 

 

We have recently (12-CURRENT) moved the ConnectX-3 driver to /sys/dev 

 

 

 

We'll be happy to assist in case you have more questions. 

 

 

 

-Meny 

 

 

 

________________________________________ 

 

From: owner-freebsd-net at freebsd.orgOn<mailto:owner-freebsd-net at freebsd.orgOn> Behalf OfFrank DiMitri 

 

Sent: Monday, November 28, 2016 1:50:18 AM (UTC+00:00) Monrovia, Reykjavik 

 

To: freebsd-net at freebsd.org<mailto:freebsd-net at freebsd.org> 

 

Subject: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x 

 

 

 

Mellanox has no driver for cards earlier than ConnectX4 available for FreeBSD 11.x at the moment. 

 

 

 

 

 

 

 

What I have right now is a quick hack to get the 2.1.6 driver for 10.1 to compile and work under 11.0. It needs some polishing, but it does work. I didn't do anything for the InfiniBand side, only the Ethernet/core. 

 

 

 

 

 

 

 

https://github.com/fdimitri/Mellanox-OFED-ConnectX-FreeBSD11 

 

 

 

 

 

 

 

For anyone looking to run these cards under FreeBSD 11.0, this should work at the least in the interim. The only non-functional part under 11.0-release-p1 are the counters available through sysctl (hw.mlxenX.stat) for packet sizes ie in_gt_1548. 

 

 

 

 

 

 

 

Hopefully this is the right place to send this. 

 

 

 

 

 

 

 

Is there a reason the OFED drivers aren't in-tree? They are dual-licensed under GPL and BSD. 

 

 

 

 

 

 

 

Thanks, 

 

 

 

Frank DiMitri 

 

 

 

 

 

 

 

_______________________________________________ 

 

freebsd-net at freebsd.org<mailto:freebsd-net at freebsd.org> mailing list 

 

https://lists.freebsd.org/mailman/listinfo/freebsd-net 

 

To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org<mailto:freebsd-net-unsubscribe at freebsd.org>" 

_______________________________________________ 

freebsd-net at freebsd.org mailing list 

https://lists.freebsd.org/mailman/listinfo/freebsd-net 

To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org" 








More information about the freebsd-net mailing list