Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2016 14:22:26 +0000
From:      Justin Clift <justin@postgresql.org>
To:        Meny Yossefi <menyy@mellanox.com>
Cc:        =?utf-8?Q?Vin=C3=ADcius_Ferr=C3=A3o?= <ferrao@vmio.com.br>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org>, Mark Bloch <markb@mellanox.com>, Yuval Bason <yuvalba@mellanox.com>, Hans Petter Selasky <hanss@mellanox.com>
Subject:   Re: Device hints to put mlx4 on IB mode
Message-ID:  <5391E407-3C0B-4BD8-990F-4985C18C077A@postgresql.org>
In-Reply-To: <DB5PR05MB176574483FAD950605612414C3BD0@DB5PR05MB1765.eurprd05.prod.outlook.com>
References:  <B1D279B3-FD90-4997-84D2-605D7B4AE967@vmio.com.br> <fabc0ffda5574d729360cacca6650267@AM5PR0502MB2916.eurprd05.prod.outlook.com> <DB5PR05MB176572180CC2D5143694F8B7C3B80@DB5PR05MB1765.eurprd05.prod.outlook.com> <D2621C85-E6C0-4A2B-8E6D-A32655DE5ABA@vmio.com.br> <DB5PR05MB176574483FAD950605612414C3BD0@DB5PR05MB1765.eurprd05.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Nov 2016, at 13:42, Meny Yossefi <menyy@mellanox.com> wrote:
>=20
> Hi,=20
>=20
> There's a tool called 'mlxconfig' which can change port's type, but I =
think it requires the driver to be loaded, so no real help here.
> You can try contacting our support team (support@mellanox.com) about =
the tool.
>=20
> Which kernel version are you using?=20
> In recent versions, we added a patch the forces port type to come up =
as ETH.=20
> In that case, changing it to IB will just be a one liner to maintain.=20=


Another option may be to add a new sysctl.  Something to change "all the =
ports"
instead of changing them one-by-one.

Maybe named like:

   sys.device.mlx4_core0.mlx4_ports=3D"ib"

If that would be acceptable for the main FreeBSD source, it wouldn't =
have to be
manually applied to every build.

+ Justin

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5391E407-3C0B-4BD8-990F-4985C18C077A>