diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2014-03-05 12:43:50 -0500 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-03-18 01:33:58 -0400 |
commit | 0a7a08ad6f5f344d592fe63403f48e67395e08bf (patch) | |
tree | f2da128941225ad2dcd4d77d6f9a0fe1727c8be3 /drivers/infiniband/ulp/iser/iscsi_iser.h | |
parent | 55e51eda4820ec5a1c1fc8693a51029f74eac2b9 (diff) |
IB/iser: Implement check_protection
Once the iSCSI transaction is completed we must implement
check_protection in order to notify on DIF errors that may have
occured.
The routine boils down to calling ib_check_mr_status to get the
signature status of the transaction.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Alex Tabachnik <alext@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.h')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h index fce54092d300..95f291fca178 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.h +++ b/drivers/infiniband/ulp/iser/iscsi_iser.h | |||
@@ -483,4 +483,6 @@ int iser_create_fmr_pool(struct iser_conn *ib_conn, unsigned cmds_max); | |||
483 | void iser_free_fmr_pool(struct iser_conn *ib_conn); | 483 | void iser_free_fmr_pool(struct iser_conn *ib_conn); |
484 | int iser_create_fastreg_pool(struct iser_conn *ib_conn, unsigned cmds_max); | 484 | int iser_create_fastreg_pool(struct iser_conn *ib_conn, unsigned cmds_max); |
485 | void iser_free_fastreg_pool(struct iser_conn *ib_conn); | 485 | void iser_free_fastreg_pool(struct iser_conn *ib_conn); |
486 | u8 iser_check_task_pi_status(struct iscsi_iser_task *iser_task, | ||
487 | enum iser_data_dir cmd_dir, sector_t *sector); | ||
486 | #endif | 488 | #endif |