k8snetworkplumbingwg / sriov-network-device-plugin

SRIOV network device plugin for Kubernetes
Apache License 2.0
410 stars 177 forks source link

sriov plugin couldn't register VFs in resource pool. #567

Closed thsmfe001 closed 5 months ago

thsmfe001 commented 5 months ago

After installed sriov cni, device plugin and multus cni, sriov resource didn't work well. Based on sriov plugin logs , VF resources of intel_e810 XXV nic cards couldn't be registerd in a resorce pool. How to solve this issue?

Below is sriov plugin logs

kubectl logs kube-sriov-device-plugin-pcxks -n kube-system I0614 14:44:34.416449 1 manager.go:57] Using Kubelet Plugin Registry Mode I0614 14:44:34.416689 1 main.go:46] resource manager reading configs I0614 14:44:34.416714 1 manager.go:86] raw ResourceList: { "resourceList": [ { "resourceName": "intel_e810_XXV_server1_eno16595", "selectors": { "vendors": ["8086"], "devices": ["0d:00.1"], "drivers": ["ice"], "pfNames": ["eno16595"] } }, { "resourceName": "intel_e810_XXV_server1_eno17105", "selectors": { "vendors": ["8086"], "devices": ["b5:00.1"], "drivers": ["ice"], "pfNames": ["eno17105"] } }, { "resourceName": "intel_e810_XXV_server2_enp160s0f1", "selectors": { "vendors": ["8086"], "devices": ["a0:00.1"], "drivers": ["ice"], "pfNames": ["enp160s0f1"] } }, { "resourceName": "intel_e810_XXV_server2_enp13s0f0", "selectors": { "vendors": ["8086"], "devices": ["0d:00.1"], "drivers": ["ice"], "pfNames": ["enp13s0f0"] } } ] } I0614 14:44:34.416813 1 factory.go:211] types.NetDeviceSelectors for resource intel_e810_XXV_server1_eno16595 is [0xc00024e480] I0614 14:44:34.416825 1 factory.go:211] types.NetDeviceSelectors for resource intel_e810_XXV_server1_eno17105 is [0xc00024e7e0] I0614 14:44:34.416831 1 factory.go:211] types.NetDeviceSelectors for resource intel_e810_XXV_server2_enp160s0f1 is [0xc00024e900] I0614 14:44:34.416838 1 factory.go:211] types.NetDeviceSelectors for resource intel_e810_XXV_server2_enp13s0f0 is [0xc00024ea20] I0614 14:44:34.416842 1 manager.go:106] unmarshalled ResourceList: [{ResourcePrefix: ResourceName:intel_e810_XXV_server1_eno16595 DeviceType:netDevice ExcludeTopology:false Selectors:0xc000476cd8 AdditionalInfo:map[] SelectorObjs:[0xc00024e480]} {ResourcePrefix: ResourceName:intel_e810_XXV_server1_eno17105 DeviceType:netDevice ExcludeTopology:false Selectors:0xc000476cf0 AdditionalInfo:map[] SelectorObjs:[0xc00024e7e0]} {ResourcePrefix: ResourceName:intel_e810_XXV_server2_enp160s0f1 DeviceType:netDevice ExcludeTopology:false Selectors:0xc000476d08 AdditionalInfo:map[] SelectorObjs:[0xc00024e900]} {ResourcePrefix: ResourceName:intel_e810_XXV_server2_enp13s0f0 DeviceType:netDevice ExcludeTopology:false Selectors:0xc000476d20 AdditionalInfo:map[] SelectorObjs:[0xc00024ea20]}] I0614 14:44:34.416880 1 manager.go:217] validating resource name "intel.com/intel_e810_XXV_server1_eno16595" I0614 14:44:34.416890 1 manager.go:217] validating resource name "intel.com/intel_e810_XXV_server1_eno17105" I0614 14:44:34.416898 1 manager.go:217] validating resource name "intel.com/intel_e810_XXV_server2_enp160s0f1" I0614 14:44:34.416905 1 manager.go:217] validating resource name "intel.com/intel_e810_XXV_server2_enp13s0f0" I0614 14:44:34.416908 1 main.go:62] Discovering host devices I0614 14:44:34.690299 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:01:00.0 02 Broadcom Inc. and... NetXtreme BCM5720 Gigabit Ethernet PCIe I0614 14:44:34.690354 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:01:00.1 02 Broadcom Inc. and... NetXtreme BCM5720 Gigabit Ethernet PCIe I0614 14:44:34.690361 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:0d:00.0 02 Intel Corporation Ethernet Controller E810-XXV for SFP I0614 14:44:34.690366 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:0d:00.1 02 Intel Corporation Ethernet Controller E810-XXV for SFP I0614 14:44:34.690370 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:0d:01.0 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690373 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:0d:01.1 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690378 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:0d:01.2 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690382 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:0d:01.3 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690386 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:0d:01.4 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690389 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:0d:01.5 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690393 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:0d:01.6 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690396 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:0d:01.7 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690401 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:22:00.0 02 Intel Corporation I350 Gigabit Network Connection I0614 14:44:34.690405 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:22:00.1 02 Intel Corporation I350 Gigabit Network Connection I0614 14:44:34.690408 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:22:00.2 02 Intel Corporation I350 Gigabit Network Connection I0614 14:44:34.690413 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:22:00.3 02 Intel Corporation I350 Gigabit Network Connection I0614 14:44:34.690419 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:b5:00.0 02 Intel Corporation Ethernet Controller E810-XXV for SFP I0614 14:44:34.690424 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:b5:00.1 02 Intel Corporation Ethernet Controller E810-XXV for SFP I0614 14:44:34.690427 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:b5:11.0 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690430 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:b5:11.1 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690434 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:b5:11.2 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690437 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:b5:11.3 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690442 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:b5:11.4 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690447 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:b5:11.5 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690450 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:b5:11.6 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690453 1 auxNetDeviceProvider.go:84] auxnetdevice AddTargetDevices(): device found: 0000:b5:11.7 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.690460 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:01:00.0 02 Broadcom Inc. and... NetXtreme BCM5720 Gigabit Ethernet PCIe I0614 14:44:34.690678 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:01:00.1 02 Broadcom Inc. and... NetXtreme BCM5720 Gigabit Ethernet PCIe I0614 14:44:34.690776 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:0d:00.0 02 Intel Corporation Ethernet Controller E810-XXV for SFP I0614 14:44:34.690969 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:0d:00.1 02 Intel Corporation Ethernet Controller E810-XXV for SFP I0614 14:44:34.691087 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:0d:01.0 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.691181 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:0d:01.1 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.691272 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:0d:01.2 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.691359 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:0d:01.3 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.691440 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:0d:01.4 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.691558 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:0d:01.5 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.691659 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:0d:01.6 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.691756 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:0d:01.7 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.691848 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:22:00.0 02 Intel Corporation I350 Gigabit Network Connection I0614 14:44:34.691983 1 utils.go:494] excluding interface eno12399: default route found: {Ifindex: 3 Dst: Src: Gw: 192.168.10.1 Flags: [] Table: 254 Realm: 0} I0614 14:44:34.692016 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:22:00.1 02 Intel Corporation I350 Gigabit Network Connection I0614 14:44:34.692098 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:22:00.2 02 Intel Corporation I350 Gigabit Network Connection I0614 14:44:34.692169 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:22:00.3 02 Intel Corporation I350 Gigabit Network Connection I0614 14:44:34.692251 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:b5:00.0 02 Intel Corporation Ethernet Controller E810-XXV for SFP I0614 14:44:34.692342 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:b5:00.1 02 Intel Corporation Ethernet Controller E810-XXV for SFP I0614 14:44:34.692513 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:b5:11.0 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.692610 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:b5:11.1 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.692702 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:b5:11.2 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.692799 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:b5:11.3 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.692895 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:b5:11.4 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.692989 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:b5:11.5 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.693069 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:b5:11.6 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.693139 1 netDeviceProvider.go:67] netdevice AddTargetDevices(): device found: 0000:b5:11.7 02 Intel Corporation Ethernet Adaptive Virtual Function I0614 14:44:34.693233 1 main.go:68] Initializing resource servers I0614 14:44:34.693241 1 manager.go:117] number of config: 4 I0614 14:44:34.693246 1 manager.go:121] Creating new ResourcePool: intel_e810_XXV_server1_eno16595 I0614 14:44:34.693250 1 manager.go:122] DeviceType: netDevice I0614 14:44:34.693873 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.0. I0614 14:44:34.694108 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.1. I0614 14:44:34.694325 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.2. I0614 14:44:34.694549 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.3. I0614 14:44:34.694799 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.4. I0614 14:44:34.695085 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.5. I0614 14:44:34.695418 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.6. I0614 14:44:34.695745 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.7. I0614 14:44:34.696678 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.0. I0614 14:44:34.696884 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.1. I0614 14:44:34.697106 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.2. I0614 14:44:34.697329 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.3. I0614 14:44:34.697585 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.4. I0614 14:44:34.697869 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.5. I0614 14:44:34.698169 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.6. I0614 14:44:34.698496 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.7. I0614 14:44:34.698786 1 manager.go:138] initServers(): selector index 0 will register 0 devices I0614 14:44:34.698796 1 manager.go:142] no devices in device pool, skipping creating resource server for intel_e810_XXV_server1_eno16595 I0614 14:44:34.698801 1 manager.go:121] Creating new ResourcePool: intel_e810_XXV_server1_eno17105 I0614 14:44:34.698804 1 manager.go:122] DeviceType: netDevice I0614 14:44:34.699314 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.0. I0614 14:44:34.699504 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.1. I0614 14:44:34.699704 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.2. I0614 14:44:34.699949 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.3. I0614 14:44:34.700193 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.4. I0614 14:44:34.700474 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.5. I0614 14:44:34.700773 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.6. I0614 14:44:34.701093 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.7. I0614 14:44:34.702011 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.0. I0614 14:44:34.702200 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.1. I0614 14:44:34.702394 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.2. I0614 14:44:34.702609 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.3. I0614 14:44:34.702855 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.4. I0614 14:44:34.703126 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.5. I0614 14:44:34.703421 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.6. I0614 14:44:34.703745 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.7. I0614 14:44:34.704029 1 manager.go:138] initServers(): selector index 0 will register 0 devices I0614 14:44:34.704038 1 manager.go:142] no devices in device pool, skipping creating resource server for intel_e810_XXV_server1_eno17105 I0614 14:44:34.704042 1 manager.go:121] Creating new ResourcePool: intel_e810_XXV_server2_enp160s0f1 I0614 14:44:34.704045 1 manager.go:122] DeviceType: netDevice I0614 14:44:34.704554 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.0. I0614 14:44:34.704737 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.1. I0614 14:44:34.704934 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.2. I0614 14:44:34.705147 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.3. I0614 14:44:34.705383 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.4. I0614 14:44:34.705666 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.5. I0614 14:44:34.705964 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.6. I0614 14:44:34.706277 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.7. I0614 14:44:34.707190 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.0. I0614 14:44:34.707370 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.1. I0614 14:44:34.707566 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.2. I0614 14:44:34.707792 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.3. I0614 14:44:34.708032 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.4. I0614 14:44:34.708293 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.5. I0614 14:44:34.708578 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.6. I0614 14:44:34.708890 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.7. I0614 14:44:34.709169 1 manager.go:138] initServers(): selector index 0 will register 0 devices I0614 14:44:34.709177 1 manager.go:142] no devices in device pool, skipping creating resource server for intel_e810_XXV_server2_enp160s0f1 I0614 14:44:34.709181 1 manager.go:121] Creating new ResourcePool: intel_e810_XXV_server2_enp13s0f0 I0614 14:44:34.709185 1 manager.go:122] DeviceType: netDevice I0614 14:44:34.709723 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.0. I0614 14:44:34.709905 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.1. I0614 14:44:34.710110 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.2. I0614 14:44:34.710328 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.3. I0614 14:44:34.710563 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.4. I0614 14:44:34.710828 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.5. I0614 14:44:34.711130 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.6. I0614 14:44:34.711435 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:0d:01.7. I0614 14:44:34.712326 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.0. I0614 14:44:34.712514 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.1. I0614 14:44:34.712710 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.2. I0614 14:44:34.712934 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.3. I0614 14:44:34.713189 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.4. I0614 14:44:34.713458 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.5. I0614 14:44:34.713794 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.6. I0614 14:44:34.714103 1 utils.go:82] Devlink query for eswitch mode is not supported for device 0000:b5:11.7. I0614 14:44:34.714379 1 manager.go:138] initServers(): selector index 0 will register 0 devices I0614 14:44:34.714387 1 manager.go:142] no devices in device pool, skipping creating resource server for intel_e810_XXV_server2_enp13s0f0 I0614 14:44:34.714391 1 main.go:74] Starting all servers... I0614 14:44:34.714396 1 main.go:79] All servers started. I0614 14:44:34.714401 1 main.go:80] Listening for term signals

thsmfe001 commented 5 months ago

I just resolved this issue. The configmap file that i modified caused to not to recognize vf of nic. After changed values of it, sriov function worked well. Thank you.

guojianyu commented 1 month ago

I just resolved this issue. The configmap file that i modified caused to not to recognize vf of nic. After changed values of it, sriov function worked well. Thank you.

Hi,I have the same problem,How did you modify it?

thsmfe001 commented 3 weeks ago

I modified configmap like below.

cat configMap.yaml apiVersion: v1 kind: ConfigMap metadata: name: sriovdp-config namespace: kube-system data: config.json: | { "resourceList": [ { "resourceName": "intel_sriov_netdevice", "selectors": { "vendors": ["8086"], "devices": ["1889"] } }, { "resourceName": "intel_sriov_dpdk", "selectors": { "vendors": ["8086"], "devices": ["154c", "10ed", "1889"], "drivers": ["vfio-pci"], "pfNames": ["eno16595", "eno17105", "enp160s0f1", "enp13s0f0"] } }, { "resourceName": "mlnx_sriov_rdma", "selectors": { "vendors": ["15b3"], "devices": ["101e"], "drivers": ["mlx5_core"], "isRdma": true } }, { "resourceName": "brcm_sriov_bnxt", "selectors": { "vendors": ["14e4"], "devices": ["1750"], "drivers": ["bnxt_en"] } } ] }