0、参考文档1、规范标准1.1接口接口名称位置速率规范备注MIISwitch/MAC100RMIISwitch/MAC100RvMIISwitch/MAC100GMIISwitch/MAC1000RGMIISwitch/MAC1000TBISwitch/MAC1000RTBISwitch/MAC1000SGMIISwitch/MAC1000SerDesSwitch/MAC1000SerDesPass-ThroughSwitch/MAC100010/100/1000Base-TMedia10/100/1000Copper100Base-FXMedia100SerDesMedia1000Fiber1000Base-TMedia10001000Base-XMedia10001000Base-CXMedia10001000BASE-CXoverspeciallyshielded150balancedcopperjumpercableassembliesasspecifiedinIEEE802.3Clause391000Base-KXMedia1000IEEE802.3apPhysicalLayerspecificationfor1Gb/susing1000BASE-XencodingoveranelectricalbackplaneasspecifiedinIEEE802.3Clause701000Base-BXMedia1000PICMG3.1electricalspecificationfortransmissionof1Gb/sEthernetor1Gb/sFibreChannelencodeddataoverthebackplane10GBase-XMedia10000AnIEEE802.3physicalcodingsublayerfor10Gb/soperationoverXAUIandfourlanePMDsasperIEEE802.3Clause4810GBase-CX4Media10000IEEE802.3PhysicalLayerspecificationfor10Gb/susing10GBASE-Xencodingoverfourlanesof100shieldedbalancedcoppercablingasspecifiedinIEEE802.3Clause5410GBase-KX4Media10000IEEE802.3apPhysicalLayerspecificationfor10Gb/susing10GBASE-XencodingoveranelectricalbackplaneasspecifiedinIEEE802.3Clause7110GBase-BX4Media10000PICMG3.1electricalspecificationfortransmissionof10Gb/sEthernetor10Gb/sFibreChannelencodeddataoverthebackplane10GBase-LX4Media10000IEEE802.3PhysicalLayerspecificationfor10Gb/susing10GBASE-XencodingoverfourWWDMlanesovermultimodefiberasspecifiedinIEEE802.3Clause5410GBase-RMedia10000SFI10GBase-KRMedia10000IEEE802.3apPhysicalLayerspecificationfor10Gb/susing10GBASE-RencodingoveranelectricalbackplaneasspecifiedinIEEE802.3Clause721.2光模块模块类型高速MAUI协议规范XENPAKXAUIAcooperationagreementfor10GigabitEthernetTransceiverpackageRev3.0X2XAUIAcooperationagreementforasmallVersatile10GigabitEthernetTransceiverpackageRev2.0bXPAKXAUIAcooperationagreementforasmallformfactorpluggable10GigabitEthernetTransceiverpackageRev2.2SFP+SFISFF-8431SpecificationsforEnhanced8.5and10GigabitSmallFormFactorPluggableModuleSFP+rev1.0SFPSerDesINF-8074iSpecificationforSFP(SmallFormfactorPluggable)TransceiverRev1.0GBICSerDesSFF-8053SpecificationforGBIC(GigabitInterfaceConverter)Rev5.51.3电模块模块类型高速MAUI协议规范SFPSerDesINF-8074iSpecificationforSFP(SmallFormfactorPluggable)TransceiverRev1.0SFPSGMIIINF-8074iSpecificationforSFP(SmallFormfactorPluggable)TransceiverRev1.01.4接口架构1.4.110GBase-X(XAUI)1.4.210GBase-CX41.4.310GBase-KX41.4.410GBase-KR(10GBase-R/SFI)1.4.51000Base-KX1.4.61000Base-T1.4.7SGMII1.4.8RvMII1.5光模块架构1.5.1XENPAK/X2/XPAK1.5.2SFP1.5.3SFP+1.6电模块架构参看【2.3.2】2、构建块2.1Switch/MAC(1)一般Switch的端口采用SerDes方式与外界相连,支持SerDes和SGMII模式。其带有InternalSerDesPHY,可支持SerDes和SGMII的自动检测(需启用自动协商),也可配置成某一种模式。(2)应用:例如:BCM56334。2.2PHY2.2.1CoppertoRGMIISwitch/MAC接口可以是:GMII/RGMII/RTBI/SGMII等。2.2.21000Base-XtoRGMII2.2.3100Base-FX(CopperInterface)toRGMII2.2.4100Base-FX(FiberInterface)toRGMII2.2.510/100/1000Base-TtoSGMII2.2.6100Base-FX(CopperInterface)toSGMII2.2.71000Base-Tto1000Base-X(SerDes)(GBIC)说明:另外一种称呼,MediaConverter2.2.8RGMII-SGMIISlaveModefor10/100/1000Base-TSFP2.2.9DualMediawithSGMII/SerDesPass-ThroughInterface说明:(1)PHY具有媒介自动检测功能,从而根据检测结果调整与Switch/MAC接口的工作模式。(2)应用场合:Combo接口。例如:Nu-310C发包器。2.2.10DualMediawithRGMII/RTBIInterface2.2.11FiberOnlytoSwitch/MAC说明:此场景使用于不能提供SGMII/SerDes接口的Swtich/MAC。2.2.12SerDestoSerDes(SerDesPass-Through)2.3SFP/SFP+2.3.1光SFP/SFP+2.3.1.11000Base-XSFPwithSerDesInterface(1.25Gbps)标准:INF-80742.3.1.210GBase-XSFP+withSFIInterface(10.3125Gbps)标准:SFF-8341,SFF-83422.3.2电SFP2.3.2.110/100/1000Base-TSFPwithSGMIIInterface参看【2.2.5】2.3.2.21000Base-TSFPwithSGMIIInterface参看【2.2.7】2.3.2.31000Base-TSFPwithSerDesInterface参看【2.2.7】3、连接3.1Switch交换端口对端单元媒介协议备注SGMII/SerDesPHYCopperSGMIISGMII/SerDesSFPCopper/FiberSGMII/SerDesSGMII/SerDesSFP+FiberSerDesSGMII/SerDesSwitch/MACw/SerDesInterfaceSerDes如果对端无SerDes直接接口,可外接PHY用于对端接口到SerDes接口的转换。RGMIIPHYCopperRGMIISFP(Fiber)Fiber需外接PHY,用于RGMIItoSerDes转换。RGMIISFP(Copper)Copper需外接PHY,用于RGMIItoSGMII转换。3.2MAC(CPU)CPU端口对端单元媒介协议备注SGMII/SerDesPHYCopperSGMII双绞线RJ45端口。SGMII/SerDesSFPCopper/FiberSGMII/SerDesSGMII/SerDesSFP+FiberSerDesSGMII/SerDesSwitch/MACw/SerDesInterfaceSerDesRGMIIPHYCopperRGMIISFP(Fiber)Fiber需外接PHY,用于RGMIItoSerDes转换。RGMIISFP(Copper)Copper需外接PHY,用于RGMIItoSGMII转换。RGMIISwitch/MACw/SerDesInterfaceSerDes需外接PHY,用于RGMIItoSerDes转换。Portw/internalPHYCopper双绞线RJ45端口。4、应用场景4.1网卡方案根据下面两个要素进行设计:(1)主芯片提供的”Switch/MAC“接口;(2)网卡对外的连接器类型:RJ45,SFP/SFP+模块;考虑是否增加PHY用于接口转换。4.2交换机4.3板内芯片互联SwitchSGMII/SerDes端口与CPUwithoutSGMII/SerDes端口连接:(1)CPU外接PHY用于RGMIItoSerDes转换;(2)Switch外接PHY用于SGMIIto10/100/1000Base-T转换,CPU外接PHY用于RGMIIto10/100/1000Base-T转换,然后对接;方案的选择取决于成本、速率、完全板内或子卡模块等因素。4.4机框内板间芯片互联(背板)5、其他5.1SGMIIv.s.SerDes5.2SFP/SFP+模块定义标准:INF-8074,AppendixB.4,ModuleDefinitionInterfaceandDataFieldDescriptionSFF-8472,SpecificationforDiagnosticMonitoringInterfaceforOpticalTransceiversRev11.3