IB/isert: Introduce isert_map/unmap_data_buf
authorSagi Grimberg <sagig@mellanox.com>
Wed, 19 Feb 2014 15:50:22 +0000 (17:50 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 7 Apr 2014 08:48:45 +0000 (01:48 -0700)
commite3d7e4c30c494431d492864448fbb16cdd7a6178
treeff13db0fde856e95d66a631fd37bc61b1f7799b6
parent03abad9e8715563ab3eef9609ba4d16b32bfd22d
IB/isert: Introduce isert_map/unmap_data_buf

export map/unmap data buffer to a routine that may
be used in various places in the code and keep the
mapping data in a designated descriptor. Also, let
isert_fast_reg_mr to decide weather to use global
MR or do fast registration.

This commit does not change any functionality.

(Fix context change for v3.14-rc6 code - nab)

Signed-off-by: Sagi Grimberg <sagig@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