Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyverbs: Add query_gid_table and query_gid_ex methods
Add two new methods to Context class: query_gid_table and query_gid_ex. query_gid_table queries all GID tables of the device and returns a list of GIDEntry objects containing all valid GID entries. query_gid_ex queries the GID table of the given port in the given index and returns a GIDEntry object. Signed-off-by: Avihai Horon <avihaih@nvidia.com> Signed-off-by: Edward Srouji <edwards@nvidia.com>
- Loading branch information
1 parent
bbb4f4c
commit e03754e
Showing
4 changed files
with
127 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
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