IB/iser: Add support for iser CM REQ additional info
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 1 May 2013 13:25:27 +0000 (13:25 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 2 May 2013 00:34:14 +0000 (17:34 -0700)
commit8d8399deb0434df6efb3a54a0efeac677e310fc1
tree20623c0b993f1eda9d179e21e24fd49495ce7e45
parent450d1e40d597dd71843457c73d372c4b4f2a83eb
IB/iser: Add support for iser CM REQ additional info

Annex A12 of the IBTA spec defines additional information that needs
to be provided through the CM exchange relating to usage of ZBVA (Zero
Based VAs) and Send With Invalidate over an iSER connection.

Currently, the initiator sets both to not supported, but does provide
the header so that existing iSER targets can be patched to start
looking on the private data carried by the CM.

This is a preparation step to enable iSER with HW drivers for which
FMRs are not supported, such as mlx4 VF instances or new HW devices
which might support only FRWR (Fast Registration Work-Requests) along
the details of the IB_DEVICE_MEM_MGT_EXTENSIONS device capability.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_verbs.c