]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commit203099fd731c8d74da3b00c895cfd68c6cf1ff73
tree70aa1827f3e59ec8417992dd9015b53398461487
parentc1868b822515313c72445e70b7d9e47d8815bc52
IB/mlx5: Decrease memory consumption of mr caches

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>
drivers/infiniband/hw/mlx5/mr.c