#define FCP_TXRDY_LEN 12 /* expected length of structure */
/* * FCP_RESP IU - response payload. * * The response payload comes in three parts: the flags/status, the * sense/response lengths and the sense data/response info section. * * From FCP3r04, note 6 of section 9.5.13: * * Some early implementations presented the FCP_RSP IU without the FCP_RESID, * FCP_SNS_LEN, and FCP_RSP_LEN fields if the FCP_RESID_UNDER, FCP_RESID_OVER, * FCP_SNS_LEN_VALID, and FCP_RSP_LEN_VALID bits were all set to zero. This * non-standard behavior should be tolerated. * * All response frames will always contain the fcp_resp template. Some * will also include the fcp_resp_len template. * * From Table 23, the FCP_RSP_INFO can either be 4 bytes or 8 bytes, both * are valid length.
*/ struct fcp_resp {
__u8 _fr_resvd[8]; /* reserved */
__be16 fr_retry_delay; /* retry delay timer */
__u8 fr_flags; /* flags */
__u8 fr_status; /* SCSI status code */
};
#define FCP_RESP_LEN 12 /* expected length of structure */
struct fcp_resp_ext {
__be32 fr_resid; /* Residual value */
__be32 fr_sns_len; /* SCSI Sense length */
__be32 fr_rsp_len; /* Response Info length */
/* * Optionally followed by RSP info and/or SNS info and/or * bidirectional read residual length, if any.
*/
};
#define FCP_RESP_EXT_LEN 12 /* expected length of the structure */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.