netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* net-next tree mlx5e set sriov_numf failed
@ 2019-12-10  5:04 wenxu
  0 siblings, 0 replies; only message in thread
From: wenxu @ 2019-12-10  5:04 UTC (permalink / raw)
  To: Linux Kernel Network Developers

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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-10  5:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-10  5:04 net-next tree mlx5e set sriov_numf failed wenxu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).