Skip to content

Commit

Permalink
Merge pull request #797 from heyvister1/fix-daemon-unbind-pf
Browse files Browse the repository at this point in the history
SRIOV PF got unbind instead of VF in case of IB link type
  • Loading branch information
SchSeba authored Oct 29, 2024
2 parents ab79e2c + dc299c4 commit 8d9e8da
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 8d9e8da

Please sign in to comment.