Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 13:57:18 +0000
From:      "Eggert, Lars" <lars@netapp.com>
To:        John Nielsen <lists@jnielsen.net>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: using ConnectX card as Ethernet (mlxen)
Message-ID:  <1B2953DE-CA37-44BC-9EFE-542D13A4F576@netapp.com>
In-Reply-To: <8D21D2EF-8A74-40A3-A49F-73FDE7C3CFD2@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>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <lars@netapp.com> wrote:

> Hi,
>=20
> On 2013-7-9, at 22:08, John Nielsen <lists@jnielsen.net> wrote:
> On Jul 9, 2013, at 9:58 AM, John Baldwin <jhb@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1B2953DE-CA37-44BC-9EFE-542D13A4F576>