用于 PCIe* 解决方案的 Intel® Stratix® 10 Avalon® -ST和Single Root I/O Virtualization (SR-IOV)接口用户指南

ID 683111
日期 12/06/2017
Public
文档目录

6.1.14. 传输层配置空间接口(Transaction Layer Configuration Space Interface)

Transaction Layer (TL)总线提供一组存储在Configuration Space中的信息。使用此信息以及app_err*信号来了解TLP传输问题。
表 39.  配置空间信号

信号

方向

说明

tl_cfg_add[3:0] H-Tile

tl_cfg_add[4:0] L-Tile

Output

TLP寄存器的地址。此信号是一个索引,表明哪个Configuration Space寄存器被驱动到tl_cfg_ctl。请参考H-Tile Multiplexed Configuration Register Information Available on tl_cfg_ctl或者 E-Tile Multiplexed Configuration Register Information Available on tl_cfg_ctl来获取可用信息。

Address of the TLP register. This signal is an index indicating which Configuration Space register information is being driven onto tl_cfg_ctl. Refer to L-Tile Multiplexed Configuration Register Information Available on tl_cfg_ctl for the available information.

tl_cfg_ctl[31:0]

Output

Tl_cfg_ctl信号是多路复用的,包含Configuration Space寄存器的一组内容。

tl_cfg_func[1:0] Output 指定功能,此功能的Configuration Space寄存器值被驱动到tl_cfg_ctl[31:0]。下面编码定义为:
  • 2'b00: Physical Function (PF0)
  • 2'b01: PF1用于H-Tile,保留用于L-Tile
  • 2'b10: PF2用于H-Tile,保留用于L-Tile
  • 2'b11: PF3用于H-Tile,保留用于L-Tile
app_err_hdr[31:0] Input 错误TLP的header信息。四个4-byte传输发送此信息到IP core。
app_err_info[10:0] Input Application可以选择提供以下信息:
  • app_err_info[0]: Malformed TLP
  • app_err_info[1]: Receiver Overflow
  • app_err_info[2]: Unexpected Completion
  • app_err_info[3]: Completer Abort
  • app_err_info[4]: Completer Timeout
  • app_err_info[5]: Unsupported Request
  • app_err_info[6]: Poisoned TLP Received
  • app_err_info[7]: AtomicOp Egress Blocked
  • app_err_info[8]: Uncorrectable Internal Error
  • app_err_info[9]: Correctable Internal Error
  • app_err_info[10]: Advisory Non-Fatal Error
app_err_valid Input 置位时,表明app_err_info[10:0]上的数据是有效的。对于多功能类别,app_err_func_num指定其功能。

图 53. 配置空间寄存器访问时序Transaction Layer (TL)总线上的信息是时分多路复用的(time-division multiplexed (TDM))。当tl_cfg_func[1:0]= 2'b00tl_cfg_ctl[31:0]驱动PF0 Configuration Space寄存器值连续八个周期。接下来的40个周期是保留的。然后,重复48-cycle模式。
表 40.  tl_cfg_ctl上的-Tile多路复用的配置寄存器信息
TDM 31 24 23 16 15 8 7 0
0

[28:24]: Device Number

[29]: Relax order enable

[30]: No snoop enable

[31]: IDO request enable

Bus Number

[13:8]: Auto negotiation link width

[14]: IDO completion enable

[15]: Memory space enable

Device Control

[2:0]: Max payload size

[5:3]: Max rd req size

[6]: Extended tag enable

[7]: Bus master enable

1

[28:24]AER IRQ Msg num

[29]: cfg_send_corr_err

[30]: cfg_send_nf_err

[31]: cfg_send_f_rr

[16]: RCB cntl

[17]: cfg_pm_no_soft_rst

[23:18]: auto negotiation link width

[12:8]: PCIe cap interrupt msg num

[13]: interrupt disable

[15:14]: Reserved.

[1:0]: Sys power ind. cntl

[3:2]: Sys atten ind cntl

[4]: Sys power cntl

[7:5]: Reserved

2 Index of start VF[6:0] Num VFs

[4:1]: STU

[11:8]: ATS

[15:12]: auto negotiation link speed

[0]: VF enable

[1]: TPH enable

[3:2]: TPH ST mode[1:0]

[4]: Atomic request enable

[5]: ARI forward enable

[6]: ATS cache enable

[7]: ATS STU[0]

3

MSI Address Lower

4

MSI Address Upper

5 MSI Mask
6

MSI Data

Reserved

[0]: MSI enable

[1]: 64-bit MSI

[4:2]: Multiple MSI enable

[5]: MSI-X enable

[6]: MSI-X func mask

7

Reserved

[5:0]: Auto negotiation link width

[9:6]: Auto negotiation link speed

表 41.   H-Tile Multiplexed Configuration Register Information Available on tl_cfg_ctl Information on the Transaction Layer (TL) bus is time-division multiplexed (TDM). The TL bus displays the information for each of the 4 PFs and their associated VFs in 10 consecutive cycles. Then, the 40-cycle pattern repeats.
TDM 31 24 23 16 15 8 7 0
0

[28:24]: Device number

[29]: Relaxed Ordering en

[30]: No Snoop en

[31]: (IDO) req en

Bus Number

[ 8]: unsupported_req_rpt_en

[ 9]: corr_err_rpt_en

[10]: nonfatal_err_rpt_en

[11]: fatal_err_rpt_en

[12]: serr_err

[13]: perr_en

[14]: IDO completion en

[15]: Memory space en

Device Control

[2:0]: Max payload size

[5:3]: Max rd req size

[6]: Extended tag en

[7]: Bus master en

1

Number of VFs[15:0]

[12:8]: PCIe Capability IRQ Msg Num

[13]: IRQ disable

[14]: Rd Cmpl Boundary (RCB) cntl

[15]: pm_no_soft_rst

[1:0]: System ind power cntl

[3:2]: Sys atten ind cntl

[4]: System power cntl

[7:5]: Reserved

2

[16]: Reserved

[27:17]: ]: Index of Start VF[10:0]

[31:28]: Auto negotiation link speed

[8]: ATS cache en

[13:9]: ATS STU[4:0]

[15:14]: Reserved

[0]: VF en

[2:1]: TPH en

[5:3]: TPH ST mode

[6:] Atomic req en

[7]: ARI forward enable

3

MSI Address Lower

4

MSI Address Upper

5 MSI Mask
6

MSI Data

[12:8]: AER IRQ Msg Num

[13]: cfg_send_cor_err

[14]: cfg_send_nf_err

[15]: cfg_send_f_err

[0]: MSI en

[1]: 64-bit MSI

[4:2]: Multiple MSI en

[5]: MSI-X en

[6]: MSI-X func mask

[7]: Reserved

7

AER Uncorrectable Error Mask

8

AER Correctable Error Mask

9

AER Uncorrectable Error Severity