9.2. Transaction Layer
The Transaction Layer is located between the Application Layer and the Data Link Layer. It generates and receives Transaction Layer Packets. The following illustrates the Transaction Layer. The Transaction Layer includes three sub-blocks: the TX datapath, Configuration Space, and RX datapath.
Tracing a transaction through the RX datapath includes the following steps:
- The Transaction Layer receives a TLP from the Data Link Layer.
- The Configuration Space determines whether the TLP is well formed and directs the packet based on traffic class (TC).
- TLPs are stored in a specific part of the RX buffer depending on the type of transaction (posted, non-posted, and completion).
- The TLP FIFO block stores the address of the buffered TLP.
- The receive reordering block reorders the queue of TLPs as needed, fetches the address of the highest priority TLP from the TLP FIFO block, and initiates the transfer of the TLP to the Application Layer.
- When ECRC generation and forwarding are enabled, the Transaction Layer forwards the ECRC DWORD to the Application Layer.
Tracing a transaction through the TX datapath involves the following steps:
- The Transaction Layer informs the Application Layer that sufficient flow control credits exist for a particular type of transaction using the TX credit signals. The Application Layer may choose to ignore this information.
- The Application Layer requests permission to transmit a TLP. The Application Layer must provide the transaction and must be prepared to provide the entire data payload in consecutive cycles.
- The Transaction Layer verifies that sufficient flow control credits exist and acknowledges or postpones the request. If there is insufficient space in the retry buffer, the Transaction Layer does not accept the TLP.
- The Transaction Layer forwards the TLP to the Data Link Layer.
Did you find the information on this page useful?