[SCSI] IB/iser: Add Discovery support
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 8 Aug 2013 10:44:29 +0000 (13:44 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 26 Aug 2013 14:53:49 +0000 (18:53 +0400)
To run discovery over iSER we need to advertize the CAP_TEXT_NEGO capability
towards user space. Also need to make sure the login RX buffer is posted when
SendTargets TEXT PDUs are sent. For that end, we use a setting of the
ISCSI_PARAM_DISCOVERY_SESS iscsi param as an indication that this is
discovery session.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found