summaryrefslogtreecommitdiff
path: root/drivers/scsi/ibmvscsi_tgt/libsrp.h
diff options
context:
space:
mode:
authorMichael Cyr <mikecyr@us.ibm.com>2017-05-17 01:49:21 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2017-06-09 09:26:37 +0300
commit464fd6419c68bc6b1697e02f46b6d3dd57dfed28 (patch)
tree7cc21beb5b1ec1e3c94326fcdc7e6f75810e74b5 /drivers/scsi/ibmvscsi_tgt/libsrp.h
parent12bdcbd539c6327c09da0503c674733cb2d82cb5 (diff)
downloadlinux-464fd6419c68bc6b1697e02f46b6d3dd57dfed28.tar.xz
ibmvscsis: Enable Logical Partition Migration Support
Changes to support a new mechanism from phyp to better synchronize the logical partition migration (LPM) of the client partition. This includes a new VIOCTL to register that we support this new functionality, and 2 new Transport Event types, and finally another new VIOCTL to let phyp know once we're ready for the Suspend. Signed-off-by: Michael Cyr <mikecyr@us.ibm.com> Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/scsi/ibmvscsi_tgt/libsrp.h')
-rw-r--r--drivers/scsi/ibmvscsi_tgt/libsrp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi_tgt/libsrp.h b/drivers/scsi/ibmvscsi_tgt/libsrp.h
index 4696f331453e..9fec55b36322 100644
--- a/drivers/scsi/ibmvscsi_tgt/libsrp.h
+++ b/drivers/scsi/ibmvscsi_tgt/libsrp.h
@@ -30,10 +30,13 @@ enum srp_trans_event {
UNUSED_FORMAT = 0,
PARTNER_FAILED = 1,
PARTNER_DEREGISTER = 2,
- MIGRATED = 6
+ MIGRATED = 6,
+ PREPARE_FOR_SUSPEND = 9,
+ RESUME_FROM_SUSP = 0xA
};
enum srp_status {
+ CRQ_ENTRY_OVERWRITTEN = 0x20,
HEADER_DESCRIPTOR = 0xF1,
PING = 0xF5,
PING_RESPONSE = 0xF6