-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli/sriov: set eswitch regardless of pcidev.vfs
The call to pcidev.devlink_set was still inside a check for the existence of VFs. Move it to outside of it. Add a test to cover the case where the unbind_vfs operation fails.
- Loading branch information
1 parent
12a7182
commit 07be775
Showing
2 changed files
with
87 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters