summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMax Gurtovoy <maxg@mellanox.com>2019-06-11 18:52:57 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-06-24 17:49:28 +0300
commit7796d2a3bb4037f9c51b8d91d059f1d690ed301f (patch)
tree8ba1512ce227ff4a421cc46a81647c564ecaf20a /net/lapb/lapb_subr.c
parent2563e2f30acb4c914fc475331e476fa920eb4245 (diff)
downloadlinux-7796d2a3bb4037f9c51b8d91d059f1d690ed301f.tar.xz
RDMA/mlx5: Refactor MR descriptors allocation
Improve code readability using static helpers for each memory region type. Re-use the common logic to get smaller functions that are easy to maintain and reduce code duplication. Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Israel Rukshin <israelr@mellanox.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions