OSDN Git Service

IB/iser: DIX update
authorSagi Grimberg <sagig@mellanox.com>
Sun, 7 Dec 2014 14:10:06 +0000 (16:10 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:11:46 +0000 (18:11 -0800)
commit5bb6e543d2a7d580ca56317fa38b394ab02638b4
treed7a87ff23ab5979dd73fa6c49315f3d94343198d
parent06c7fb6776ddb0ece4bcee8061eeda4ed4a771dc
IB/iser: DIX update

Following few recent Block integrity updates, we align the iSER data
integrity offload settings with:

- Deprecate pi_guard module param
- Expose support for DIX type 0.
- Use scsi_transfer_length for the transfer length
- Get pi_interval, ref_tag, ref_remap, bg_type and
  check_mask setting from scsi_cmnd

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