当前位置:网站首页>PCIe knowledge point -008: structure of PCIe switch
PCIe knowledge point -008: structure of PCIe switch
2022-06-27 22:02:00 【IC pigeon】
1、Switch The basic structure
Switch The structure diagram is shown in the figure 1-3 Shown ,switch Contains a upstream port And a number of downstream port,upstream port and downstream port It's through virtual PCI-PCI bridge Connect .
Here are PCIE 5.0 The original description :
• Switches appear to configuration software as two or more logical PCI-to-PCI Bridges.
• A Switch forwards transactions using PCI Bridge mechanisms; e.g., address-based routing except when engaged in a Multicast, as defined in Section 6.14 .
• Except as noted in this document, a Switch must forward all types of Transaction Layer Packets (TLPs) between any set of Ports.
• Locked Requests must be supported as specified in Section 6.5 . Switches are not required to support Downstream Ports as initiating Ports for Locked Requests.
• Each enabled Switch Port must comply with the Flow Control specification within this document.
• A Switch is not allowed to split a packet into smaller packets, e.g., a single packet with a 256-byte payload must not be divided into two packets of 128 bytes payload each.
• Arbitration between Ingress Ports (inbound Link) of a Switch may be implemented using round robin or weighted round robin when contention occurs on the same Virtual Channel. This is described in more detail later within the specification.
• Endpoints (represented by Type 00h Configuration Space headers) must not appear to configuration software on the Switch’s internal bus as peers of the virtual PCI-to-PCI Bridges representing the Switch Downstream Ports.

2、Switch Medium downstream port Quantity and device number
To not support ARI Structural switch As a case study :
2.1 Single-function Type of switch
Common design ,Downstream Ports and upstream port All are Single-function , That a single function. All that is ( The quantity is not more than 32)Downstream Ports Share a bus number , Pictured 1-3 The results shown are . Different downstream port only device number(8-bit) Dissimilarity , from 0~31.
2.1 Multifunction Type of switch
When switch in downstream port More than 32 Time ,Single-function Type of switch The old can not meet the demand . here downstream port perhaps upstream port All need to be implemented as Multifunction The equipment .
Pictured 21-10 Shown , only downstream port Implemented as a Multifunction, be-all downstream port Still share a set of bus numbers ,, Every function Have one type1 Configuration space of type .
Pictured 21-11 Shown ,upstream port and downstream port Are implemented as Multifunction,downstream port Share two groups of buses respectively .
But not non-ARI Of upstream port Only a single... Can be used device( see PCIE 5.0 agreement P680)


3、 reference
MindShare_PCI_Express_System_Architecture P819 chart 21-10 Sum graph 21-11
PCI Express Base Specification Revision 5.0, Version 1.0 7.3.1 Device Number P680
With non-ARI Devices, PCI Express components are restricted to implementing a single Device Number on their primary interface (Upstream Port), but are permitted to implement up to eight independent Functions within that Device Number. Each internal Function is selected based on decoded address information that is provided as part of the address portion of Configuration Request packets.
边栏推荐
- Xiao Wang's interview training task
- 豆沙绿保护你的双眼
- Interval DP of Changyou dynamic programming
- \w和[A-Za-z0-9_],\d和[0-9]等价吗?
- Method of reading file contents by Excel
- Test birds with an annual salary of 50w+ are using this: JMeter script development -- extension function
- 北京邮电大学|用于成本和延迟敏感的虚拟网络功能放置和路由的多智能体深度强化学习
- [MySQL] database function clearance Tutorial Part 2 (window function topic)
- Special tutorial - Captain selection game
- xpath
猜你喜欢

"Apprendre cette image" apparaît sur le Bureau win11 comment supprimer

Figure countdownlatch and cyclicbarrier based on AQS queue
How to design an elegant caching function

Common problems encountered by burp Suite

Go from introduction to practice -- shared memory concurrency mechanism (notes)

Use Fiddler to simulate weak network test (2g/3g)

Secret script of test case design without leakage -- module test
![\W and [a-za-z0-9_], \Are D and [0-9] equivalent?](/img/96/2649c9cf95b06887b57fd8af2d41c2.png)
\W and [a-za-z0-9_], \Are D and [0-9] equivalent?
![[LeetCode]动态规划解拆分整数I[Silver Fox]](/img/18/8dc8159037ec1262444db8899cde0c.png)
[LeetCode]动态规划解拆分整数I[Silver Fox]

win11桌面出现“了解此图片”如何删除
随机推荐
[LeetCode]161. 相隔为 1 的编辑距离
石子合并问题分析
[LeetCode]186. 翻转字符串里的单词 II
Go from introduction to actual combat - task cancellation (note)
[LeetCode]动态规划解分割数组II[Arctic Fox]
\w和[A-Za-z0-9_],\d和[0-9]等价吗?
Go 访问GBase 8a 数据库的一个方法
豆沙绿保护你的双眼
Sharing | intelligent environmental protection - ecological civilization informatization solution (PDF attached)
Go from introduction to practice -- shared memory concurrency mechanism (notes)
Set code exercise
How to do function test well? Are you sure you don't want to know?
Test birds with an annual salary of 50w+ are using this: JMeter script development -- extension function
Example of using gbase 8A OLAP function group by grouping sets
Software test automation test -- interface test from entry to proficiency, learn a little every day
Yarn中RMApp、RMAppAttempt、RMContainer和RMNode状态机及其状态转移
洛谷P5706 再分肥宅水
[leetcode] dynamic programming solution partition array ii[arctic fox]
Open source technology exchange - Introduction to Chengying, a one-stop fully automated operation and maintenance manager
Xiao Wang's interview training task