Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2013 13:33:52 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-net@freebsd.org
Cc:        Alex Liptsin <alexl@mellanox.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: How to switch Datgram/Connected mtu modes?
Message-ID:  <201305291333.52607.jhb@freebsd.org>
In-Reply-To: <64DAB3164E410447932305F50F896D8D6AF651AD@MTLDAG01.mtl.com>
References:  <64DAB3164E410447932305F50F896D8D6AF651AD@MTLDAG01.mtl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, May 26, 2013 7:43:29 am Alex Liptsin wrote:
> Hello.
> 
> I work with FreeBSD 9.1 and Mellanox devices.
> 
> How can I configure MTU in connected mode on FreeBSD 9.1?
> In Linux to enable connected mode for interface ib0, I enter:
> 
>    echo connected > /sys/class/net/ib0/mode
> 
> 
> 
> Switching between CM and UD mode can be done in run time:
> 
>    echo datagram > /sys/class/net/ib0/mode sets the mode of ib0 to UD
> 
>    echo connected > /sys/class/net/ib0/mode sets the mode ib0 to CM
> 
> There is no such directories at FreeBSD. Wat shall I do?

Have you tried looking for dev.ib.0 sysctls?  It looks like the OFED bits in 
FreeBSD map Linux sysfs entries to sysctl nodes, but I don't have a box with 
IB handy to see what it looks like at runtime.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305291333.52607.jhb>