IB/mlx5: Decrease memory consumption of mr caches
authorEli Cohen <eli@mellanox.com>
Wed, 11 Sep 2013 13:35:26 +0000 (16:35 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 10 Oct 2013 16:23:56 +0000 (09:23 -0700)
Change the logic so we do not allocate memory nor map the device
before actually posting to the REG_UMR QP. In addition, unmap and free
the memory after we get completion.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found