Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Sep 2016 12:00:20 -0400
From:      "George Neville-Neil" <gnn@neville-neil.com>
To:        "Hans Petter Selasky" <hps@selasky.org>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: Issues with mlx5en ?
Message-ID:  <CE257861-F83E-4543-8FBE-370804F60477@neville-neil.com>
In-Reply-To: <11ee453b-1d4e-744c-65f5-7961f6cb61c7@selasky.org>
References:  <27D0515C-6567-447E-9B6C-8885538CDFD8@neville-neil.com> <11ee453b-1d4e-744c-65f5-7961f6cb61c7@selasky.org>

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



On 29 Aug 2016, at 13:12, Hans Petter Selasky wrote:

> On 08/29/16 18:35, George Neville-Neil wrote:
>> Howdy,
>>
>> I'm trying to do some testing on the mlx5 cards at Sentex.  WIth both
>> HEAD and stable11 I get this:
>>
>> root@mercat1:~ # kldload mlx5en
>> mlx5_core0: <mlx5_core> mem 0xf8000000-0xf9ffffff irq 32 at device 
>> 0.0
>> on pci3
>> mlx5_core0: INFO: firmware version: 12.100.6440
>> mlx5_core: WARN: command failed, status bad parameter(0x3), syndrome
>> 0x5add95
>> mlx5_core: WARN: mlx5_core0:mlx5_core_get_caps:305:(pid 763):
>> QUERY_HCA_CAP : type(9) opmode(1) Failed(-22)
>> mlx5_core0: ERR: query hca failed
>> mlx5_core0: ERR: mlx5_dev_init failed -22
>> device_attach: mlx5_core0 attach returned 22
>> mlx5_core0: <mlx5_core> mem 0xf6000000-0xf7ffffff irq 32 at device 
>> 0.1
>> on pci3
>> mlx5_core0: INFO: firmware version: 12.100.6440
>> mlx5_core: WARN: command failed, status bad parameter(0x3), syndrome
>> 0x5add95
>> mlx5_core: WARN: mlx5_core0:mlx5_core_get_caps:305:(pid 763):
>> QUERY_HCA_CAP : type(9) opmode(1) Failed(-22)
>> mlx5_core0: ERR: query hca failed
>> mlx5_core0: ERR: mlx5_dev_init failed -22
>> device_attach: mlx5_core0 attach returned 22
>>
>> this is the output of pciconf -lv
>>
>> none72@pci0:2:0:0:      class=0x020700 card=0x000815b3 
>> chip=0x101315b3
>> rev=0x00
>> hdr=0x00
>>     vendor     = 'Mellanox Technologies'
>>     device     = 'MT27700 Family [ConnectX-4]'
>>     class      = network
>> none73@pci0:2:0:1:      class=0x020700 card=0x000815b3 
>> chip=0x101315b3
>> rev=0x00
>> hdr=0x00
>>     vendor     = 'Mellanox Technologies'
>>     device     = 'MT27700 Family [ConnectX-4]'
>>     class      = network
>>
>> Thouhgts?
>
> Hi George,
>
> Did you try to upgrade the firmware? The latest official is 12.16.xxx?
>
> Also, did you try to set the port mode to ETH using:
>
> mlxconfig -d PCI_ID set LINK_TYPE_P1=2
> mlxconfig -d PCI_ID set LINK_TYPE_P2=2
>
> Links:
> http://www.mellanox.com/page/management_tools
> http://www.mellanox.com/page/firmware_NIC_FW_update
>

With the firmware update the devices work, but netmap does not, which is 
a different issue, I know.

Thanks,
George


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE257861-F83E-4543-8FBE-370804F60477>