Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
zfcp_fsf.h File Reference
#include <linux/pfn.h>
#include <linux/scatterlist.h>
#include <scsi/libfc.h>

Go to the source code of this file.

Data Structures

struct  zfcp_fsf_cfdc
 
struct  fsf_queue_designator
 
struct  fsf_bit_error_payload
 
struct  fsf_link_down_info
 
struct  fsf_status_read_buffer
 
struct  fsf_qual_version_error
 
struct  fsf_qual_sequence_error
 
struct  fsf_qual_latency_info
 
union  fsf_prot_status_qual
 
struct  fsf_qtcb_prefix
 
struct  fsf_statistics_info
 
union  fsf_status_qual
 
struct  fsf_qtcb_header
 
struct  fsf_qtcb_bottom_io
 
struct  fsf_qtcb_bottom_support
 
struct  fsf_qtcb_bottom_config
 
struct  fsf_qtcb_bottom_port
 
union  fsf_qtcb_bottom
 
struct  fsf_qtcb
 
struct  zfcp_blk_drv_data
 
struct  zfcp_fsf_ct_els
 

Macros

#define FSF_QTCB_CURRENT_VERSION   0x00000001
 
#define FSF_QTCB_FCP_CMND   0x00000001
 
#define FSF_QTCB_ABORT_FCP_CMND   0x00000002
 
#define FSF_QTCB_OPEN_PORT_WITH_DID   0x00000005
 
#define FSF_QTCB_OPEN_LUN   0x00000006
 
#define FSF_QTCB_CLOSE_LUN   0x00000007
 
#define FSF_QTCB_CLOSE_PORT   0x00000008
 
#define FSF_QTCB_CLOSE_PHYSICAL_PORT   0x00000009
 
#define FSF_QTCB_SEND_ELS   0x0000000B
 
#define FSF_QTCB_SEND_GENERIC   0x0000000C
 
#define FSF_QTCB_EXCHANGE_CONFIG_DATA   0x0000000D
 
#define FSF_QTCB_EXCHANGE_PORT_DATA   0x0000000E
 
#define FSF_QTCB_DOWNLOAD_CONTROL_FILE   0x00000012
 
#define FSF_QTCB_UPLOAD_CONTROL_FILE   0x00000013
 
#define FSF_IO_COMMAND   0x00000001
 
#define FSF_SUPPORT_COMMAND   0x00000002
 
#define FSF_CONFIG_COMMAND   0x00000003
 
#define FSF_PORT_COMMAND   0x00000004
 
#define FSF_CFDC_OPERATION_SUBTYPE   0x00020001
 
#define FSF_CFDC_OPTION_NORMAL_MODE   0x00000000
 
#define FSF_CFDC_OPTION_FORCE   0x00000001
 
#define FSF_CFDC_OPTION_FULL_ACCESS   0x00000002
 
#define FSF_CFDC_OPTION_RESTRICTED_ACCESS   0x00000004
 
#define FSF_PROT_GOOD   0x00000001
 
#define FSF_PROT_QTCB_VERSION_ERROR   0x00000010
 
#define FSF_PROT_SEQ_NUMB_ERROR   0x00000020
 
#define FSF_PROT_UNSUPP_QTCB_TYPE   0x00000040
 
#define FSF_PROT_HOST_CONNECTION_INITIALIZING   0x00000080
 
#define FSF_PROT_FSF_STATUS_PRESENTED   0x00000100
 
#define FSF_PROT_DUPLICATE_REQUEST_ID   0x00000200
 
#define FSF_PROT_LINK_DOWN   0x00000400
 
#define FSF_PROT_REEST_QUEUE   0x00000800
 
#define FSF_PROT_ERROR_STATE   0x01000000
 
#define FSF_GOOD   0x00000000
 
#define FSF_PORT_ALREADY_OPEN   0x00000001
 
#define FSF_LUN_ALREADY_OPEN   0x00000002
 
#define FSF_PORT_HANDLE_NOT_VALID   0x00000003
 
#define FSF_LUN_HANDLE_NOT_VALID   0x00000004
 
#define FSF_HANDLE_MISMATCH   0x00000005
 
#define FSF_SERVICE_CLASS_NOT_SUPPORTED   0x00000006
 
#define FSF_FCPLUN_NOT_VALID   0x00000009
 
#define FSF_ACCESS_DENIED   0x00000010
 
#define FSF_LUN_SHARING_VIOLATION   0x00000012
 
#define FSF_FCP_COMMAND_DOES_NOT_EXIST   0x00000022
 
#define FSF_DIRECTION_INDICATOR_NOT_VALID   0x00000030
 
#define FSF_CMND_LENGTH_NOT_VALID   0x00000033
 
#define FSF_MAXIMUM_NUMBER_OF_PORTS_EXCEEDED   0x00000040
 
#define FSF_MAXIMUM_NUMBER_OF_LUNS_EXCEEDED   0x00000041
 
#define FSF_ELS_COMMAND_REJECTED   0x00000050
 
#define FSF_GENERIC_COMMAND_REJECTED   0x00000051
 
#define FSF_PORT_BOXED   0x00000059
 
#define FSF_LUN_BOXED   0x0000005A
 
#define FSF_EXCHANGE_CONFIG_DATA_INCOMPLETE   0x0000005B
 
#define FSF_PAYLOAD_SIZE_MISMATCH   0x00000060
 
#define FSF_REQUEST_SIZE_TOO_LARGE   0x00000061
 
#define FSF_RESPONSE_SIZE_TOO_LARGE   0x00000062
 
#define FSF_SBAL_MISMATCH   0x00000063
 
#define FSF_INCONSISTENT_PROT_DATA   0x00000070
 
#define FSF_INVALID_PROT_PARM   0x00000071
 
#define FSF_BLOCK_GUARD_CHECK_FAILURE   0x00000081
 
#define FSF_APP_TAG_CHECK_FAILURE   0x00000082
 
#define FSF_REF_TAG_CHECK_FAILURE   0x00000083
 
#define FSF_ADAPTER_STATUS_AVAILABLE   0x000000AD
 
#define FSF_UNKNOWN_COMMAND   0x000000E2
 
#define FSF_UNKNOWN_OP_SUBTYPE   0x000000E3
 
#define FSF_INVALID_COMMAND_OPTION   0x000000E5
 
#define FSF_PROT_STATUS_QUAL_SIZE   16
 
#define FSF_STATUS_QUALIFIER_SIZE   16
 
#define FSF_SQ_NO_RECOM   0x00
 
#define FSF_SQ_FCP_RSP_AVAILABLE   0x01
 
#define FSF_SQ_RETRY_IF_POSSIBLE   0x02
 
#define FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED   0x03
 
#define FSF_SQ_INVOKE_LINK_TEST_PROCEDURE   0x04
 
#define FSF_SQ_COMMAND_ABORTED   0x06
 
#define FSF_SQ_NO_RETRY_POSSIBLE   0x07
 
#define FSF_PSQ_LINK_NO_LIGHT   0x00000004
 
#define FSF_PSQ_LINK_WRAP_PLUG   0x00000008
 
#define FSF_PSQ_LINK_NO_FCP   0x00000010
 
#define FSF_PSQ_LINK_FIRMWARE_UPDATE   0x00000020
 
#define FSF_PSQ_LINK_INVALID_WWPN   0x00000100
 
#define FSF_PSQ_LINK_NO_NPIV_SUPPORT   0x00000200
 
#define FSF_PSQ_LINK_NO_FCP_RESOURCES   0x00000400
 
#define FSF_PSQ_LINK_NO_FABRIC_RESOURCES   0x00000800
 
#define FSF_PSQ_LINK_FABRIC_LOGIN_UNABLE   0x00001000
 
#define FSF_PSQ_LINK_WWPN_ASSIGNMENT_CORRUPTED   0x00002000
 
#define FSF_PSQ_LINK_MODE_TABLE_CURRUPTED   0x00004000
 
#define FSF_PSQ_LINK_NO_WWPN_ASSIGNMENT   0x00008000
 
#define FSF_STATUS_READ_PAYLOAD_SIZE   4032
 
#define FSF_STATUS_READS_RECOM   16
 
#define FSF_STATUS_READ_PORT_CLOSED   0x00000001
 
#define FSF_STATUS_READ_INCOMING_ELS   0x00000002
 
#define FSF_STATUS_READ_SENSE_DATA_AVAIL   0x00000003
 
#define FSF_STATUS_READ_BIT_ERROR_THRESHOLD   0x00000004
 
#define FSF_STATUS_READ_LINK_DOWN   0x00000005
 
#define FSF_STATUS_READ_LINK_UP   0x00000006
 
#define FSF_STATUS_READ_NOTIFICATION_LOST   0x00000009
 
#define FSF_STATUS_READ_CFDC_UPDATED   0x0000000A
 
#define FSF_STATUS_READ_FEATURE_UPDATE_ALERT   0x0000000C
 
#define FSF_STATUS_READ_SUB_NO_PHYSICAL_LINK   0x00000000
 
#define FSF_STATUS_READ_SUB_FDISC_FAILED   0x00000001
 
#define FSF_STATUS_READ_SUB_FIRMWARE_UPDATE   0x00000002
 
#define FSF_STATUS_READ_SUB_INCOMING_ELS   0x00000001
 
#define FSF_STATUS_READ_SUB_ACT_UPDATED   0x00000020
 
#define FSF_TOPO_P2P   0x00000001
 
#define FSF_TOPO_FABRIC   0x00000002
 
#define FSF_TOPO_AL   0x00000003
 
#define FSF_DATADIR_WRITE   0x00000001
 
#define FSF_DATADIR_READ   0x00000002
 
#define FSF_DATADIR_CMND   0x00000004
 
#define FSF_DATADIR_DIF_WRITE_INSERT   0x00000009
 
#define FSF_DATADIR_DIF_READ_STRIP   0x0000000a
 
#define FSF_DATADIR_DIF_WRITE_CONVERT   0x0000000b
 
#define FSF_DATADIR_DIF_READ_CONVERT   0X0000000c
 
#define FSF_APP_TAG_CHECK_ENABLE   0x10
 
#define FSF_CLASS_3   0x00000003
 
#define FSF_QTCB_LOG_SIZE   1024
 
#define FSF_FEATURE_CFDC   0x00000002
 
#define FSF_FEATURE_LUN_SHARING   0x00000004
 
#define FSF_FEATURE_NOTIFICATION_LOST   0x00000008
 
#define FSF_FEATURE_HBAAPI_MANAGEMENT   0x00000010
 
#define FSF_FEATURE_ELS_CT_CHAINED_SBALS   0x00000020
 
#define FSF_FEATURE_UPDATE_ALERT   0x00000100
 
#define FSF_FEATURE_MEASUREMENT_DATA   0x00000200
 
#define FSF_FEATURE_DIF_PROT_TYPE1   0x00010000
 
#define FSF_FEATURE_DIX_PROT_TCPIP   0x00020000
 
#define FSF_FEATURE_NPIV_MODE   0x00000001
 
#define FSF_OPEN_LUN_SUPPRESS_BOXING   0x00000001
 
#define FSF_UNIT_ACCESS_EXCLUSIVE   0x02000000
 
#define FSF_UNIT_ACCESS_OUTBOUND_TRANSFER   0x10000000
 
#define ZFCP_CFDC_MAX_SIZE   127 * 1024
 
#define ZFCP_CFDC_PAGES   PFN_UP(ZFCP_CFDC_MAX_SIZE)
 
#define FSF_PLOGI_MIN_LEN   112
 
#define FSF_FCP_CMND_SIZE   288
 
#define FSF_FCP_RSP_SIZE   128
 
#define ZFCP_FSF_TIMER_INT_MASK   0x3FFF
 
#define ZFCP_BLK_DRV_DATA_MAGIC   0x1
 
#define ZFCP_BLK_LAT_VALID   0x1
 
#define ZFCP_BLK_REQ_ERROR   0x2
 

Functions

struct fsf_queue_designator __attribute__ ((packed))
 

Variables

u8 cssid
 
u8 chpid
 
u8 hla
 
u8 ua
 
u32 res1
 
u32 link_failure_error_count
 
u32 loss_of_sync_error_count
 
u32 loss_of_signal_error_count
 
u32 primitive_sequence_error_count
 
u32 invalid_transmission_word_error_count
 
u32 crc_error_count
 
u32 primitive_sequence_event_timeout_count
 
u32 elastic_buffer_overrun_error_count
 
u32 fcal_arbitration_timeout_count
 
u32 advertised_receive_b2b_credit
 
u32 current_receive_b2b_credit
 
u32 advertised_transmit_b2b_credit
 
u32 current_transmit_b2b_credit
 
u32 error_code
 
u8 res2 [2]
 
u8 primary_status
 
u8 ioerr_code
 
u8 action_code
 
u8 reason_code
 
u8 explanation_code
 
u8 vendor_specific_code
 
u32 status_type
 
u32 status_subtype
 
u32 length
 
struct fsf_queue_designator queue_designator
 
u8 d_id [3]
 
u32 class
 
u64 fcp_lun
 
u8 res3 [24]
 
union {
   u8   data [FSF_STATUS_READ_PAYLOAD_SIZE]
 
   u32   word [FSF_STATUS_READ_PAYLOAD_SIZE/sizeof(u32)]
 
   struct fsf_link_down_info   link_down_info
 
   struct fsf_bit_error_payload   bit_error
 
payload
 
u32 fsf_version
 
u32 exp_req_seq_no
 
u32 channel_lat
 
u32 fabric_lat
 
u64 doubleword [FSF_PROT_STATUS_QUAL_SIZE/sizeof(u64)]
 
struct fsf_qual_version_error version_error
 
struct fsf_qual_sequence_error sequence_error
 
struct fsf_qual_latency_info latency_info
 
u64 req_id
 
u32 qtcb_version
 
u32 ulp_info
 
u32 qtcb_type
 
u32 req_seq_no
 
u32 prot_status
 
union fsf_prot_status_qual prot_status_qual
 
u64 input_req
 
u64 output_req
 
u64 control_req
 
u64 input_mb
 
u64 output_mb
 
u64 seconds_act
 
u8 byte [FSF_STATUS_QUALIFIER_SIZE]
 
u16 halfword [FSF_STATUS_QUALIFIER_SIZE/sizeof(u16)]
 
struct fsf_queue_designator fsf_queue_designator
 
u64 req_handle
 
u32 fsf_command
 
u32 port_handle
 
u32 lun_handle
 
u32 fsf_status
 
union fsf_status_qual fsf_status_qual
 
u16 log_start
 
u16 log_length
 
u8 res4 [16]
 
u32 data_direction
 
u32 service_class
 
u8 data_prot_flags
 
u16 app_tag_value
 
u32 ref_tag_value
 
u32 fcp_cmnd_length
 
u32 data_block_length
 
u32 prot_data_length
 
u8 fcp_cmnd [FSF_FCP_CMND_SIZE]
 
u8 fcp_rsp [FSF_FCP_RSP_SIZE]
 
u32 operation_subtype
 
u32 option
 
u8 timeout
 
u32 lun_access_info
 
u32 els1_length
 
u32 els2_length
 
u32 req_buf_length
 
u32 resp_buf_length
 
u8 els [256]
 
u32 lic_version
 
u32 feature_selection
 
u32 high_qtcb_version
 
u32 low_qtcb_version
 
u32 max_qtcb_size
 
u32 max_data_transfer_size
 
u32 adapter_features
 
u32 connection_features
 
u32 fc_topology
 
u32 fc_link_speed
 
u32 adapter_type
 
u8 res0
 
u8 peer_d_id [3]
 
u16 status_read_buf_num
 
u16 timer_interval
 
u8 s_id [3]
 
u8 nport_serv_param [128]
 
u32 adapter_ports
 
u32 hardware_version
 
u8 serial_number [32]
 
u8 plogi_payload [112]
 
struct fsf_statistics_info stat_info
 
u64 wwpn
 
u32 fc_port_id
 
u32 port_type
 
u32 port_state
 
u32 class_of_service
 
u8 supported_fc4_types [32]
 
u8 active_fc4_types [32]
 
u32 supported_speed
 
u32 maximum_frame_size
 
u64 seconds_since_last_reset
 
u64 tx_frames
 
u64 tx_words
 
u64 rx_frames
 
u64 rx_words
 
u64 lip
 
u64 nos
 
u64 error_frames
 
u64 dumped_frames
 
u64 link_failure
 
u64 loss_of_sync
 
u64 loss_of_signal
 
u64 psp_error_counts
 
u64 invalid_tx_words
 
u64 invalid_crcs
 
u64 input_requests
 
u64 output_requests
 
u64 control_requests
 
u8 cp_util
 
u8 cb_util
 
u8 a_util
 
union fsf_qtcb_bottom __attribute__
 
struct fsf_qtcb_prefix prefix
 
struct fsf_qtcb_header header
 
union fsf_qtcb_bottom bottom
 
u8 log [FSF_QTCB_LOG_SIZE]
 
u32 magic
 
u16 flags
 
u8 inb_usage
 
u8 outb_usage
 

Macro Definition Documentation

#define FSF_ACCESS_DENIED   0x00000010

Definition at line 67 of file zfcp_fsf.h.

#define FSF_ADAPTER_STATUS_AVAILABLE   0x000000AD

Definition at line 88 of file zfcp_fsf.h.

#define FSF_APP_TAG_CHECK_ENABLE   0x10

Definition at line 160 of file zfcp_fsf.h.

#define FSF_APP_TAG_CHECK_FAILURE   0x00000082

Definition at line 86 of file zfcp_fsf.h.

#define FSF_BLOCK_GUARD_CHECK_FAILURE   0x00000081

Definition at line 85 of file zfcp_fsf.h.

#define FSF_CFDC_OPERATION_SUBTYPE   0x00020001

Definition at line 40 of file zfcp_fsf.h.

#define FSF_CFDC_OPTION_FORCE   0x00000001

Definition at line 42 of file zfcp_fsf.h.

#define FSF_CFDC_OPTION_FULL_ACCESS   0x00000002

Definition at line 43 of file zfcp_fsf.h.

#define FSF_CFDC_OPTION_NORMAL_MODE   0x00000000

Definition at line 41 of file zfcp_fsf.h.

#define FSF_CFDC_OPTION_RESTRICTED_ACCESS   0x00000004

Definition at line 44 of file zfcp_fsf.h.

#define FSF_CLASS_3   0x00000003

Definition at line 163 of file zfcp_fsf.h.

#define FSF_CMND_LENGTH_NOT_VALID   0x00000033

Definition at line 71 of file zfcp_fsf.h.

#define FSF_CONFIG_COMMAND   0x00000003

Definition at line 36 of file zfcp_fsf.h.

#define FSF_DATADIR_CMND   0x00000004

Definition at line 153 of file zfcp_fsf.h.

#define FSF_DATADIR_DIF_READ_CONVERT   0X0000000c

Definition at line 157 of file zfcp_fsf.h.

#define FSF_DATADIR_DIF_READ_STRIP   0x0000000a

Definition at line 155 of file zfcp_fsf.h.

#define FSF_DATADIR_DIF_WRITE_CONVERT   0x0000000b

Definition at line 156 of file zfcp_fsf.h.

#define FSF_DATADIR_DIF_WRITE_INSERT   0x00000009

Definition at line 154 of file zfcp_fsf.h.

#define FSF_DATADIR_READ   0x00000002

Definition at line 152 of file zfcp_fsf.h.

#define FSF_DATADIR_WRITE   0x00000001

Definition at line 151 of file zfcp_fsf.h.

#define FSF_DIRECTION_INDICATOR_NOT_VALID   0x00000030

Definition at line 70 of file zfcp_fsf.h.

#define FSF_ELS_COMMAND_REJECTED   0x00000050

Definition at line 74 of file zfcp_fsf.h.

#define FSF_EXCHANGE_CONFIG_DATA_INCOMPLETE   0x0000005B

Definition at line 78 of file zfcp_fsf.h.

#define FSF_FCP_CMND_SIZE   288

Definition at line 326 of file zfcp_fsf.h.

#define FSF_FCP_COMMAND_DOES_NOT_EXIST   0x00000022

Definition at line 69 of file zfcp_fsf.h.

#define FSF_FCP_RSP_SIZE   128

Definition at line 327 of file zfcp_fsf.h.

#define FSF_FCPLUN_NOT_VALID   0x00000009

Definition at line 66 of file zfcp_fsf.h.

#define FSF_FEATURE_CFDC   0x00000002

Definition at line 169 of file zfcp_fsf.h.

#define FSF_FEATURE_DIF_PROT_TYPE1   0x00010000

Definition at line 176 of file zfcp_fsf.h.

#define FSF_FEATURE_DIX_PROT_TCPIP   0x00020000

Definition at line 177 of file zfcp_fsf.h.

#define FSF_FEATURE_ELS_CT_CHAINED_SBALS   0x00000020

Definition at line 173 of file zfcp_fsf.h.

#define FSF_FEATURE_HBAAPI_MANAGEMENT   0x00000010

Definition at line 172 of file zfcp_fsf.h.

#define FSF_FEATURE_LUN_SHARING   0x00000004

Definition at line 170 of file zfcp_fsf.h.

#define FSF_FEATURE_MEASUREMENT_DATA   0x00000200

Definition at line 175 of file zfcp_fsf.h.

#define FSF_FEATURE_NOTIFICATION_LOST   0x00000008

Definition at line 171 of file zfcp_fsf.h.

#define FSF_FEATURE_NPIV_MODE   0x00000001

Definition at line 180 of file zfcp_fsf.h.

#define FSF_FEATURE_UPDATE_ALERT   0x00000100

Definition at line 174 of file zfcp_fsf.h.

#define FSF_GENERIC_COMMAND_REJECTED   0x00000051

Definition at line 75 of file zfcp_fsf.h.

#define FSF_GOOD   0x00000000

Definition at line 59 of file zfcp_fsf.h.

#define FSF_HANDLE_MISMATCH   0x00000005

Definition at line 64 of file zfcp_fsf.h.

#define FSF_INCONSISTENT_PROT_DATA   0x00000070

Definition at line 83 of file zfcp_fsf.h.

#define FSF_INVALID_COMMAND_OPTION   0x000000E5

Definition at line 91 of file zfcp_fsf.h.

#define FSF_INVALID_PROT_PARM   0x00000071

Definition at line 84 of file zfcp_fsf.h.

#define FSF_IO_COMMAND   0x00000001

Definition at line 34 of file zfcp_fsf.h.

#define FSF_LUN_ALREADY_OPEN   0x00000002

Definition at line 61 of file zfcp_fsf.h.

#define FSF_LUN_BOXED   0x0000005A

Definition at line 77 of file zfcp_fsf.h.

#define FSF_LUN_HANDLE_NOT_VALID   0x00000004

Definition at line 63 of file zfcp_fsf.h.

#define FSF_LUN_SHARING_VIOLATION   0x00000012

Definition at line 68 of file zfcp_fsf.h.

#define FSF_MAXIMUM_NUMBER_OF_LUNS_EXCEEDED   0x00000041

Definition at line 73 of file zfcp_fsf.h.

#define FSF_MAXIMUM_NUMBER_OF_PORTS_EXCEEDED   0x00000040

Definition at line 72 of file zfcp_fsf.h.

#define FSF_OPEN_LUN_SUPPRESS_BOXING   0x00000001

Definition at line 183 of file zfcp_fsf.h.

#define FSF_PAYLOAD_SIZE_MISMATCH   0x00000060

Definition at line 79 of file zfcp_fsf.h.

#define FSF_PLOGI_MIN_LEN   112

Definition at line 324 of file zfcp_fsf.h.

#define FSF_PORT_ALREADY_OPEN   0x00000001

Definition at line 60 of file zfcp_fsf.h.

#define FSF_PORT_BOXED   0x00000059

Definition at line 76 of file zfcp_fsf.h.

#define FSF_PORT_COMMAND   0x00000004

Definition at line 37 of file zfcp_fsf.h.

#define FSF_PORT_HANDLE_NOT_VALID   0x00000003

Definition at line 62 of file zfcp_fsf.h.

#define FSF_PROT_DUPLICATE_REQUEST_ID   0x00000200

Definition at line 53 of file zfcp_fsf.h.

#define FSF_PROT_ERROR_STATE   0x01000000

Definition at line 56 of file zfcp_fsf.h.

#define FSF_PROT_FSF_STATUS_PRESENTED   0x00000100

Definition at line 52 of file zfcp_fsf.h.

#define FSF_PROT_GOOD   0x00000001

Definition at line 47 of file zfcp_fsf.h.

#define FSF_PROT_HOST_CONNECTION_INITIALIZING   0x00000080

Definition at line 51 of file zfcp_fsf.h.

#define FSF_PROT_LINK_DOWN   0x00000400

Definition at line 54 of file zfcp_fsf.h.

#define FSF_PROT_QTCB_VERSION_ERROR   0x00000010

Definition at line 48 of file zfcp_fsf.h.

#define FSF_PROT_REEST_QUEUE   0x00000800

Definition at line 55 of file zfcp_fsf.h.

#define FSF_PROT_SEQ_NUMB_ERROR   0x00000020

Definition at line 49 of file zfcp_fsf.h.

#define FSF_PROT_STATUS_QUAL_SIZE   16

Definition at line 93 of file zfcp_fsf.h.

#define FSF_PROT_UNSUPP_QTCB_TYPE   0x00000040

Definition at line 50 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_FABRIC_LOGIN_UNABLE   0x00001000

Definition at line 114 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_FIRMWARE_UPDATE   0x00000020

Definition at line 109 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_INVALID_WWPN   0x00000100

Definition at line 110 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_MODE_TABLE_CURRUPTED   0x00004000

Definition at line 116 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_NO_FABRIC_RESOURCES   0x00000800

Definition at line 113 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_NO_FCP   0x00000010

Definition at line 108 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_NO_FCP_RESOURCES   0x00000400

Definition at line 112 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_NO_LIGHT   0x00000004

Definition at line 106 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_NO_NPIV_SUPPORT   0x00000200

Definition at line 111 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_NO_WWPN_ASSIGNMENT   0x00008000

Definition at line 117 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_WRAP_PLUG   0x00000008

Definition at line 107 of file zfcp_fsf.h.

#define FSF_PSQ_LINK_WWPN_ASSIGNMENT_CORRUPTED   0x00002000

Definition at line 115 of file zfcp_fsf.h.

#define FSF_QTCB_ABORT_FCP_CMND   0x00000002

Definition at line 20 of file zfcp_fsf.h.

#define FSF_QTCB_CLOSE_LUN   0x00000007

Definition at line 23 of file zfcp_fsf.h.

#define FSF_QTCB_CLOSE_PHYSICAL_PORT   0x00000009

Definition at line 25 of file zfcp_fsf.h.

#define FSF_QTCB_CLOSE_PORT   0x00000008

Definition at line 24 of file zfcp_fsf.h.

#define FSF_QTCB_CURRENT_VERSION   0x00000001

Definition at line 16 of file zfcp_fsf.h.

#define FSF_QTCB_DOWNLOAD_CONTROL_FILE   0x00000012

Definition at line 30 of file zfcp_fsf.h.

#define FSF_QTCB_EXCHANGE_CONFIG_DATA   0x0000000D

Definition at line 28 of file zfcp_fsf.h.

#define FSF_QTCB_EXCHANGE_PORT_DATA   0x0000000E

Definition at line 29 of file zfcp_fsf.h.

#define FSF_QTCB_FCP_CMND   0x00000001

Definition at line 19 of file zfcp_fsf.h.

#define FSF_QTCB_LOG_SIZE   1024

Definition at line 166 of file zfcp_fsf.h.

#define FSF_QTCB_OPEN_LUN   0x00000006

Definition at line 22 of file zfcp_fsf.h.

#define FSF_QTCB_OPEN_PORT_WITH_DID   0x00000005

Definition at line 21 of file zfcp_fsf.h.

#define FSF_QTCB_SEND_ELS   0x0000000B

Definition at line 26 of file zfcp_fsf.h.

#define FSF_QTCB_SEND_GENERIC   0x0000000C

Definition at line 27 of file zfcp_fsf.h.

#define FSF_QTCB_UPLOAD_CONTROL_FILE   0x00000013

Definition at line 31 of file zfcp_fsf.h.

#define FSF_REF_TAG_CHECK_FAILURE   0x00000083

Definition at line 87 of file zfcp_fsf.h.

#define FSF_REQUEST_SIZE_TOO_LARGE   0x00000061

Definition at line 80 of file zfcp_fsf.h.

#define FSF_RESPONSE_SIZE_TOO_LARGE   0x00000062

Definition at line 81 of file zfcp_fsf.h.

#define FSF_SBAL_MISMATCH   0x00000063

Definition at line 82 of file zfcp_fsf.h.

#define FSF_SERVICE_CLASS_NOT_SUPPORTED   0x00000006

Definition at line 65 of file zfcp_fsf.h.

#define FSF_SQ_COMMAND_ABORTED   0x06

Definition at line 102 of file zfcp_fsf.h.

#define FSF_SQ_FCP_RSP_AVAILABLE   0x01

Definition at line 98 of file zfcp_fsf.h.

#define FSF_SQ_INVOKE_LINK_TEST_PROCEDURE   0x04

Definition at line 101 of file zfcp_fsf.h.

#define FSF_SQ_NO_RECOM   0x00

Definition at line 97 of file zfcp_fsf.h.

#define FSF_SQ_NO_RETRY_POSSIBLE   0x07

Definition at line 103 of file zfcp_fsf.h.

#define FSF_SQ_RETRY_IF_POSSIBLE   0x02

Definition at line 99 of file zfcp_fsf.h.

#define FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED   0x03

Definition at line 100 of file zfcp_fsf.h.

#define FSF_STATUS_QUALIFIER_SIZE   16

Definition at line 94 of file zfcp_fsf.h.

#define FSF_STATUS_READ_BIT_ERROR_THRESHOLD   0x00000004

Definition at line 129 of file zfcp_fsf.h.

#define FSF_STATUS_READ_CFDC_UPDATED   0x0000000A

Definition at line 133 of file zfcp_fsf.h.

#define FSF_STATUS_READ_FEATURE_UPDATE_ALERT   0x0000000C

Definition at line 134 of file zfcp_fsf.h.

#define FSF_STATUS_READ_INCOMING_ELS   0x00000002

Definition at line 127 of file zfcp_fsf.h.

#define FSF_STATUS_READ_LINK_DOWN   0x00000005

Definition at line 130 of file zfcp_fsf.h.

#define FSF_STATUS_READ_LINK_UP   0x00000006

Definition at line 131 of file zfcp_fsf.h.

#define FSF_STATUS_READ_NOTIFICATION_LOST   0x00000009

Definition at line 132 of file zfcp_fsf.h.

#define FSF_STATUS_READ_PAYLOAD_SIZE   4032

Definition at line 120 of file zfcp_fsf.h.

#define FSF_STATUS_READ_PORT_CLOSED   0x00000001

Definition at line 126 of file zfcp_fsf.h.

#define FSF_STATUS_READ_SENSE_DATA_AVAIL   0x00000003

Definition at line 128 of file zfcp_fsf.h.

#define FSF_STATUS_READ_SUB_ACT_UPDATED   0x00000020

Definition at line 143 of file zfcp_fsf.h.

#define FSF_STATUS_READ_SUB_FDISC_FAILED   0x00000001

Definition at line 138 of file zfcp_fsf.h.

#define FSF_STATUS_READ_SUB_FIRMWARE_UPDATE   0x00000002

Definition at line 139 of file zfcp_fsf.h.

#define FSF_STATUS_READ_SUB_INCOMING_ELS   0x00000001

Definition at line 142 of file zfcp_fsf.h.

#define FSF_STATUS_READ_SUB_NO_PHYSICAL_LINK   0x00000000

Definition at line 137 of file zfcp_fsf.h.

#define FSF_STATUS_READS_RECOM   16

Definition at line 123 of file zfcp_fsf.h.

#define FSF_SUPPORT_COMMAND   0x00000002

Definition at line 35 of file zfcp_fsf.h.

#define FSF_TOPO_AL   0x00000003

Definition at line 148 of file zfcp_fsf.h.

#define FSF_TOPO_FABRIC   0x00000002

Definition at line 147 of file zfcp_fsf.h.

#define FSF_TOPO_P2P   0x00000001

Definition at line 146 of file zfcp_fsf.h.

#define FSF_UNIT_ACCESS_EXCLUSIVE   0x02000000

Definition at line 186 of file zfcp_fsf.h.

#define FSF_UNIT_ACCESS_OUTBOUND_TRANSFER   0x10000000

Definition at line 187 of file zfcp_fsf.h.

#define FSF_UNKNOWN_COMMAND   0x000000E2

Definition at line 89 of file zfcp_fsf.h.

#define FSF_UNKNOWN_OP_SUBTYPE   0x000000E3

Definition at line 90 of file zfcp_fsf.h.

#define ZFCP_BLK_DRV_DATA_MAGIC   0x1

Definition at line 456 of file zfcp_fsf.h.

#define ZFCP_BLK_LAT_VALID   0x1

Definition at line 458 of file zfcp_fsf.h.

#define ZFCP_BLK_REQ_ERROR   0x2

Definition at line 459 of file zfcp_fsf.h.

#define ZFCP_CFDC_MAX_SIZE   127 * 1024

Definition at line 190 of file zfcp_fsf.h.

#define ZFCP_CFDC_PAGES   PFN_UP(ZFCP_CFDC_MAX_SIZE)

Definition at line 191 of file zfcp_fsf.h.

#define ZFCP_FSF_TIMER_INT_MASK   0x3FFF

Definition at line 365 of file zfcp_fsf.h.

Function Documentation

Definition at line 171 of file esd_usb2.c.

Variable Documentation

u8 a_util

Definition at line 461 of file zfcp_fsf.h.

u8 action_code

Definition at line 240 of file zfcp_fsf.h.

u8 active_fc4_types[32]

Definition at line 436 of file zfcp_fsf.h.

u32 adapter_features

Definition at line 400 of file zfcp_fsf.h.

u32 adapter_ports

Definition at line 413 of file zfcp_fsf.h.

u32 adapter_type

Definition at line 404 of file zfcp_fsf.h.

u32 advertised_receive_b2b_credit

Definition at line 233 of file zfcp_fsf.h.

u32 advertised_transmit_b2b_credit

Definition at line 235 of file zfcp_fsf.h.

u16 app_tag_value

Definition at line 348 of file zfcp_fsf.h.

Definition at line 268 of file zfcp_fsf.h.

max_load_time top top temp_type top bottom

Definition at line 446 of file zfcp_fsf.h.

Definition at line 308 of file zfcp_fsf.h.

u8 cb_util

Definition at line 460 of file zfcp_fsf.h.

u64 channel_lat

Definition at line 270 of file zfcp_fsf.h.

u8 chpid

Definition at line 207 of file zfcp_fsf.h.

Definition at line 261 of file zfcp_fsf.h.

u32 class_of_service

Definition at line 434 of file zfcp_fsf.h.

u32 connection_features

Definition at line 401 of file zfcp_fsf.h.

u64 control_req

Definition at line 301 of file zfcp_fsf.h.

Definition at line 456 of file zfcp_fsf.h.

u8 cp_util

Definition at line 459 of file zfcp_fsf.h.

u32 crc_error_count

Definition at line 229 of file zfcp_fsf.h.

u8 cssid

Definition at line 206 of file zfcp_fsf.h.

u32 current_receive_b2b_credit

Definition at line 234 of file zfcp_fsf.h.

u32 current_transmit_b2b_credit

Definition at line 236 of file zfcp_fsf.h.

u8 d_id

Definition at line 260 of file zfcp_fsf.h.

Definition at line 265 of file zfcp_fsf.h.

u32 data_block_length

Definition at line 351 of file zfcp_fsf.h.

Definition at line 344 of file zfcp_fsf.h.

u8 data_prot_flags

Definition at line 347 of file zfcp_fsf.h.

u64 doubleword

Definition at line 280 of file zfcp_fsf.h.

u64 dumped_frames

Definition at line 447 of file zfcp_fsf.h.

u32 elastic_buffer_overrun_error_count

Definition at line 231 of file zfcp_fsf.h.

u8 els[256]

Definition at line 380 of file zfcp_fsf.h.

u32 els1_length

Definition at line 376 of file zfcp_fsf.h.

u32 els2_length

Definition at line 377 of file zfcp_fsf.h.

u32 error_code

Definition at line 235 of file zfcp_fsf.h.

u64 error_frames

Definition at line 446 of file zfcp_fsf.h.

u32 exp_req_seq_no

Definition at line 264 of file zfcp_fsf.h.

u8 explanation_code

Definition at line 242 of file zfcp_fsf.h.

u64 fabric_lat

Definition at line 271 of file zfcp_fsf.h.

u32 fc_link_speed

Definition at line 403 of file zfcp_fsf.h.

u32 fc_port_id

Definition at line 431 of file zfcp_fsf.h.

u32 fc_topology

Definition at line 402 of file zfcp_fsf.h.

u32 fcal_arbitration_timeout_count

Definition at line 232 of file zfcp_fsf.h.

Definition at line 354 of file zfcp_fsf.h.

u32 fcp_cmnd_length

Definition at line 350 of file zfcp_fsf.h.

u64 fcp_lun

Definition at line 262 of file zfcp_fsf.h.

Definition at line 355 of file zfcp_fsf.h.

u32 feature_selection

Definition at line 395 of file zfcp_fsf.h.

u16 flags

Definition at line 460 of file zfcp_fsf.h.

u32 fsf_command

Definition at line 324 of file zfcp_fsf.h.

Definition at line 312 of file zfcp_fsf.h.

u32 fsf_status

Definition at line 329 of file zfcp_fsf.h.

Definition at line 330 of file zfcp_fsf.h.

u32 fsf_version

Definition at line 259 of file zfcp_fsf.h.

Definition at line 309 of file zfcp_fsf.h.

u32 hardware_version

Definition at line 414 of file zfcp_fsf.h.

Definition at line 445 of file zfcp_fsf.h.

u32 high_qtcb_version

Definition at line 396 of file zfcp_fsf.h.

u8 hla

Definition at line 208 of file zfcp_fsf.h.

u8 inb_usage

Definition at line 461 of file zfcp_fsf.h.

u64 input_mb

Definition at line 302 of file zfcp_fsf.h.

u64 input_req

Definition at line 299 of file zfcp_fsf.h.

u64 input_requests

Definition at line 454 of file zfcp_fsf.h.

u64 invalid_crcs

Definition at line 453 of file zfcp_fsf.h.

u32 invalid_transmission_word_error_count

Definition at line 228 of file zfcp_fsf.h.

u64 invalid_tx_words

Definition at line 452 of file zfcp_fsf.h.

u8 ioerr_code

Definition at line 239 of file zfcp_fsf.h.

Definition at line 284 of file zfcp_fsf.h.

u32 length

Definition at line 256 of file zfcp_fsf.h.

u32 lic_version

Definition at line 394 of file zfcp_fsf.h.

struct fsf_link_down_info link_down_info

Definition at line 267 of file zfcp_fsf.h.

u64 link_failure

Definition at line 448 of file zfcp_fsf.h.

u32 link_failure_error_count

Definition at line 224 of file zfcp_fsf.h.

u64 lip

Definition at line 444 of file zfcp_fsf.h.

Definition at line 447 of file zfcp_fsf.h.

u16 log_length

Definition at line 333 of file zfcp_fsf.h.

u16 log_start

Definition at line 332 of file zfcp_fsf.h.

u64 loss_of_signal

Definition at line 450 of file zfcp_fsf.h.

u32 loss_of_signal_error_count

Definition at line 226 of file zfcp_fsf.h.

u64 loss_of_sync

Definition at line 449 of file zfcp_fsf.h.

u32 loss_of_sync_error_count

Definition at line 225 of file zfcp_fsf.h.

u32 low_qtcb_version

Definition at line 397 of file zfcp_fsf.h.

u32 lun_access_info

Definition at line 374 of file zfcp_fsf.h.

u32 lun_handle

Definition at line 327 of file zfcp_fsf.h.

u32 magic

Definition at line 457 of file zfcp_fsf.h.

u32 max_data_transfer_size

Definition at line 399 of file zfcp_fsf.h.

u32 max_qtcb_size

Definition at line 398 of file zfcp_fsf.h.

u32 maximum_frame_size

Definition at line 438 of file zfcp_fsf.h.

u64 nos

Definition at line 445 of file zfcp_fsf.h.

u8 nport_serv_param[128]

Definition at line 411 of file zfcp_fsf.h.

u32 operation_subtype

Definition at line 364 of file zfcp_fsf.h.

Definition at line 367 of file zfcp_fsf.h.

u8 outb_usage

Definition at line 462 of file zfcp_fsf.h.

u64 output_mb

Definition at line 303 of file zfcp_fsf.h.

u64 output_req

Definition at line 300 of file zfcp_fsf.h.

u64 output_requests

Definition at line 455 of file zfcp_fsf.h.

union { ... } payload
u8 peer_d_id[3]

Definition at line 406 of file zfcp_fsf.h.

u8 plogi_payload[112]

Definition at line 416 of file zfcp_fsf.h.

u32 port_handle

Definition at line 326 of file zfcp_fsf.h.

u32 port_state

Definition at line 433 of file zfcp_fsf.h.

Definition at line 432 of file zfcp_fsf.h.

Definition at line 444 of file zfcp_fsf.h.

u8 primary_status

Definition at line 238 of file zfcp_fsf.h.

u32 primitive_sequence_error_count

Definition at line 227 of file zfcp_fsf.h.

u32 primitive_sequence_event_timeout_count

Definition at line 230 of file zfcp_fsf.h.

u32 prot_data_length

Definition at line 352 of file zfcp_fsf.h.

u32 prot_status

Definition at line 295 of file zfcp_fsf.h.

union fsf_prot_status_qual prot_status_qual

Definition at line 296 of file zfcp_fsf.h.

u64 psp_error_counts

Definition at line 451 of file zfcp_fsf.h.

u32 qtcb_type

Definition at line 293 of file zfcp_fsf.h.

u32 qtcb_version

Definition at line 291 of file zfcp_fsf.h.

struct fsf_queue_designator queue_designator

Definition at line 258 of file zfcp_fsf.h.

__le16 reason_code

Definition at line 241 of file zfcp_fsf.h.

u32 ref_tag_value

Definition at line 349 of file zfcp_fsf.h.

u32 req_buf_length

Definition at line 378 of file zfcp_fsf.h.

u64 req_handle

Definition at line 323 of file zfcp_fsf.h.

u64 req_id

Definition at line 290 of file zfcp_fsf.h.

u32 req_seq_no

Definition at line 294 of file zfcp_fsf.h.

u8 res0

Definition at line 405 of file zfcp_fsf.h.

u8 res1[13]

Definition at line 210 of file zfcp_fsf.h.

u8 res2[253]

Definition at line 237 of file zfcp_fsf.h.

u8 res3[8]

Definition at line 263 of file zfcp_fsf.h.

u8 res4[112]

Definition at line 334 of file zfcp_fsf.h.

u32 resp_buf_length

Definition at line 379 of file zfcp_fsf.h.

u64 rx_frames

Definition at line 442 of file zfcp_fsf.h.

u64 rx_words

Definition at line 443 of file zfcp_fsf.h.

u8 s_id[3]

Definition at line 410 of file zfcp_fsf.h.

u64 seconds_act

Definition at line 304 of file zfcp_fsf.h.

u64 seconds_since_last_reset

Definition at line 439 of file zfcp_fsf.h.

Definition at line 282 of file zfcp_fsf.h.

u8 serial_number[32]

Definition at line 415 of file zfcp_fsf.h.

u32 service_class

Definition at line 345 of file zfcp_fsf.h.

Definition at line 417 of file zfcp_fsf.h.

u16 status_read_buf_num

Definition at line 407 of file zfcp_fsf.h.

u32 status_subtype

Definition at line 255 of file zfcp_fsf.h.

u32 status_type

Definition at line 254 of file zfcp_fsf.h.

u8 supported_fc4_types[32]

Definition at line 435 of file zfcp_fsf.h.

u32 supported_speed

Definition at line 437 of file zfcp_fsf.h.

u8 timeout

Definition at line 373 of file zfcp_fsf.h.

u16 timer_interval

Definition at line 408 of file zfcp_fsf.h.

u64 tx_frames

Definition at line 440 of file zfcp_fsf.h.

u64 tx_words

Definition at line 441 of file zfcp_fsf.h.

u8 ua

Definition at line 209 of file zfcp_fsf.h.

u32 ulp_info

Definition at line 292 of file zfcp_fsf.h.

u8 vendor_specific_code

Definition at line 243 of file zfcp_fsf.h.

Definition at line 281 of file zfcp_fsf.h.

Definition at line 266 of file zfcp_fsf.h.

u64 wwpn

Definition at line 430 of file zfcp_fsf.h.