From owner-freebsd-net@freebsd.org Mon Nov 28 01:50:26 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 3F714C58E75 for ; Mon, 28 Nov 2016 01:50:26 +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 19397654E9 for ; Mon, 28 Nov 2016 01:50:25 +0000 (UTC) (envelope-from frankd@frank-d.info) Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1480297818650242.91968671420955; Sun, 27 Nov 2016 17:50:18 -0800 (PST) Date: Sun, 27 Nov 2016 17:50:18 -0800 From: Frank DiMitri To: "" Message-Id: <158a8a02a14.11c57878d202623.4266299996694963357@frank-d.info> In-Reply-To: Subject: 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 01:50:26 -0000 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