]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Refactor DV create flow
authorMaor Gottlieb <maorg@mellanox.com>
Mon, 4 May 2020 05:30:11 +0000 (08:30 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 May 2020 18:55:40 +0000 (15:55 -0300)
commit69638676d80d292bad664eb1fe175bfbf34b3618
tree034d6383aff12fe3b68176ee7fb3901f41ed5fa5
parent44a2d970a564ce6958b6de4fb910a7eca3212975
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>
drivers/infiniband/hw/mlx5/flow.c