iser-target: generalize rdma memory registration and cleanup
authorVu Pham <vu@mellanox.com>
Wed, 28 Aug 2013 20:23:34 +0000 (23:23 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 10 Sep 2013 23:48:50 +0000 (16:48 -0700)
commitd40945d8c2fbbff8adb6f35cc3e268df4934eb2a
tree29dd17cc85d3f273652e70230d57cae2fa35f2ac
parent90ecc6e251c06971a13f5b7bae0d7e29dffd0c6c
iser-target: generalize rdma memory registration and cleanup

Current driver uses global dma key to register the memory pointed
by sg list provided by the target core.

This is the preparation step for adding more methods like fast
path memory registration, make the reg/unreg calls be function
pointers.

Signed-off-by: Vu Pham <vu@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/isert/ib_isert.h