Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2015 16:47:45 +0000 (UTC)
From:      rondzierwa@comcast.net
To:        Vadim Alimov <vadim@alimov.net>
Cc:        freebsd-infiniband@freebsd.org
Subject:   Re: Does mlxen work on FreeBSD 10.1 with ConnectX-3
Message-ID:  <27141688.23164574.1432918065254.JavaMail.zimbra@comcast.net>
In-Reply-To: <556890F9.6040208@alimov.net>
References:  <D0F814BB.ADF5%flewis@panasas.com> <556847FF.8000004@alimov.net> <1801993404.23038823.1432909934595.JavaMail.zimbra@comcast.net> <556890F9.6040208@alimov.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Sounds like either the cable is wrong, or the other end that its connected to isn't active. 

Try connecting both ports together. If the cable is right, they both should see carrier. 
Once the cable is connected, you might have to do an ifconfig on each one to turn it on. something like 

ifconfig mlxen0 192.168.20.1 netmask 255.255.255.0 up 
ifconfig mlxen1 92.168.20.2 netmask 255.255.255.0 up 


ron. 


----- Original Message -----

From: "Vadim Alimov" <vadim@alimov.net> 
To: rondzierwa@comcast.net 
Cc: freebsd-infiniband@freebsd.org 
Sent: Friday, May 29, 2015 12:16:57 PM 
Subject: Re: Does mlxen work on FreeBSD 10.1 with ConnectX-3 

Yeah, there are mlxen0 and mlxen1 devices, but they are "no carrier" whatever i do. 
As I guess, there are two possible reasons: 
1) the qsfp cable i use is incompatible (has a wrong firmware) with mellanox chip 
2) freebsd driver does not work 

I'll try to setup linux. If it goes the same i'll have to order native mellanox cable. 

I'll write you down the results. Thanks. 

Regards, Vadim. 
Vadim Alimov
CIO
Maximum-Net LLC vadim@alimov.net skype: vadim.alimov
office: +38 044-374-04-51 ext. 601
cellular: +38 067-827-05-77 
On 05/29/2015 05:32 PM, rondzierwa@comcast.net wrote: 




You seem to have gotten further than I did, I could not get a driver to recognize the card I was trying to use. 

Our current approach has been to switch to Solaris. Our options are more plentiful there, and coverage for various hardware seems more complete. 

>From your dmesg output, it looks like the ethernet device should be there. Try "ifconfig -a". You should see a new device called mlxen0: My plan was to hard configure the IB links in the rc.conf file like: 

ifconfig_mlxen0="inet 192.168.22.1 netmask 255.255.255.0" 




ron. 




----- Original Message -----

From: "Vadim Alimov" <vadim@alimov.net> 
To: freebsd-infiniband@freebsd.org 
Sent: Friday, May 29, 2015 7:05:35 AM 
Subject: Re: Does mlxen work on FreeBSD 10.1 with ConnectX-3 

Hi. 

Did you manage to bring up a mellanox NIC with qsfp port as an ethernet 
device? 
I'm facing exactly the same issue. 

mlx4_core0: <mlx4_core> mem 0xfbd00000-0xfbdfffff,0xf9800000-0xf9ffffff 
irq 16 at device 0.0 on pci4 
mlx4_core: Mellanox ConnectX core driver v2.1 (May 28 2015) 
mlx4_en: Mellanox ConnectX HCA Ethernet driver v2.1 (May 28 2015) 
mlxen0: Ethernet address: 00:21:cc:49:48:93 
mlx4_en: mlx4_core0: Port 1: Using 8 TX rings 
mlx4_en: mlx4_core0: Port 1: Using 8 RX rings 

Forward thanks for help. 
Vadim. 

-- 
Vadim Alimov 
CIO 
Maximum-Net LLC 
vadim@alimov.net 
skype: vadim.alimov 
office: +38 044-374-04-51 ext. 601 
cellular: +38 067-827-05-77 

_______________________________________________ 
freebsd-infiniband@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-infiniband 
To unsubscribe, send any mail to "freebsd-infiniband-unsubscribe@freebsd.org" 








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