forked from k8snetworkplumbingwg/sriovnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GetDefaultPkeyFromPci and GetPKeyByIndexFromPci functions
The functions read the from the PCI device's infiniband dir and returns either the PKey for index0 or given index Signed-off-by: amaslennikov <amaslennikov@nvidia.com>
- Loading branch information
1 parent
684547d
commit 11b7b17
Showing
2 changed files
with
85 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