commit | bd8b944eeeb06f5dac705d2357af3800395174eb | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagig@mellanox.com> | Tue Apr 14 18:08:21 2015 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Wed Apr 15 16:07:13 2015 -0400 |
tree | 9dcdddaa34ac46310a2caf8f1696486e31246924 | |
parent | f0e35c27a5962cbd17fc58737c7f5f7b398bccb1 [diff] |
IB/iser: Move fastreg descriptor pool get/put to helper functions Instead of open-coding connection fastreg pool get/put, we introduce iser_reg_desc[get|put] helpers. We aren't setting these static as this will be a per-device routine later on. Also, cleanup iser_unreg_rdma_mem_fastreg a bit. This patch does not change any functionality. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Adir Lev <adirl@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>