From owner-freebsd-net@freebsd.org Mon Nov 28 06:00:37 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 5C3B5C512F6 for ; Mon, 28 Nov 2016 06:00:37 +0000 (UTC) (envelope-from menyy@mellanox.com) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0084.outbound.protection.outlook.com [104.47.1.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9ABC210BC for ; Mon, 28 Nov 2016 06:00:35 +0000 (UTC) (envelope-from menyy@mellanox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=lkGHT2m5Ywp1/uYVPomdFGTOEPFnwg2p08ZmMMvJ3Ic=; b=xaYnvcfjIguVlw/1+l+KNefkJo2M8pmmis1r+nQcWxAIRTqE2OcCLrPSQXXMdUtyBxrv7QyaiaB9+bl4qn9fASLQokOzeE6durXAVTdCyBe8zZEBlpJVjhMhRRpa/cY9OhP6b75R2FhlCEOEVwzLNRgHzYGzSY878Gm19qPmdF8= Received: from DB5PR05MB1765.eurprd05.prod.outlook.com (10.165.7.23) by DB5PR05MB1765.eurprd05.prod.outlook.com (10.165.7.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.13; Mon, 28 Nov 2016 06:00:26 +0000 Received: from DB5PR05MB1765.eurprd05.prod.outlook.com ([10.165.7.23]) by DB5PR05MB1765.eurprd05.prod.outlook.com ([10.165.7.23]) with mapi id 15.01.0747.013; Mon, 28 Nov 2016 06:00:26 +0000 From: Meny Yossefi To: "freebsd-net@freebsd.org" CC: freebsd-drivers Subject: RE: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x Thread-Topic: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x Thread-Index: AQHSSRnQXhuIFh5pwkGDJE5Ij9BZUaDtoW28gABDENA= Date: Mon, 28 Nov 2016 06:00:26 +0000 Message-ID: References: <158a8a02a14.11c57878d202623.4266299996694963357@frank-d.info> <9465895c92a747589c6e343aabc38a54@AM5PR0502MB2916.eurprd05.prod.outlook.com> In-Reply-To: <9465895c92a747589c6e343aabc38a54@AM5PR0502MB2916.eurprd05.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=menyy@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-office365-filtering-correlation-id: a2610c8e-a34b-4a5b-6929-08d41753d9b0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB5PR05MB1765; x-microsoft-exchange-diagnostics: 1; DB5PR05MB1765; 7:YYMceqKvkjCEvxF5U9g0FcN9U+4KUX8/6fWsYwrmefHxFn42U7lhnDcH/gCRG2fTdS16GRwfHPLyYLNLI0VxKXJVMojKPBsOg3c7n0zRaoVQst47w792Y7pAn7K/Dtd1zZwKqfsaHJDUUnXZYT2rJ4XEfheqsIaIO3wvh1VMy/Vwpiw1class32mCmtW8kYkrUzhhfuh3l4cpbVkKDg23BTTM6YFXItQ0R1OeO0ZaB1slP7fnTWiol2pHm0RP+QZXsKPRmhRyhFWArkc+Rc6STHX2GcN8x3foKvZSBKNr3jPffYwTYTTKOIlH0PBTN4OIDpPp2LHWN3YHzLGCcl9wL/Iz0knv4HN6P75d2frSXYjwOVL8XACDc8Yan2PRWLyTn0Sk1CwSPd0GRCvkZL7WyuugSlQQuyu/PtqnQqvHTuBkICPeoo10ahdWTR5r762PmXu1WZ8TwA7hBjFHLo0IA== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(75325880899374)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6060326)(6040361)(6045199)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(6061324)(20161123560025)(20161123555025)(20161123564025)(20161123562025); SRVR:DB5PR05MB1765; BCL:0; PCL:0; RULEID:; SRVR:DB5PR05MB1765; x-forefront-prvs: 01401330D1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(199003)(377454003)(189002)(450100001)(122556002)(4326007)(9326002)(790700001)(102836003)(6116002)(3846002)(5630700001)(8676002)(81156014)(3660700001)(76576001)(2501003)(33656002)(3280700002)(5640700001)(81166006)(8936002)(101416001)(76176999)(50986999)(54356999)(9686002)(68736007)(105586002)(2906002)(77096006)(4001430100002)(39450400002)(39380400001)(106116001)(106356001)(39410400001)(2351001)(229853002)(39400400001)(38730400001)(6506003)(606004)(7906003)(7846002)(7736002)(5660300001)(2900100001)(74316002)(7696004)(110136003)(97736004)(189998001)(92566002)(2950100002)(6916009)(107886002)(86362001)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1765; H:DB5PR05MB1765.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2016 06:00:26.7093 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1765 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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:00:37 -0000 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 Behalf OfFrank DiMitri Sent: Monday, November 28, 2016 1:50:18 AM (UTC+00:00) Monrovia, Reykjavik To: 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 FreeB= SD 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 c= ompile and work under 11.0. It needs some polishing, but it does work. I di= dn'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-releas= e-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 u= nder GPL and BSD. Thanks, Frank DiMitri _______________________________________________ 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"