From: Sagi Grimberg Date: Wed, 5 Mar 2014 17:43:48 +0000 (+0200) Subject: IB/iser: Support T10-PI operations X-Git-Tag: v3.15-rc1~103^2^4~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=177e31bd5a40999028f6694623ceea1bec5abff6;p=pandora-kernel.git IB/iser: Support T10-PI operations Add logic to initialize protection information entities. Upon each iSCSI task, we keep the scsi_cmnd in order to query the scsi protection operations and reference to protection buffers. Modify iser_fast_reg_mr to receive indication whether it is registering the data or protection buffers. In addition introduce iser_reg_sig_mr which performs fast registration work-request for a signature enabled memory region (IB_WR_REG_SIG_MR). In this routine we set all the protection relevants for the device to offload protection data-transfer and verification. Signed-off-by: Sagi Grimberg Signed-off-by: Alex Tabachnik Signed-off-by: Roland Dreier --- Reading git-diff-tree failed