From owner-freebsd-current@FreeBSD.ORG Mon Jan 20 13:57:21 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 698A1F9D for ; Mon, 20 Jan 2014 13:57:21 +0000 (UTC) Received: from mx12.netapp.com (mx12.netapp.com [216.240.18.77]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2B6ED1237 for ; Mon, 20 Jan 2014 13:57:20 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.95,690,1384329600"; d="asc'?scan'208";a="137987944" Received: from vmwexceht02-prd.hq.netapp.com ([10.106.76.240]) by mx12-out.netapp.com with ESMTP; 20 Jan 2014 05:57:19 -0800 Received: from SACEXCMBX06-PRD.hq.netapp.com ([169.254.9.60]) by vmwexceht02-prd.hq.netapp.com ([10.106.76.240]) with mapi id 14.03.0123.003; Mon, 20 Jan 2014 05:57:19 -0800 From: "Eggert, Lars" To: John Nielsen Subject: Re: using ConnectX card as Ethernet (mlxen) Thread-Topic: using ConnectX card as Ethernet (mlxen) Thread-Index: AQHOfL84Utvue43Zsk+plvzCsSUACpldPAwAgTIBQACAAB5egA== Date: Mon, 20 Jan 2014 13:57:18 +0000 Message-ID: <1B2953DE-CA37-44BC-9EFE-542D13A4F576@netapp.com> References: <3A359B33-380C-4230-A62C-623765E9376A@jnielsen.net> <201307091158.19381.jhb@freebsd.org> <2BA72819-3004-4FB6-BB4F-5964B41F6B2F@jnielsen.net> <8D21D2EF-8A74-40A3-A49F-73FDE7C3CFD2@netapp.com> In-Reply-To: <8D21D2EF-8A74-40A3-A49F-73FDE7C3CFD2@netapp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.106.53.51] Content-Type: multipart/signed; boundary="Apple-Mail=_E2AA19BE-F470-4F0F-9D09-21269771BAF8"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2014 13:57:21 -0000 --Apple-Mail=_E2AA19BE-F470-4F0F-9D09-21269771BAF8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, if I leave the mlx4ib device out of the kernel (i.e., only compile in = mlxen), doing the sysctl switch to Ethernet mode works fine. Lars On 2014-1-20, at 13:08, Eggert, Lars wrote: > Hi, >=20 > On 2013-7-9, at 22:08, John Nielsen wrote: > On Jul 9, 2013, at 9:58 AM, John Baldwin wrote: >>> So this was just fixed (finally) in HEAD in r253048. You can how = use the >>> sysctls to change this. >>=20 >> I saw the commit. Thanks! I'll give it a try at some point (whenever = my schedule and hardware availability align). >=20 > is this supposed to work at the moment? When I try, the machine seems = to crash: >=20 > root@one:~ # sysctl sys.device.mlx4_core0.mlx4_port1=3Deth > sys.device.mlx4_core0.mlx4_port1: auto (ib) > Write failed: Broken pipe > Shared connection to xxx closed. >=20 > Unfortunately I don't have serial console access at the moment, so I = can't access any messages that may have gotten dumped. >=20 > The cards in question are: >=20 > mlx4_core0@pci0:17:0:0: class=3D0x028000 card=3D0x005015b3 = chip=3D0x100315b3 rev=3D0x00 hdr=3D0x00 > vendor =3D 'Mellanox Technologies' > device =3D 'MT27500 Family [ConnectX-3]' > class =3D network >=20 > Lars --Apple-Mail=_E2AA19BE-F470-4F0F-9D09-21269771BAF8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQCVAwUBUt0rO9ZcnpRveo1xAQLxMgQAhRpmnEoTZ7tHJYrTwls7STnrJqlG8Yx+ Lg7EPFOhivbooRmHm53Yd/LFnPzTgJ6jxcKD0Mvn4/Ex98ZOh0MJs/mmRlO1M/0H yUYA4AEwyC7y1lRaEjaShx/ZS0b+5u8IyH7GozMzM2F5ZVW07BjKwPh8b05gxQED QWGTBeVFy7w= =FmAZ -----END PGP SIGNATURE----- --Apple-Mail=_E2AA19BE-F470-4F0F-9D09-21269771BAF8--