Browse Source

pass correct parameters to _set_vf_guid_sysfs_mlnx5

Change-Id: I14101d952dc154beb75445f8802a52170243ac61
changes/82/707382/1
Adrian Chiris 1 week ago
parent
commit
7022d1f319
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      networking_mlnx/eswitchd/utils/ib_utils.py

+ 1
- 1
networking_mlnx/eswitchd/utils/ib_utils.py View File

@@ -252,7 +252,7 @@ class IbUtils(object):
except api_exceptions.NetlinkRuntimeError as e:
LOG.debug("Failed to set vf guid via netdev API. "
"%s, attempting to set vf guid via sysfs", str(e))
self._set_vf_guid_sysfs_mlnx5(vguid, pf_mlx_dev, vf_pci_slot)
self._set_vf_guid_sysfs_mlnx5(vguid, pf_mlx_dev, vf_idx)

if vguid == constants.MLNX5_INVALID_GUID:
net_dev_api.set_vf_admin_state(

Loading…
Cancel
Save