From owner-freebsd-infiniband@FreeBSD.ORG Sun Jun 14 19:38:37 2015 Return-Path: Delivered-To: freebsd-infiniband@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23A8BD57 for ; Sun, 14 Jun 2015 19:38:37 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D8E323F5 for ; Sun, 14 Jun 2015 19:38:36 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id AE0921FE023; Sun, 14 Jun 2015 21:38:32 +0200 (CEST) Message-ID: <557DD869.3060806@selasky.org> Date: Sun, 14 Jun 2015 21:39:21 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Mihai Vintila , freebsd-infiniband@freebsd.org Subject: Re: Ib0 not working unless i unload ipoib and load it again. References: <557C79D8.8040403@gmail.com> <557C7D94.9020207@selasky.org> <557DCA80.50203@gmail.com> <557DCEA7.3030703@selasky.org> <557DD20B.7020508@gmail.com> In-Reply-To: <557DD20B.7020508@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2015 19:38:37 -0000 On 06/14/15 21:12, Mihai Vintila wrote: > Same behavior: > sysctl -w sys.device.mlx4_core0.mlx4_port1=ib > sys.device.mlx4_core0.mlx4_port1: eth -> ib > ifconfig ib0 > ib0: flags=8043 metric 0 mtu 2044 > options=8009b > lladdr 0.0.0.48.fe.80.0.0.0.0.0.0.e4.1d.2d.3.0.a.21.31 > inet 10.105.0.225 netmask 0xffffff00 broadcast 10.105.0.255 > nd6 options=29 > > ping 10.105.0.15 > PING 10.105.0.15 (10.105.0.15): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > > Might worth to mention that this host also holds opensm, and i actually > need to run opensm first next unload/load the module. > But i rather expect that the ib0 state changes along mlx4_core0 state. > If you do: ifconfig ib0 down ifconfig ib0 up Does it work then? --HPS