FreeBSD kernel pms device code
agsaSSPTargetRequest_s Struct Reference

data structure describes a SAS SSP target read and write request More...

#include <sa.h>

Collaboration diagram for agsaSSPTargetRequest_s:

Data Fields

agsaSgl_t agSgl
 
bit32 dataLength
 
bit32 offset
 
bit16 agTag
 
bit16 sspOption
 
agsaDif_t dif
 

Detailed Description

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.

Definition at line 2985 of file sa.h.

Field Documentation

◆ agSgl

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().

◆ agTag

bit16 agsaSSPTargetRequest_s::agTag

Tag from ossaSSPReqReceived().

Definition at line 2992 of file sa.h.

Referenced by saSSPStart(), tiTGTIOStart(), ttdsaIOCompleted(), and ttdsaSSPReqReceived().

◆ dataLength

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().

◆ dif

agsaDif_t agsaSSPTargetRequest_s::dif

Definition at line 2994 of file sa.h.

Referenced by saSSPStart().

◆ offset

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().

◆ sspOption

bit16 agsaSSPTargetRequest_s::sspOption

SSP option for retry

Definition at line 2993 of file sa.h.

Referenced by saSSPStart(), and tiTGTIOStart().


The documentation for this struct was generated from the following file: