using ConnectX card as Ethernet (mlxen)

Eggert, Lars lars at netapp.com
Mon Jan 20 13:57:21 UTC 2014


Hi,

if I leave the mlx4ib device out of the kernel (i.e., only compile in mlxen), doing the sysctl switch to Ethernet mode works fine.

Lars

On 2014-1-20, at 13:08, Eggert, Lars <lars at netapp.com> wrote:

> Hi,
> 
> On 2013-7-9, at 22:08, John Nielsen <lists at jnielsen.net> wrote:
> On Jul 9, 2013, at 9:58 AM, John Baldwin <jhb at freebsd.org> wrote:
>>> 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).
> 
> is this supposed to work at the moment? When I try, the machine seems to crash:
> 
> root at one:~ # sysctl sys.device.mlx4_core0.mlx4_port1=eth
> sys.device.mlx4_core0.mlx4_port1: auto (ib)
> Write failed: Broken pipe
> Shared connection to xxx closed.
> 
> Unfortunately I don't have serial console access at the moment, so I can't access any messages that may have gotten dumped.
> 
> The cards in question are:
> 
> mlx4_core0 at pci0:17:0:0:	class=0x028000 card=0x005015b3 chip=0x100315b3 rev=0x00 hdr=0x00
>    vendor     = 'Mellanox Technologies'
>    device     = 'MT27500 Family [ConnectX-3]'
>    class      = network
> 
> Lars

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140120/61fa9d95/attachment.sig>


More information about the freebsd-current mailing list