Skip to content

Commit

Permalink
Fixing daemon sriov VFs config, where PF pci address got unbind inste…
Browse files Browse the repository at this point in the history
…ad of VF address, in case of using IB link type

Signed-off-by: Ido Heyvi <[email protected]>
  • Loading branch information
heyvister1 committed Oct 27, 2024
1 parent 68b6c02 commit dc299c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/host/internal/sriov/sriov.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dc299c4

Please sign in to comment.