Skip to content

sriov: only valid sriov capacity when enabled

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

NetworkManager current code will refuse to activate a connection if its interface has no SRIOV capacity but holding a empty SRIOV settings.

This patch only valid SRIOV capacity when it is enabled(total_vfs > 0).

Resolves: https://issues.redhat.com/browse/RHEL-58397

Merge request reports

Loading