diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-09 13:09:26 -0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-28 16:41:13 -0300 |
commit | c2edcd69351f681594a30b17b7fbc5259a038fb0 (patch) | |
tree | 27462e3178868fa46ea6379c3a5cad26f8d1d278 /drivers/accessibility | |
parent | 3d5f3c54e7bc82a279c80c18087462c0ce00ba44 (diff) | |
download | linux-c2edcd69351f681594a30b17b7fbc5259a038fb0.tar.bz2 |
RDMA/mlx5: Lift implicit_mr_alloc() into the two routines that call it
This makes the routines easier to understand, particularly with respect
the locking requirements of the entire sequence. The implicit_mr_alloc()
had a lot of ifs specializing it to each of the callers, and only a very
small amount of code was actually shared.
Following patches will cause the flow in the two functions to diverge
further.
Link: https://lore.kernel.org/r/20191009160934.3143-7-jgg@ziepe.ca
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions