]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb174e5156c55a3dcd74f814308d7518e01449ea5
treef2da128941225ad2dcd4d77d6f9a0fe1727c8be3
parentd3e8ff51ef80572981534e278425c095c3098cfe
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