From owner-freebsd-net@freebsd.org Mon Nov 28 06:11:46 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D859C5184A for ; Mon, 28 Nov 2016 06:11:46 +0000 (UTC) (envelope-from frankd@frank-d.info) Received: from sender163-mail.zoho.com (sender163-mail.zoho.com [74.201.84.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 35D5519AC for ; Mon, 28 Nov 2016 06:11:45 +0000 (UTC) (envelope-from frankd@frank-d.info) Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1480313417460491.8606290735262; Sun, 27 Nov 2016 22:10:17 -0800 (PST) Date: Sun, 27 Nov 2016 22:10:17 -0800 From: Frank DiMitri To: "Meny Yossefi" Cc: "freebsd-net@freebsd.org" , "freebsd-drivers" Message-Id: <158a98e2ee9.e28b1c99215641.6054804446440545025@frank-d.info> In-Reply-To: References: <158a8a02a14.11c57878d202623.4266299996694963357@frank-d.info> <9465895c92a747589c6e343aabc38a54@AM5PR0502MB2916.eurprd05.prod.outlook.com> Subject: RE: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x MIME-Version: 1.0 X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 06:11:46 -0000 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@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@freebsd.orgOn<mailto:owner-freebsd-net@freebsd.orgOn> Behalf OfFrank DiMitri Sent: Monday, November 28, 2016 1:50:18 AM (UTC+00:00) Monrovia, Reykjavik To: freebsd-net@freebsd.org<mailto:freebsd-net@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@freebsd.org<mailto:freebsd-net@freebsd.org> mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org<mailto:freebsd-net-unsubscribe@freebsd.org>" _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"