From owner-freebsd-net@freebsd.org Mon Nov 28 20:48:52 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 DDB6BC59426 for ; Mon, 28 Nov 2016 20:48:52 +0000 (UTC) (envelope-from menyy@mellanox.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0074.outbound.protection.outlook.com [104.47.0.74]) (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 45C761FA0 for ; Mon, 28 Nov 2016 20:48:51 +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=e6EEXOtLBJMrUXTtDcoREGkdi3yu+vfJUFD1e1eQalg=; b=sgHdhCleQMV0y+ntrAAp9C/I1gWeA7yCQRTMLYPz+soAjiwmxo6gAb9Ky2Y6ByXKLl+Rv1eLkb4a6FaVQU5TonY/46TytqkBzhevlf2cp5IaI9SP3bvReOA2Xm/NIamhi46jnVCspq9mFeHAl+ljqJf21OAJQqQgIrBm3gnOvHA= Received: from DB5PR05MB1765.eurprd05.prod.outlook.com (10.165.7.23) by DB5PR05MB1768.eurprd05.prod.outlook.com (10.165.7.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.10; Mon, 28 Nov 2016 19:13:21 +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 19:13:21 +0000 From: Meny Yossefi To: "freebsd-net@FreeBSD.org" 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: AQHSSRnQXhuIFh5pwkGDJE5Ij9BZUaDtoW28gABDENCAAAV9gIAAAHlJgADZ3RA= Date: Mon, 28 Nov 2016 19:13:21 +0000 Message-ID: References: <158a8a02a14.11c57878d202623.4266299996694963357@frank-d.info> <9465895c92a747589c6e343aabc38a54@AM5PR0502MB2916.eurprd05.prod.outlook.com> , <158a98e2ee9.e28b1c99215641.6054804446440545025@frank-d.info> <622a5c2030cd4b4e95ccd818bbb23397@AM5PR0502MB2916.eurprd05.prod.outlook.com> In-Reply-To: <622a5c2030cd4b4e95ccd818bbb23397@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: [79.177.49.31] x-ms-office365-filtering-correlation-id: 60437cd6-7911-4926-b4d1-08d417c29e63 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB5PR05MB1768; x-microsoft-exchange-diagnostics: 1; DB5PR05MB1768; 7:wpcAtBW+6UB9KNmskZAz7WI4QXdOtebuKv/pKmWD6x5wKsbhPY/oST2xc3D/0qmzMzDLmTRcrRqqgoUdhWAfIl9IjSICnVd/l72siKfSPOdS53U7I+/zPjJSKWW5+GmMiCIQG5Klc92wAd92hMDumHj2gmqMiAq+tEjkFV2q0OtTA6hQfRCQAMq4ga3jJmFiQV9T4YKn39QDtl42rVw7vZlea5BpeKAuRwg9vD2/xO0WiXqlojNkM79gTJZlAhHAJSppaFBZeWUhbi/6h6+88wY1B13J3q1qWVmInnaj2SQg/18WWYtWDF8sQoJezblCBZVzljkzwE2Mu7jPAGKSXgoZFLkpPYBCLky+rkGOsqDx25A/4nhIOTYVKouv7+PNUF/I7JOYImF2YCEqxAyslXaVIaKu6g/qwBqfJFTEmghrMmFFwR+QGyB9ONoPG3Tq3QoTEV3elRJTlYgwnGCblA== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(75325880899374); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6045199)(6060326)(6040361)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(6061324)(20161123560025)(20161123558021)(20161123555025)(20161123564025)(20161123562025); SRVR:DB5PR05MB1768; BCL:0; PCL:0; RULEID:; SRVR:DB5PR05MB1768; x-forefront-prvs: 01401330D1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(377454003)(199003)(13464003)(7846002)(66066001)(7736002)(74316002)(54356999)(50986999)(76176999)(101416001)(106116001)(229853002)(305945005)(5660300001)(33656002)(106356001)(2906002)(105586002)(102836003)(2351001)(93886004)(2900100001)(8936002)(3900700001)(97736004)(68736007)(6116002)(5640700001)(107886002)(189998001)(3846002)(6506003)(38730400001)(122556002)(92566002)(9686002)(76576001)(450100001)(86362001)(110136003)(3660700001)(8676002)(3280700002)(6916009)(81156014)(39450400002)(81166006)(7696004)(2950100002)(39400400001)(2501003)(77096006)(39380400001)(39410400001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1768; H:DB5PR05MB1765.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2016 19:13:21.1959 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1768 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 20:48:53 -0000 NP :-) Let us know if you need further assistance.=20 -Meny -----Original Message----- From: freebsd-commits-tracker=20 Sent: Monday, November 28, 2016 8:12 AM To: Mark Bloch ; Meny Yossefi ; Yuv= al Bason Subject: FW: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x ________________________________________ From: owner-freebsd-net@freebsd.orgOn Behalf OfFrank DiMitri Sent: Monday, November 28, 2016 6:10:17 AM (UTC+00:00) Monrovia, Reykjavik To: Meny Yossefi Cc: freebsd-net@freebsd.org; freebsd-drivers Subject: RE: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x 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.o= rgOn> 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 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<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<ma= ilto: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" _______________________________________________ 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"