How to force IB cards to come up in IB mode?

Meny Yossefi menyy at mellanox.com
Sun Apr 17 06:41:13 UTC 2016


NP. 

If you have more Mellanox related questions, you can also use: freebsd-drivers at mellanox.com

-Meny


-----Original Message-----
From: freebsd-commits-tracker 
Sent: Sunday, April 17, 2016 1:34 AM
To: Mark Bloch <markb at mellanox.com>; Meny Yossefi <menyy at mellanox.com>; Yuval Bason <yuvalba at mellanox.com>
Subject: FW: How to force IB cards to come up in IB mode?




________________________________________
From: owner-freebsd-infiniband at freebsd.orgOn Behalf OfJustin Clift
Sent: Saturday, April 16, 2016 10:33:45 PM (UTC) Monrovia, Reykjavik
To: Meny Yossefi
Cc: freebsd-infiniband at freebsd.org; Yuval Bason; Hans Petter Selasky
Subject: Re: How to force IB cards to come up in IB mode?

On 16 Apr 2016, at 15:55, Meny Yossefi <menyy at mellanox.com> wrote:
> Hi Justin,
>
> It seems as the pre-boot configuration didn't work.
>
> loader.conf doesn't work on all sysctl params AFAIK.

The solution in this case turned out to be super simple... I was just using the wrong file. :D

It should have been /etc/sysctl.conf for the settings.  Adding this in there worked for the initial port mode setup:

  # Ensure the IB card is in IB mode
  sys.device.mlx4_core0.mlx4_port1="ib"
  sys.device.mlx4_core0.mlx4_port2="ib"

Apologies for the noise. ;)

Regards and best wishes,

Justin Clift

--
"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

_______________________________________________
freebsd-infiniband at freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-infiniband
To unsubscribe, send any mail to "freebsd-infiniband-unsubscribe at freebsd.org"


More information about the freebsd-infiniband mailing list