FreeBSD kernel pms device code
|
data structure describes a SAS SSP target read and write request More...
#include <sa.h>
Data Fields | |
agsaSgl_t | agSgl |
bit32 | dataLength |
bit32 | offset |
bit16 | agTag |
bit16 | sspOption |
agsaDif_t | dif |
data structure describes a SAS SSP target read and write request
The agsaSSPTargetRequest_t data structure describes a SAS SSP target read and write request to be issued on the port. It includes the length of the data to be received or sent, an offset into the data block where the transfer is to start, and a list of scatter-gather buffers.
This data structure is one instance of the generic request issued to saSSPStart() and is passed as an agsaSASRequestBody_t . bit definitions for sspOption Bit 0-1: Transport Layer Retry setting for other phase: 00b: No retry 01b: Retry on ACK/NAK timeout 10b: Retry on NAK received 11b: Retry on both ACK/NAK timeout and NAK received Bit 2-3: Transport Layer Retry setting for data phase: 00b: No retry 01b: Retry on ACK/NAK timeout 10b: Retry on NAK received 11b: Retry on both ACK/NAK timeout and NAK received Bit 4: Retry Data Frame. Valid only on write command. Indicates whether Target supports RTL for this particular IO. 1b: enabled 0b: disabled Bit 5: Auto good response on successful read (data transfer from target to initiator) request. 1b: Enabled 0b: Disabled Bits 6-15 : Reserved.
agsaSgl_t agsaSSPTargetRequest_s::agSgl |
This structure is used to define either an ESGL list or a single SGL for the target read or write operation
Definition at line 2987 of file sa.h.
Referenced by saSSPStart(), and ttdssIOPrepareSGL().
bit16 agsaSSPTargetRequest_s::agTag |
Tag from ossaSSPReqReceived().
Definition at line 2992 of file sa.h.
Referenced by saSSPStart(), tiTGTIOStart(), ttdsaIOCompleted(), and ttdsaSSPReqReceived().
bit32 agsaSSPTargetRequest_s::dataLength |
Specifies the amount of data to be sent in this data phase
Definition at line 2989 of file sa.h.
Referenced by saSSPStart(), tiTGTIOStart(), and ttdsaIOCompleted().
agsaDif_t agsaSSPTargetRequest_s::dif |
Definition at line 2994 of file sa.h.
Referenced by saSSPStart().
bit32 agsaSSPTargetRequest_s::offset |
Specifies the offset into the overall data block where this data phase is to begin
Definition at line 2990 of file sa.h.
Referenced by saSSPStart(), tiTGTIOStart(), and ttdsaIOCompleted().
bit16 agsaSSPTargetRequest_s::sspOption |
SSP option for retry
Definition at line 2993 of file sa.h.
Referenced by saSSPStart(), and tiTGTIOStart().