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>] [day] [month] [year] [list]
Date:   Tue, 10 Dec 2019 13:04:00 +0800
From:   wenxu <wenxu@...oud.cn>
To:     Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: net-next tree mlx5e set sriov_numf failed

Hi mellanox team,

I test the net-next branch, set the sriov_numvf fail for

Cannot allocate memory


# uname -r
5.5.0-rc1+

# ethtool -i eth0
driver: mlx5_core
version: 5.0-0
firmware-version: 16.25.1020 (MT_0000000080)
expansion-rom-version:
bus-info: 0000:81:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes

# echo 1 > /sys/class/net/eth0/device/sriov_numvfs
-bash: echo: write error: Cannot allocate memory

dmesg show:
[Tue Dec 10 12:24:26 2019] mlx5_core 0000:81:00.0: E-Switch: Enable: mode(LEGACY), nvfs(1), active vports(2)
[Tue Dec 10 12:24:26 2019] mlx5_core 0000:81:00.0: not enough MMIO resources for SR-IOV
[Tue Dec 10 12:24:26 2019] mlx5_core 0000:81:00.0: mlx5_sriov_enable:149:(pid 20601): pci_enable_sriov failed : -12
[Tue Dec 10 12:24:26 2019] mlx5_core 0000:81:00.0: E-Switch: Disable: mode(LEGACY), nvfs(1), active vports(2)


BR

wenxu




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ