Commit ff8d7490 authored by Juan Zhou's avatar Juan Zhou Committed by shiyongbang
Browse files

RDMA/hns: Refactor hns_roce_alloc_ucontext()

driver inclusion
category: cleanup
bugzilla: https://gitee.com/openeuler/kernel/issues/I87LTM



--------------------------------------------------------------------------

In the hns_roce_alloc_ucontext() function, the configuration
code is too much. Extract this part of the code into the function
hns_roce_get_uctx_config() to improve readability.

Signed-off-by: default avatarJuan Zhou <zhoujuan51@h-partners.com>
parent 35797503
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment