From dc299c464d838a4d73dffe1978cc9edac0bc64fb Mon Sep 17 00:00:00 2001 From: Ido Heyvi Date: Sun, 27 Oct 2024 16:04:24 +0200 Subject: [PATCH] Fixing daemon sriov VFs config, where PF pci address got unbind instead of VF address, in case of using IB link type Signed-off-by: Ido Heyvi --- pkg/host/internal/sriov/sriov.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/host/internal/sriov/sriov.go b/pkg/host/internal/sriov/sriov.go index bd453ae30..bf9919a7e 100644 --- a/pkg/host/internal/sriov/sriov.go +++ b/pkg/host/internal/sriov/sriov.go @@ -484,7 +484,7 @@ func (s *sriov) configSriovVFDevices(iface *sriovnetworkv1.Interface) error { if err := s.infinibandHelper.ConfigureVfGUID(addr, iface.PciAddress, vfID, pfLink); err != nil { return err } - if err := s.kernelHelper.Unbind(iface.PciAddress); err != nil { + if err := s.kernelHelper.Unbind(addr); err != nil { return err } } else {