summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx5/main.c
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2020-05-04 08:30:11 +0300
committerJason Gunthorpe <jgg@mellanox.com>2020-05-13 15:55:40 -0300
commitb9019507aa6e3e6a039573eb6743b38bf846771b (patch)
tree034d6383aff12fe3b68176ee7fb3901f41ed5fa5 /drivers/infiniband/hw/mlx5/main.c
parent10c261551359e37670a200c55c492f4aba7d23ed (diff)
downloadlwn-b9019507aa6e3e6a039573eb6743b38bf846771b.tar.gz
lwn-b9019507aa6e3e6a039573eb6743b38bf846771b.zip
RDMA/mlx5: Refactor DV create flow
Move part of the code that get the destinations into function so the code will be more readable. In addition change the variables definition to be in reversed christmas tree. Link: https://lore.kernel.org/r/20200504053012.270689-4-leon@kernel.org Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Reviewed-by: Mark Zhang <markz@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
0 files changed, 0 insertions, 0 deletions