-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/iavf: fix VF reset when using DCF
[ upstream commit 0f9ec0cbd2a96c2bde3489fbc8f4e254f639905c ] On the latest ice kernel driver, renegotiating VIRTCHNL_OP_GET_VF_RESOURCES will fail when using DCF (Device Config Function) if a hardware reset is not done. Fix this by sending VIRTCHNL_OP_RESET_VF to PF before DPDK resets VF. Note, this is effectively the following main branch commits squashed: 0f9ec0cbd2a9 ("net/iavf: fix VF reset when using DCF") b34fe66ea893 ("net/iavf: delay VF reset command") Fixes: e74e1bb ("net/iavf: enable port reset") Signed-off-by: Bruce Richardson <[email protected]>
- Loading branch information
1 parent
923f952
commit ed310d7
Showing
3 changed files
with
3 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ INTERNAL { | |
iavf_set_mac_type; | ||
iavf_shutdown_adminq; | ||
iavf_vf_parse_hw_config; | ||
iavf_vf_reset; | ||
|
||
local: *; | ||
}; |
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