]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/mlx5: Unfold modify RMP function
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 28 Nov 2018 18:53:43 +0000 (20:53 +0200)
committerLeon Romanovsky <leonro@mellanox.com>
Tue, 4 Dec 2018 07:26:00 +0000 (09:26 +0200)
commit36ff48805ae457d79886147913ad07056780dca0
treeac25bd18f2b27677efd5806989ec48b7c10bd17b
parenta1eb180238a71797d84bd91acfb1de1d632623c5
RDMA/mlx5: Unfold modify RMP function

There is no need to perform modify_rmp in two separate function,
while one of them uses stack as a placeholder for data while other
allocates it dynamically. Combine those two functions to one call
instead of two.

Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/hw/mlx5/srq_cmd.c