diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-05-14 20:54:26 (GMT) |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-05-16 00:09:12 (GMT) |
commit | 52d0aa7980cfee85c831b2969e659055395386d4 (patch) | |
tree | 0d322479c93b9484e37d6db04a6c2da296e4d499 /drivers/target/target_core_device.c | |
parent | ed8ec8f707ed4760c124d47b27c93df8ec5b1eba (diff) | |
download | linux-52d0aa7980cfee85c831b2969e659055395386d4.tar.xz |
iscsi-target: Disable Immediate + Unsolicited Data with ISER Protection
This patch explicitly disables Immediate + Unsolicited Data for ISER
connections during login in iscsi_login_zero_tsih_s2() when protection
has been enabled for the session by the underlying hardware.
This is currently required because protection / signature memory regions
(MRs) expect T10 PI to occur on RDMA READs + RDMA WRITEs transfers, and
not on a immediate data payload associated with ISCSI_OP_SCSI_CMD, or
unsolicited data-out associated with a ISCSI_OP_SCSI_DATA_OUT.
v2 changes:
- Add TARGET_PROT_DOUT_INSERT check (Sagi)
- Add pr_debug noisemaker (Sagi)
- Add goto to avoid early return from MRDSL check (nab)
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_device.c')
0 files changed, 0 insertions, 0 deletions