IB/iser: Make reg_desc_get a per device routine
authorSagi Grimberg <sagig@mellanox.com>
Thu, 6 Aug 2015 15:33:01 +0000 (18:33 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:31 +0000 (18:12 -0400)
commit81722909c8f78ee2db62373a74ec2ecb709c112e
treeaa6f676e95c464eae6b29a4939925a6b7c802cc3
parent7d0483c927f429c7aece47e730eaa91007577d99
IB/iser: Make reg_desc_get a per device routine

As for fmrs we will hold a single registration descriptor
as no need for multiple like in the frwr mode (descriptor
for each task). This change helps unifying the duplicate
registration code paths.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_memory.c