]> git.baikalelectronics.ru Git - kernel.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)
commitd15fb918719e291a6f115f6a29adb5732600313d
treeac25bd18f2b27677efd5806989ec48b7c10bd17b
parentd566417e898f2526127e05643c4dbf4254379479
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