diff options
author | Michael Cyr <mikecyr@us.ibm.com> | 2017-05-17 00:49:21 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-06-09 08:26:37 +0200 |
commit | 464fd6419c68bc6b1697e02f46b6d3dd57dfed28 (patch) | |
tree | 7cc21beb5b1ec1e3c94326fcdc7e6f75810e74b5 /drivers/scsi/ibmvscsi_tgt/libsrp.h | |
parent | vhost/scsi: Don't reinvent the wheel but use existing llist API (diff) | |
download | linux-464fd6419c68bc6b1697e02f46b6d3dd57dfed28.tar.xz linux-464fd6419c68bc6b1697e02f46b6d3dd57dfed28.zip |
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.h | 5 |
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 |