diff options
author | Gris Ge <fge@redhat.com> | 2023-06-29 10:07:14 +0000 |
---|---|---|
committer | Gris Ge <fge@redhat.com> | 2023-06-29 10:07:14 +0000 |
commit | c6b5dc2552a7f6f87d51b44ae6cf8c33ad6b6ee5 (patch) | |
tree | 5c2456126b0b796d20aaeec2522d630beeda8be1 | |
parent | 7e2f2174ab560b97c899a7fece9d269a4e604044 (diff) | |
parent | 02b892149a8ee10a6caa92f34cad88b042285b7b (diff) |
merge: branch 'sriov_opt'
sriov: do not fail activation on SR-IOV VF failures
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1682
-rw-r--r-- | src/core/devices/nm-device.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index 144c300d84..e2a49de53e 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -9590,11 +9590,7 @@ sriov_params_cb(GError *error, gpointer user_data) if (!nm_platform_link_set_sriov_vfs(nm_device_get_platform(self), priv->ifindex, (const NMPlatformVF *const *) plat_vfs)) { - _LOGE(LOGD_DEVICE, "failed to apply SR-IOV VFs"); - nm_device_state_changed(self, - NM_DEVICE_STATE_FAILED, - NM_DEVICE_STATE_REASON_SRIOV_CONFIGURATION_FAILED); - return; + _LOGW(LOGD_DEVICE, "failed to apply SR-IOV VF configurations"); } priv->stage1_sriov_state = NM_DEVICE_STAGE_STATE_COMPLETED; |