]> git.baikalelectronics.ru Git - 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)
commit7d6e7503b07fb880a2b19e8dec3f9de805d3e1a2
tree70aa1827f3e59ec8417992dd9015b53398461487
parent502e4b87fb4f6961ee78c5f83e765e6ca3844abd
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