IB/iser: Implement check_protection
authorSagi Grimberg <sagig@mellanox.com>
Wed, 5 Mar 2014 17:43:50 +0000 (19:43 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 18 Mar 2014 05:33:58 +0000 (22:33 -0700)
commit0a7a08ad6f5f344d592fe63403f48e67395e08bf
treef2da128941225ad2dcd4d77d6f9a0fe1727c8be3
parent55e51eda4820ec5a1c1fc8693a51029f74eac2b9
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>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_verbs.c