lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ilarpl4p.fsf@n90.eu>
Date: Mon, 10 Jul 2023 20:10:12 +0000
From: Aleksander Trofimowicz <alex@....eu>
To: Mark Bloch <mbloch@...dia.com>
Cc: netdev@...r.kernel.org
Subject: Re: [bug] failed to enable eswitch SRIOV in mlx5_device_enable_sriov()

Hi Mark,

Mark Bloch <mbloch@...dia.com> writes:

> On 10/07/2023 18:25, Aleksander Trofimowicz wrote:
>>
>> I've noticed a regression in the mlx5_core driver: defining VFs via
>> /sys/bus/pci/devices/.../sriov_numvfs is no longer possible.
>>
>> Upon a write call the following error is returned:
>>
>>
>> Jul 10 11:07:44 server kernel: mlx5_core 0000:c1:00.0: mlx5_cmd_out_err:803:(pid 1097): QUERY_HCA_CAP(0x100) op_mod(0x40) failed, status bad parameter(0x3), syndrome (0x5add95), err(-22)
>> Jul 10 11:07:44 server kernel: mlx5_core 0000:c1:00.0: mlx5_device_enable_sriov:82:(pid 1097): failed to enable eswitch SRIOV (-22)
>> Jul 10 11:07:44 server kernel: mlx5_core 0000:c1:00.0: mlx5_sriov_enable:168:(pid 1097): mlx5_device_enable_sriov failed : -22
>>
>
> This should fix the issue:
> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c?id=6496357aa5f710eec96f91345b9da1b37c3231f6
>
Indeed, it should. Thanks for pointing the fix out.

--
Kind regards,
Aleksander Trofimowicz

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ