📄 mpi_fc.h
字号:
U16 Reserved3; /* 0Ch */ U16 IOCStatus; /* 0Eh */ U32 IOCLogInfo; /* 10h */ U32 InitiatorIndex; /* 14h */} MSG_LINK_SERVICE_RSP_REPLY, MPI_POINTER PTR_MSG_LINK_SERVICE_RSP_REPLY, LinkServiceRspReply_t, MPI_POINTER pLinkServiceRspReply_t;/****************************************************************************//* Extended Link Service Send messages *//****************************************************************************/typedef struct _MSG_EXLINK_SERVICE_SEND_REQUEST{ U8 SendFlags; /* 00h */ U8 AliasIndex; /* 01h */ U8 ChainOffset; /* 02h */ U8 Function; /* 03h */ U32 MsgFlags_Did; /* 04h */ U32 MsgContext; /* 08h */ U32 ElsCommandCode; /* 0Ch */ SGE_SIMPLE_UNION SGL; /* 10h */} MSG_EXLINK_SERVICE_SEND_REQUEST, MPI_POINTER PTR_MSG_EXLINK_SERVICE_SEND_REQUEST, ExLinkServiceSendRequest_t, MPI_POINTER pExLinkServiceSendRequest_t;#define EX_LINK_SERVICE_SEND_DID_MASK (0x00FFFFFF)#define EX_LINK_SERVICE_SEND_DID_SHIFT (0)#define EX_LINK_SERVICE_SEND_MSGFLAGS_MASK (0xFF000000)#define EX_LINK_SERVICE_SEND_MSGFLAGS_SHIFT (24)/* Extended Link Service Send Reply */typedef struct _MSG_EXLINK_SERVICE_SEND_REPLY{ U8 Reserved; /* 00h */ U8 AliasIndex; /* 01h */ U8 MsgLength; /* 02h */ U8 Function; /* 03h */ U16 Reserved1; /* 04h */ U8 Reserved2; /* 06h */ U8 MsgFlags; /* 07h */ U32 MsgContext; /* 08h */ U16 Reserved3; /* 0Ch */ U16 IOCStatus; /* 0Eh */ U32 IOCLogInfo; /* 10h */ U32 ResponseLength; /* 14h */} MSG_EXLINK_SERVICE_SEND_REPLY, MPI_POINTER PTR_MSG_EXLINK_SERVICE_SEND_REPLY, ExLinkServiceSendReply_t, MPI_POINTER pExLinkServiceSendReply_t;/****************************************************************************//* FC Abort messages *//****************************************************************************/typedef struct _MSG_FC_ABORT_REQUEST{ U8 AbortFlags; /* 00h */ U8 AbortType; /* 01h */ U8 ChainOffset; /* 02h */ U8 Function; /* 03h */ U16 Reserved1; /* 04h */ U8 Reserved2; /* 06h */ U8 MsgFlags; /* 07h */ U32 MsgContext; /* 08h */ U32 TransactionContextToAbort; /* 0Ch */} MSG_FC_ABORT_REQUEST, MPI_POINTER PTR_MSG_FC_ABORT_REQUEST, FcAbortRequest_t, MPI_POINTER pFcAbortRequest_t;#define FC_ABORT_FLAG_PORT_MASK (0x01)#define FC_ABORT_TYPE_ALL_FC_BUFFERS (0x00)#define FC_ABORT_TYPE_EXACT_FC_BUFFER (0x01)#define FC_ABORT_TYPE_CT_SEND_REQUEST (0x02)#define FC_ABORT_TYPE_EXLINKSEND_REQUEST (0x03)/* FC Abort Reply */typedef struct _MSG_FC_ABORT_REPLY{ U16 Reserved; /* 00h */ U8 MsgLength; /* 02h */ U8 Function; /* 03h */ U16 Reserved1; /* 04h */ U8 Reserved2; /* 06h */ U8 MsgFlags; /* 07h */ U32 MsgContext; /* 08h */ U16 Reserved3; /* 0Ch */ U16 IOCStatus; /* 0Eh */ U32 IOCLogInfo; /* 10h */} MSG_FC_ABORT_REPLY, MPI_POINTER PTR_MSG_FC_ABORT_REPLY, FcAbortReply_t, MPI_POINTER pFcAbortReply_t;/****************************************************************************//* FC Common Transport Send messages *//****************************************************************************/typedef struct _MSG_FC_COMMON_TRANSPORT_SEND_REQUEST{ U8 SendFlags; /* 00h */ U8 AliasIndex; /* 01h */ U8 ChainOffset; /* 02h */ U8 Function; /* 03h */ U32 MsgFlags_Did; /* 04h */ U32 MsgContext; /* 08h */ U16 CTCommandCode; /* 0Ch */ U8 FsType; /* 0Eh */ U8 Reserved1; /* 0Fh */ SGE_SIMPLE_UNION SGL; /* 10h */} MSG_FC_COMMON_TRANSPORT_SEND_REQUEST, MPI_POINTER PTR_MSG_FC_COMMON_TRANSPORT_SEND_REQUEST, FcCommonTransportSendRequest_t, MPI_POINTER pFcCommonTransportSendRequest_t;#define MPI_FC_CT_SEND_DID_MASK (0x00FFFFFF)#define MPI_FC_CT_SEND_DID_SHIFT (0)#define MPI_FC_CT_SEND_MSGFLAGS_MASK (0xFF000000)#define MPI_FC_CT_SEND_MSGFLAGS_SHIFT (24)/* FC Common Transport Send Reply */typedef struct _MSG_FC_COMMON_TRANSPORT_SEND_REPLY{ U8 Reserved; /* 00h */ U8 AliasIndex; /* 01h */ U8 MsgLength; /* 02h */ U8 Function; /* 03h */ U16 Reserved1; /* 04h */ U8 Reserved2; /* 06h */ U8 MsgFlags; /* 07h */ U32 MsgContext; /* 08h */ U16 Reserved3; /* 0Ch */ U16 IOCStatus; /* 0Eh */ U32 IOCLogInfo; /* 10h */ U32 ResponseLength; /* 14h */} MSG_FC_COMMON_TRANSPORT_SEND_REPLY, MPI_POINTER PTR_MSG_FC_COMMON_TRANSPORT_SEND_REPLY, FcCommonTransportSendReply_t, MPI_POINTER pFcCommonTransportSendReply_t;/****************************************************************************//* FC Primitive Send messages *//****************************************************************************/typedef struct _MSG_FC_PRIMITIVE_SEND_REQUEST{ U8 SendFlags; /* 00h */ U8 Reserved; /* 01h */ U8 ChainOffset; /* 02h */ U8 Function; /* 03h */ U16 Reserved1; /* 04h */ U8 Reserved2; /* 06h */ U8 MsgFlags; /* 07h */ U32 MsgContext; /* 08h */ U8 FcPrimitive[4]; /* 0Ch */} MSG_FC_PRIMITIVE_SEND_REQUEST, MPI_POINTER PTR_MSG_FC_PRIMITIVE_SEND_REQUEST, FcPrimitiveSendRequest_t, MPI_POINTER pFcPrimitiveSendRequest_t;#define MPI_FC_PRIM_SEND_FLAGS_PORT_MASK (0x01)#define MPI_FC_PRIM_SEND_FLAGS_ML_RESET_LINK (0x02)#define MPI_FC_PRIM_SEND_FLAGS_RESET_LINK (0x04)#define MPI_FC_PRIM_SEND_FLAGS_STOP_SEND (0x08)#define MPI_FC_PRIM_SEND_FLAGS_SEND_ONCE (0x10)#define MPI_FC_PRIM_SEND_FLAGS_SEND_AROUND (0x20)#define MPI_FC_PRIM_SEND_FLAGS_UNTIL_FULL (0x40)#define MPI_FC_PRIM_SEND_FLAGS_FOREVER (0x80)/* FC Primitive Send Reply */typedef struct _MSG_FC_PRIMITIVE_SEND_REPLY{ U8 SendFlags; /* 00h */ U8 Reserved; /* 01h */ U8 MsgLength; /* 02h */ U8 Function; /* 03h */ U16 Reserved1; /* 04h */ U8 Reserved2; /* 06h */ U8 MsgFlags; /* 07h */ U32 MsgContext; /* 08h */ U16 Reserved3; /* 0Ch */ U16 IOCStatus; /* 0Eh */ U32 IOCLogInfo; /* 10h */} MSG_FC_PRIMITIVE_SEND_REPLY, MPI_POINTER PTR_MSG_FC_PRIMITIVE_SEND_REPLY, FcPrimitiveSendReply_t, MPI_POINTER pFcPrimitiveSendReply_t;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -