Are you an LLM? You can read better optimized documentation at /zh/docs/UB-Base-Specification-2.1.0/transaction-layer/transaction-headers/offset-extended-transaction-header-ofstetah.md for this page in Markdown format
OFSTETAH携带偏移量信息,用于指示该包在事务层多个包内的偏移位置。
OFSTETAH格式如下:
Byte0 | Byte1 | Byte2 | Byte3 |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RSVD | Offset |
图 7-13 OFSTETAH格式
各域段描述如下:
表 7-9 OFSTETAH域段
域段名 | 位宽(bits) | OFSTETAH域段描述 |
|---|
Offset | 24 | 表示包在事务层多个包内的偏移量,以1K Bytes为粒度,首个包offset为0,后续包Offset按1KB个数依次递增。例如,若首个包对应nKB Payload,则第二个包offset为n,依次类推。 对于Send事务而言,Target通过Offset信息确定该包在Receive Queue Element(RQE)中的偏移量。CTP模式下,Send事务长度限制在1个包以内,该域段Reserved。 对于Read事务而言,Initiator通过Offset信息确定该Read Response包在Send Queue Element(SQE)中的偏移量。 |