The Transaction Layer (MTL) registers
must be initialized to establish the transmit and receive operating modes and
commands.
Complete the following steps to
initialize the MTL registers:
- Program the Tx Scheduling (SCHALG) and Receive Arbitration
Algorithm (RAA) fields in MTL_Operation_Mode to initialize the MTL operation in
case of multiple Tx and Rx queues.
- Program the Receive Queue to DMA mapping in MTL_RxQ_DMA_Map0
and MTL_RxQ_DMA_Map1 registers.
- Program the following fields to initialize the mode of
operation in the MTL_TxQ0_Operation_Mode register.
- Transmit Store And Forward (TSF) or Transmit Threshold
Control (TTC) in case of threshold mode
- Transmit Queue Enable (TXQEN) to value 2‘b10 to enable
Transmit Queue0
- Transmit Queue Size (TQS)
- Program the following fields to initialize the mode of
operation in the MTL_RxQ0_Operation_Mode register:
- Receive Store and Forward (RSF) or RTC in case of
Threshold mode
- Flow Control Activation and Deactivation thresholds
for MTL Receive FIFO (RFA and RFD)
- Error Packet and undersized good Packet forwarding
enable (FEP and FUP)
- Receive Queue Size (RQS)
- Repeat previous two steps for all MTL Tx and Rx queues.