From owner-freebsd-current@FreeBSD.ORG Mon Jan 20 21:24:36 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D2D7EC7 for ; Mon, 20 Jan 2014 21:24:36 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 425AE1D2F for ; Mon, 20 Jan 2014 21:24:36 +0000 (UTC) Received: from pippin.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 484E8B97B; Mon, 20 Jan 2014 16:24:35 -0500 (EST) From: John Baldwin To: "Eggert, Lars" Subject: Re: using ConnectX card as Ethernet (mlxen) Date: Mon, 20 Jan 2014 15:59:43 -0500 Message-ID: <1536242.pn1tTPOXXc@pippin.baldwin.cx> User-Agent: KMail/4.10.5 (FreeBSD/11.0-CURRENT; KDE/4.10.5; amd64; ; ) In-Reply-To: <8D21D2EF-8A74-40A3-A49F-73FDE7C3CFD2@netapp.com> References: <3A359B33-380C-4230-A62C-623765E9376A@jnielsen.net> <2BA72819-3004-4FB6-BB4F-5964B41F6B2F@jnielsen.net> <8D21D2EF-8A74-40A3-A49F-73FDE7C3CFD2@netapp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 20 Jan 2014 16:24:35 -0500 (EST) Cc: "freebsd-current@freebsd.org" , John Nielsen 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 21:24:36 -0000 On Monday 20 January 2014 12:08:34 Eggert, Lars wrote: > Hi, > > 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. > > > > I saw the commit. Thanks! I'll give it a try at some point (whenever my > > schedule and hardware availability align). > is this supposed to work at the moment? When I try, the machine seems to > crash: > > root@one:~ # sysctl sys.device.mlx4_core0.mlx4_port1=eth > sys.device.mlx4_core0.mlx4_port1: auto (ib) > Write failed: Broken pipe > Shared connection to xxx closed. > > Unfortunately I don't have serial console access at the moment, so I can't > access any messages that may have gotten dumped. > > The cards in question are: > > mlx4_core0@pci0:17:0:0: class=0x028000 card=0x005015b3 chip=0x100315b3 > rev=0x00 hdr=0x00 vendor = 'Mellanox Technologies' > device = 'MT27500 Family [ConnectX-3]' > class = network I believe this should work, yes. Getting a crashdump or the panic messages would be really helpful in figuring out why it isn't. Thanks. -- John Baldwin