# 架构

Source: [https://docs.qualcomm.com/doc/80-70014-26Y/topic/architecture.html](https://docs.qualcomm.com/doc/80-70014-26Y/topic/architecture.html)

下图显示了通过以太网进行数据通信所涉及的架构及其组件。

Figure : 以太网架构
            <?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export ethernet-arch.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" width="6.22917in" height="8.96444in" viewbox="0 0 448.5 645.44" xml:space="preserve" color-interpolation-filters="sRGB" class="st19"><style>.svg-1 .st1 { fill: #ffffff; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st2 { fill: #4a5a75; stroke: #4a5a75; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st3 { fill: #ffffff; font-family: Arial; font-size: 1.00001em }
.svg-1 .st4 { fill: #acbacf; stroke: #acbacf; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st5 { fill: #000000; font-family: Arial; font-size: 1.00001em }
.svg-1 .st6 { fill: #7ba0ff; stroke: #7ba0ff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st7 { fill: #dee3ec; stroke: #dee3ec; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st8 { fill: none; stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st9 { stroke: #000000; stroke-dasharray: 2.25, 2.25; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st10 { marker-end: url("#mrkr4-37"); marker-start: url("#mrkr4-35"); stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st11 { fill: #000000; fill-opacity: 1; stroke: #000000; stroke-opacity: 1; stroke-width: 0.22935779816514 }
.svg-1 .st12 { fill: #ffffff; stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1 }
.svg-1 .st13 { fill: #000000 }
.svg-1 .st14 { stroke: #000000; stroke-dasharray: 5.25, 3.75; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st15 { fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st16 { fill: #000000; font-family: Arial; font-size: 1.00001em; font-weight: bold }
.svg-1 .st17 { fill: #ffffff; font-family: Arial; font-size: 0.833336em }
.svg-1 .st18 { fill: #000000; font-family: Arial; font-size: 0.833336em }
.svg-1 .st19 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<defs id="Markers">	<g id="lend4">		<path d="M 2 1 L 0 0 L 2 -1 L 2 1 " style="stroke:none"></path>	</g>	<marker id="mrkr4-35" class="st11" refx="8.24" orient="auto" markerunits="strokeWidth" overflow="visible">		<use xlink:href="#lend4" transform="scale(4.36) "></use>	</marker>	<marker id="mrkr4-37" class="st11" refx="-8.72" orient="auto" markerunits="strokeWidth" overflow="visible">		<use xlink:href="#lend4" transform="scale(-4.36,-4.36) "></use>	</marker></defs><g>	<title>Page-1</title>	<g id="shape1006-1" transform="translate(14.625,-14.625)">		<title>Sheet.1006</title>		<rect x="0" y="30.0647" width="417.375" height="615.375" class="st1"></rect>	</g>	<g id="shape1-3" transform="translate(169.125,-591.315)">		<title>Sheet.1</title>		<desc>Applications</desc>		<rect x="0" y="618.44" width="105.188" height="27" rx="4.5" ry="4.5" class="st2"></rect>		<text x="20.24" y="635.54" class="st3">应用程序</text>		</g>	<g id="shape2-6" transform="translate(83.0625,-483.315)">		<title>Sheet.2</title>		<desc>Linux kernel network stack</desc>		<rect x="0" y="600.44" width="277.313" height="45" rx="4.5" ry="4.5" class="st4"></rect>		<text x="67.96" y="626.54" class="st5">Linux 内核网络堆栈</text>		</g>	<g id="shape3-9" transform="translate(159,-425.815)">		<title>Sheet.3</title>		<desc>Ethernet/switch driver</desc>		<rect x="0" y="618.44" width="124.875" height="27" rx="4.5" ry="4.5" class="st6"></rect>		<text x="4.75" y="635.54" class="st5">以太网/交换机驱动程序</text>		</g>	<g id="shape4-12" transform="translate(159,-366.315)">		<title>Sheet.4</title>		<desc>PHY driver 1, 2,...n</desc>		<rect x="0" y="618.44" width="124.875" height="27" rx="4.5" ry="4.5" class="st6"></rect>		<text x="11.75" y="635.54" class="st5">PHY 驱动程序 1、2、...n</text>		</g>	<g id="shape5-15" transform="translate(148.913,-256.77)">		<title>Sheet.5</title>		<desc>Ethernet/switch hardware</desc>		<rect x="0" y="618.44" width="144" height="27" rx="4.5" ry="4.5" class="st7"></rect>		<text x="4.3" y="635.54" class="st5">以太网/交换机硬件</text>		</g>	<g id="shape6-18" transform="translate(148.837,-205.315)">		<title>Sheet.6</title>		<desc>PHY hardware 1, 2,...n</desc>		<rect x="0" y="618.44" width="144" height="27" rx="4.5" ry="4.5" class="st7"></rect>		<text x="11.3" y="635.54" class="st5">PHY 硬件 1、2、...n</text>		</g>	<g id="shape7-21" transform="translate(149.437,-150.896)">		<title>Sheet.7</title>		<desc>RJ45/IX 1, 2,…n</desc>		<rect x="0" y="618.44" width="144" height="27" rx="4.5" ry="4.5" class="st7"></rect>		<text x="27.98" y="635.54" class="st5">RJ45/IX 1、2、...n</text>		</g>	<g id="shape8-24" transform="translate(18.875,-349.315)">		<title>Sheet.8</title>		<rect x="0" y="367.69" width="411.25" height="277.75" rx="13.5" ry="13.5" class="st8"></rect>	</g>	<g id="shape9-26" transform="translate(18.875,-560.565)">		<title>Sheet.9</title>		<path d="M0 645.44 L409.45 645.44" class="st9"></path>	</g>	<g id="shape10-29" transform="translate(867.377,54.375) rotate(90)">		<title>Sheet.10</title>		<path d="M6.18 645.44 L6.54 645.44 L55.83 645.44" class="st10"></path>	</g>	<g id="shape11-38" transform="translate(866.811,171.624) rotate(90.8211)">		<title>Sheet.11</title>		<path d="M6.18 645.44 L6.54 645.44 L23.74 645.44" class="st10"></path>	</g>	<g id="shape12-45" transform="translate(866.877,219.625) rotate(90)">		<title>Sheet.12</title>		<path d="M6.18 645.44 L6.54 645.44 L25.81 645.44" class="st10"></path>	</g>	<g id="shape13-52" transform="translate(18,-133.315)">		<title>Sheet.13</title>		<rect x="0" y="482.16" width="412.5" height="163.279" rx="9" ry="9" class="st8"></rect>	</g>	<g id="shape14-54" transform="translate(866.315,296.125) rotate(90)">		<title>Sheet.14</title>		<path d="M6.18 645.44 L6.54 645.44 L45.21 645.44" class="st10"></path>	</g>	<g id="shape15-61" transform="translate(866.315,388.67) rotate(90)">		<title>Sheet.15</title>		<path d="M6.18 645.44 L6.54 645.44 L17.91 645.44" class="st10"></path>	</g>	<g id="shape16-68" transform="translate(866.315,440.125) rotate(90)">		<title>Sheet.16</title>		<path d="M6.18 645.44 L6.54 645.44 L20.46 645.44" class="st10"></path>	</g>	<g id="group17-75" transform="translate(154.437,-54.3148)">		<title>Laptop</title>		<g id="shape18-76" transform="translate(0,-4.57335)">			<title>Sheet.18</title>			<path d="M0 645.44 L49 645.44 L49 640.26 L44.8 633.11 L3.95 633.11 L0 640.26 L0 645.44 ZM44.94 631.94 L44.94 609.32						 C44.94 607.04 43.1 605.19 40.84 605.19 L8.05 605.19 C5.78 605.19 3.95 607.04 3.95 609.32 L3.95 631.94						 L44.94 631.94 Z" class="st12"></path>		</g>		<g id="shape19-78" transform="translate(4.82109,-10.3337)">			<title>Sheet.19</title>			<path d="M1.98 641.87 L0 645.44 L39.27 645.44 L37.29 641.87 L1.98 641.87 Z" class="st13"></path>		</g>		<g id="shape20-81" transform="translate(7.90035,-22.378)">			<title>Sheet.20</title>			<rect x="0" y="626.864" width="33.1998" height="18.5757" class="st12"></rect>		</g>	</g>	<g id="group21-83" transform="translate(238.312,-54.3148)">		<title>Laptop.21</title>		<g id="shape22-84" transform="translate(0,-4.57335)">			<title>Sheet.22</title>			<path d="M0 645.44 L49 645.44 L49 640.26 L44.8 633.11 L3.95 633.11 L0 640.26 L0 645.44 ZM44.94 631.94 L44.94 609.32						 C44.94 607.04 43.1 605.19 40.84 605.19 L8.05 605.19 C5.78 605.19 3.95 607.04 3.95 609.32 L3.95 631.94						 L44.94 631.94 Z" class="st12"></path>		</g>		<g id="shape23-86" transform="translate(4.82109,-10.3337)">			<title>Sheet.23</title>			<path d="M1.98 641.87 L0 645.44 L39.27 645.44 L37.29 641.87 L1.98 641.87 Z" class="st13"></path>		</g>		<g id="shape24-89" transform="translate(7.90035,-22.378)">			<title>Sheet.24</title>			<rect x="0" y="626.864" width="33.1998" height="18.5757" class="st12"></rect>		</g>	</g>	<g id="shape25-91" transform="translate(825.815,492.125) rotate(90)">		<title>Sheet.25</title>		<path d="M6.18 645.44 L6.54 645.44 L47.01 645.44" class="st10"></path>	</g>	<g id="shape26-98" transform="translate(906.481,492.125) rotate(90)">		<title>Sheet.26</title>		<path d="M6.18 645.44 L6.54 645.44 L47.08 645.44" class="st10"></path>	</g>	<g id="shape27-105" transform="translate(201.187,-87.0645)">		<title>Sheet.27</title>		<path d="M0 645.44 L40.5 645.44" class="st14"></path>	</g>	<g id="shape28-108" transform="translate(18.375,-567.565)">		<title>Sheet.28</title>		<desc>User space</desc>		<rect x="0" y="631.94" width="72" height="13.5" class="st15"></rect>		<text x="5.65" y="642.29" class="st5">用户空间</text>		</g>	<g id="shape29-111" transform="translate(18.375,-538.315)">		<title>Sheet.29</title>		<desc>Kernel space</desc>		<rect x="0" y="631.94" width="85.5" height="13.5" class="st15"></rect>		<text x="7.73" y="642.29" class="st5">内核空间</text>		</g>	<g id="shape30-114" transform="translate(355.875,-605.815)">		<title>Sheet.30</title>		<desc>APSS</desc>		<rect x="0" y="631.94" width="72" height="13.5" class="st15"></rect>		<text x="19.66" y="642.29" class="st16">APSS</text>		</g>	<g id="shape31-117" transform="translate(181.75,-317.815)">		<title>Sheet.31</title>		<desc>PCIe connect</desc>		<rect x="0" y="631.94" width="85.5" height="13.5" class="st1"></rect>		<text x="6.73" y="642.29" class="st5">PCIe 连接</text>		</g>	<g id="shape32-120" transform="translate(19.25,-274.5)">		<title>Sheet.32</title>		<desc>Ethernet hardware</desc>		<rect x="0" y="631.94" width="112.5" height="13.5" class="st15"></rect>		<text x="4" y="642.29" class="st5">以太网硬件</text>		</g>	<g id="shape1002-123" transform="translate(103.5,-18)">		<title>Sheet.1002</title>		<desc>Developer specific</desc>		<rect x="0" y="623.84" width="94.5" height="21.6" rx="4.5" ry="4.5" class="st2"></rect>		<text x="6.4" y="637.64" class="st17">开发人员特定</text>		</g>	<g id="shape1003-126" transform="translate(202.5,-18)">		<title>Sheet.1003</title>		<desc>Open-source</desc>		<rect x="0" y="623.84" width="72" height="21.6" rx="4.5" ry="4.5" class="st4"></rect>		<text x="7.1" y="637.64" class="st18">开源代码</text>		</g>	<g id="shape1004-129" transform="translate(279,-18)">		<title>Sheet.1004</title>		<desc>Software</desc>		<rect x="0" y="623.84" width="72" height="21.6" rx="4.5" ry="4.5" class="st6"></rect>		<text x="16.27" y="637.64" class="st18">软件</text>		</g>	<g id="shape1005-132" transform="translate(355.6,-18.25)">		<title>Sheet.1005</title>		<desc>Hardware</desc>		<rect x="0" y="623.84" width="72" height="21.6" rx="4.5" ry="4.5" class="st7"></rect>		<text x="14.33" y="637.64" class="st18">硬件</text>		</g></g>
</svg>

以太网架构的组件如下所述。

| 组件 | 说明 |
| --- | --- |
| 应用处理器子系统 (APSS) | <ul class="ul" id="overview__ul_h4f_js5_tbc"><br>                                <li class="li">在基于 Linux 的操作系统上运行。</li><br><br>                                <li class="li">与 Linux 内核驱动程序交互以实现数据连接。</li><br><br>                            </ul> |
| 以太网驱动程序 | <ul class="ul" id="overview__ul_vtt_555_tbc"><br>                                <li class="li">Linux 内核中的软件驱动程序。</li><br><br>                                <li class="li">通过有线以太网接口提供数据连接。</li><br><br>                            </ul> |
| PHY 驱动程序 | <ul class="ul" id="overview__ul_npz_fs5_tbc"><br>                                <li class="li">专用于管理以太网物理层的底层驱动程序。</li><br><br>                                <li class="li">实现处理 PHY 生命周期（从初始化到链路建立）所需的软件状态机。</li><br><br>                                <li class="li">与底层管理数据输入/输出 (MDIO) 交互以访问 PHY 寄存器，并执行检测活动 PHY 和/或已链接 PHY 等操作。</li><br><br>                            </ul> |
| 以太网硬件 | <ul class="ul" id="overview__ul_fhx_ws5_tbc"><br>                                <li class="li">QEP 和 AQR PHY 均已在 RB3 Gen 2 平台上通过验证。<ul class="ul" id="overview__ul_vts_1t5_tbc"><br>                                        <li class="li">默认使用 2.5 GbE 的 QEP PHY。在 1 x QEP8121 IX 连接器上启用并进行了验证。</li><br><br>                                        <li class="li">10 GbE 的 AQR PHY 为可选项。在 1 x AQR113C IX 连接器上进行了验证。</li><br><br>                                        <li class="li">更多信息可参见 <a href="https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-251Y/rb3_hardware_overview.html#mainboard-and-interposer-block-diagram" target="_blank" class="xref cursorpointer" onclick="Window.BookmapComponent.navigateExternalFile('https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-251Y/rb3_hardware_overview.html#mainboard-and-interposer-block-diagram')">RB3 Gen 2 主板和内插器框图</a>。</li><br><br>                                    </ul><br><div class="note note" id="overview__note_vxs_hv5_4bc"><span class="notetitle">Note:</span> 后续章节中显示的输出基于对 QEP8121 和 AQR113C PHY 的验证。</div><br></li><br><br>                                <li class="li">要调通 Qualcomm 提供的配置以外的硬件，参见<a href="https://docs.qualcomm.com/doc/80-70014-26Y/topic/bring_up.html#attach_other_ethernet_phy_components">调通启用替代硬件</a>。</li><br><br>                                <li class="li">有关通用串行总线 (USB) 以太网连接的更多信息，参见<a href="https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-251Y/rb3_hardware_overview.html#sub$rb3_gen2_ethernet" target="_blank" class="xref cursorpointer" onclick="Window.BookmapComponent.navigateExternalFile('https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-251Y/rb3_hardware_overview.html#sub$rb3_gen2_ethernet')">以太网</a>。</li><br><br>                            </ul> |

Last Published: Aug 06, 2024

[Previous Topic
功能](https://docs.qualcomm.com/bundle/publicresource/80-70014-26Y/topics/features.md) [Next Topic
工具](https://docs.qualcomm.com/bundle/publicresource/80-70014-26Y/topics/tools.md)