Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2013 14:08:38 -0600
From:      John Nielsen <lists@jnielsen.net>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: using ConnectX card as Ethernet (mlxen)
Message-ID:  <2BA72819-3004-4FB6-BB4F-5964B41F6B2F@jnielsen.net>
In-Reply-To: <201307091158.19381.jhb@freebsd.org>
References:  <3A359B33-380C-4230-A62C-623765E9376A@jnielsen.net> <201307091158.19381.jhb@freebsd.org>

index | next in thread | previous in thread | raw e-mail

On Jul 9, 2013, at 9:58 AM, John Baldwin <jhb@freebsd.org> wrote:

> On Monday, September 24, 2012 12:37:30 pm John Nielsen wrote:
>> I have a machine running "FreeBSD 10.0-CURRENT #0 r240887" amd64 with two 
> ConnectX (InfiniBand) cards. Relevant bits of dmesg and pciconf -lv below. The 
> cards are connected directly to a 10GB Ethernet switch so I need to run them 
> in "eth" mode rather than "ib". Unfortunately they come up in "ib" mode and I 
> don't know how to change it.
>> 
>> The same hardware works fine under CentOS 6.3, though I need to manually set 
> the cards to 'eth' there as well (which I do using a 'connectx_port_config 
> script from Mellanox that twiddles the mlx4_port1 entries under /sys (sysfs). 
> Under FreeBSD I see these sysctls but I can't set them to 'eth' either via 
> /boot/loader.conf or by sysctl after boot, with or without mlxen and/or mlx4ib 
> loaded:
>> sys.device.mlx4_core0.mlx4_port1: ib
>> sys.device.mlx4_core1.mlx4_port1: ib
> 
> So this was just fixed (finally) in HEAD in r253048.  You can how use the
> sysctls to change this.

I saw the commit. Thanks! I'll give it a try at some point (whenever my schedule and hardware availability align).

JN



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2BA72819-3004-4FB6-BB4F-5964B41F6B2F>