Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
viosrp.h File Reference
#include <scsi/srp.h>

Go to the source code of this file.

Data Structures

union  srp_iu
 
struct  viosrp_crq
 
struct  mad_common
 
struct  viosrp_empty_iu
 
struct  viosrp_error_log
 
struct  viosrp_adapter_info
 
struct  viosrp_host_config
 
struct  viosrp_fast_fail
 
struct  viosrp_capabilities
 
struct  mad_capability_common
 
struct  mad_reserve_cap
 
struct  mad_migration_cap
 
struct  capabilities
 
union  mad_iu
 
union  viosrp_iu
 
struct  mad_adapter_info_data
 

Macros

#define SRP_VERSION   "16.a"
 
#define SRP_MAX_IU_LEN   256
 
#define SRP_MAX_LOC_LEN   32
 

Enumerations

enum  viosrp_crq_formats {
  VIOSRP_SRP_FORMAT = 0x01, VIOSRP_MAD_FORMAT = 0x02, VIOSRP_OS400_FORMAT = 0x03, VIOSRP_AIX_FORMAT = 0x04,
  VIOSRP_LINUX_FORMAT = 0x06, VIOSRP_INLINE_FORMAT = 0x07
}
 
enum  viosrp_crq_status {
  VIOSRP_OK = 0x0, VIOSRP_NONRECOVERABLE_ERR = 0x1, VIOSRP_VIOLATES_MAX_XFER = 0x2, VIOSRP_PARTNER_PANIC = 0x3,
  VIOSRP_DEVICE_BUSY = 0x8, VIOSRP_ADAPTER_FAIL = 0x10, VIOSRP_OK2 = 0x99
}
 
enum  viosrp_mad_types {
  VIOSRP_EMPTY_IU_TYPE = 0x01, VIOSRP_ERROR_LOG_TYPE = 0x02, VIOSRP_ADAPTER_INFO_TYPE = 0x03, VIOSRP_HOST_CONFIG_TYPE = 0x04,
  VIOSRP_CAPABILITIES_TYPE = 0x05, VIOSRP_ENABLE_FAST_FAIL = 0x08
}
 
enum  viosrp_mad_status { VIOSRP_MAD_SUCCESS = 0x00, VIOSRP_MAD_NOT_SUPPORTED = 0xF1, VIOSRP_MAD_FAILED = 0xF7 }
 
enum  viosrp_capability_type { MIGRATION_CAPABILITIES = 0x01, RESERVATION_CAPABILITIES = 0x02 }
 
enum  viosrp_capability_support { SERVER_DOES_NOT_SUPPORTS_CAP = 0x0, SERVER_SUPPORTS_CAP = 0x01, SERVER_CAP_DATA = 0x02 }
 
enum  viosrp_reserve_type { CLIENT_RESERVE_SCSI_2 = 0x01 }
 
enum  viosrp_capability_flag { CLIENT_MIGRATED = 0x01, CLIENT_RECONNECT = 0x02, CAP_LIST_SUPPORTED = 0x04, CAP_LIST_DATA = 0x08 }
 

Macro Definition Documentation

#define SRP_MAX_IU_LEN   256

Definition at line 39 of file viosrp.h.

#define SRP_MAX_LOC_LEN   32

Definition at line 40 of file viosrp.h.

#define SRP_VERSION   "16.a"

Definition at line 38 of file viosrp.h.

Enumeration Type Documentation

Enumerator:
CLIENT_MIGRATED 
CLIENT_RECONNECT 
CAP_LIST_SUPPORTED 
CAP_LIST_DATA 

Definition at line 116 of file viosrp.h.

Enumerator:
SERVER_DOES_NOT_SUPPORTS_CAP 
SERVER_SUPPORTS_CAP 
SERVER_CAP_DATA 

Definition at line 106 of file viosrp.h.

Enumerator:
MIGRATION_CAPABILITIES 
RESERVATION_CAPABILITIES 

Definition at line 101 of file viosrp.h.

Enumerator:
VIOSRP_SRP_FORMAT 
VIOSRP_MAD_FORMAT 
VIOSRP_OS400_FORMAT 
VIOSRP_AIX_FORMAT 
VIOSRP_LINUX_FORMAT 
VIOSRP_INLINE_FORMAT 

Definition at line 54 of file viosrp.h.

Enumerator:
VIOSRP_OK 
VIOSRP_NONRECOVERABLE_ERR 
VIOSRP_VIOLATES_MAX_XFER 
VIOSRP_PARTNER_PANIC 
VIOSRP_DEVICE_BUSY 
VIOSRP_ADAPTER_FAIL 
VIOSRP_OK2 

Definition at line 63 of file viosrp.h.

Enumerator:
VIOSRP_MAD_SUCCESS 
VIOSRP_MAD_NOT_SUPPORTED 
VIOSRP_MAD_FAILED 

Definition at line 95 of file viosrp.h.

Enumerator:
VIOSRP_EMPTY_IU_TYPE 
VIOSRP_ERROR_LOG_TYPE 
VIOSRP_ADAPTER_INFO_TYPE 
VIOSRP_HOST_CONFIG_TYPE 
VIOSRP_CAPABILITIES_TYPE 
VIOSRP_ENABLE_FAST_FAIL 

Definition at line 86 of file viosrp.h.

Enumerator:
CLIENT_RESERVE_SCSI_2 

Definition at line 112 of file viosrp.h.