Date: Tue, 8 Nov 2016 16:27:13 +0000 From: =?utf-8?B?Vmluw61jaXVzIEZlcnLDo28=?= <ferrao@vmio.com.br> To: "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org> Subject: Device hints to put mlx4 on IB mode Message-ID: <B1D279B3-FD90-4997-84D2-605D7B4AE967@vmio.com.br>
next in thread | raw e-mail | index | archive | help
Hello guys, I would like to put my Connect-X3 card in IB mode during boot time using device hints instead of sysctl's. Today we have this dirty workarround on /etc/sysctl.conf: sys.device.mlx4_core0.mlx4_port1=ib sys.device.mlx4_core0.mlx4_port2=ib It’s fine when we use a Connect-X3 card with two Infiniband interfaces, but if a ConnectX-3 card with only one interface is used an error message is dumped on the console about failing to set the "sys.device.mlx4_core0.mlx4_port2=ib” sysctl. To solve this I would like to use device hints passed from the GRUB2 bootloader, but I was unable to find which hints I should use for the mlx4 drivers. I don’t even know if this is supported. The problem is purely cosmetic, I just want to get rid of the error message during the boot process. Thanks in advance, V.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1D279B3-FD90-4997-84D2-605D7B4AE967>
