-
Notifications
You must be signed in to change notification settings - Fork 700
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mlx5: Extend mlx5dv_init_obj() API for devx object
Each mlx5 devx object is assigned a unique handle by the kernel during object creation. All subsequent operations, such as query, modify, and destroy, use this handle. However, this handle is currently not accessible to the application that creates the mlx5 devx object. Access to this handle can be useful in a few scenarios: 1. An application can maintain a mapping of a large number of these devx objects by their unique handles. 2. It is also useful for destroying such an object using a direct ioctl() call. Extend the mlx5dv_init_obj() API to be able to get the kernel handle for a given devx object. Signed-off-by: Parav Pandit <parav@nvidia.com> Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
- Loading branch information
1 parent
dd9c687
commit d03caa6
Showing
3 changed files
with
38 additions
and
4 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