Re: using ConnectX card as Ethernet (mlxen)
--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--
討論串 (同標題文章)
完整討論串 (本文為第 7 之 11 篇):