Skip to content

sriov: do not fail activation on SR-IOV VF failures

Gris Ge requested to merge cathay4t/NetworkManager:sriov_opt into main

When user are changing SR-IOV VF settings for options like max-tx-rate which some hardware not supported yet, the failure of this VF will fail the whole activation, then the SR-IOV will be disabled means all the VFs will be deleted.

Deleting VFs might break network connectivity and this collateral damage of VF option failure is not acceptable for OpenShift use cases even they have checkpoint protection.

This patch only log warn message on failure of VF options and will not fail the activation.

NetworkManager also ignore MTU failure during activation, I believe this fit into the same assumption.

User case reference: https://bugzilla.redhat.com/show_bug.cgi?id=2210164

Edited by Gris Ge

Merge request reports