Target/iser: Use Fastreg only if device supports signature
authorSagi Grimberg <sagig@mellanox.com>
Thu, 27 Mar 2014 17:22:25 +0000 (19:22 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 7 Apr 2014 08:48:52 +0000 (01:48 -0700)
commitf225225848a70006d039b4caa2a089b660756cd5
tree13a897eddd3f57a325657c29abccb7ee0eb10224
parent03e7848a64ed535a30f5d7fc6dede2d5a6a2534b
Target/iser: Use Fastreg only if device supports signature

Fastreg is mandatory for signature, so if the
device doesn't support it we don't need to use it.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c