Closed dahsing closed 5 years ago
@BigXin , can you please share the output of kernel log messages such as /var/log/messages?
@paravmellanox
Sep 18 00:35:28 localhost kernel: mlx5_core 0000:82:00.0: mlx5_device_enable_sriov:87:(pid 26690): failed to enable SRIOV on device, already enabled with 8 vfs
Sep 18 00:35:28 localhost kernel: mlx5_core 0000:82:00.0: mlx5_sriov_enable:196:(pid 26690): mlx5_device_enable_sriov failed : -16
Sep 18 00:35:29 localhost kernel: IPVS: Creating netns size=2040 id=6317
Sep 18 00:35:29 localhost kernel: mlx5_core 0000:82:00.0: mlx5_device_enable_sriov:87:(pid 26810): failed to enable SRIOV on device, already enabled with 8 vfs
Sep 18 00:35:29 localhost kernel: mlx5_core 0000:82:00.0: mlx5_sriov_enable:196:(pid 26810): mlx5_device_enable_sriov failed : -16
Sep 18 00:35:30 localhost kernel: IPVS: Creating netns size=2040 id=6318
Sep 18 00:35:30 localhost kernel: mlx5_core 0000:82:00.0: mlx5_device_enable_sriov:87:(pid 26933): failed to enable SRIOV on device, already enabled with 8 vfs
Sep 18 00:35:30 localhost kernel: mlx5_core 0000:82:00.0: mlx5_sriov_enable:196:(pid 26933): mlx5_device_enable_sriov failed : -16
Sep 18 00:35:31 localhost kernel: IPVS: Creating netns size=2040 id=6319
it looks like have already enabled with 8 vfs
@BigXin when you read the sriov_numvfs and if that reads 0 but if you still this error message from driver, it indicates a driver bug who failed to enable sriov at first time likely to due to missing to enable sriov at BIOS level, is it possible to share a system log from beginning (from system boot time?)
@paravmellanox I'll check the BIOS first ,maybe this node was forgetting to enable sriov
@BigXin ok. Also share the output of lspci -vvv if possible in case if the issue is not resolved.
@paravmellanox Thanks a lot, it was resolved.
@BigXin awesome, can you please close the issue?
Hi, I've met a problem. I have several nodes deployed with rdma sriov device plugin and the sriov cni. when i running the rdma sriov device plugin , it returns error. I've checked the log as below:
And i check the /sys/class/net/ens5f0/device/sriov_numvfs file with echo.
Enviroment:
Thanks for your help!