Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libhns: Encapsulate context attribute setting into a single function
This patch doesn't involve functional changes. Just encapsulate context attribute setting into a single function set_context_attr() to make hns_roce_alloc_context() more readable. Signed-off-by: Junxian Huang <[email protected]>
- Loading branch information
Junxian Huang
authored and
Junxian Huang
committed
Mar 5, 2024
1 parent
cf6d914
commit fded8e4
Showing
1 changed file
with
40 additions
and
29 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