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)
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>

No differences found