]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/mlx5: Unfold create RMP function
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 28 Nov 2018 18:53:42 +0000 (20:53 +0200)
committerLeon Romanovsky <leonro@mellanox.com>
Tue, 4 Dec 2018 07:25:55 +0000 (09:25 +0200)
commita1eb180238a71797d84bd91acfb1de1d632623c5
treead4400633cdbdae4ef66fb00f067eb9735a463e9
parentf3da6577da67a3cd44610ca54e308c6838c92157
RDMA/mlx5: Unfold create RMP function

There is no need to perform create_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 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