€•Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ*/translations/zh_CN/networking/dsa/sja1105”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/zh_TW/networking/dsa/sja1105”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/it_IT/networking/dsa/sja1105”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/ja_JP/networking/dsa/sja1105”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/ko_KR/networking/dsa/sja1105”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/pt_BR/networking/dsa/sja1105”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ*/translations/sp_SP/networking/dsa/sja1105”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒNXP SJA1105 switch driver”h]”hŒNXP SJA1105 switch driver”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒD/var/lib/git/docbuild/linux/Documentation/networking/dsa/sja1105.rst”h´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒOverview”h]”hŒOverview”…”�”}”(hhÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhhËh²hh³hÊh´KubhŒ paragraph”“”)�”}”(hŒBThe NXP SJA1105 is a family of 10 SPI-managed automotive switches:”h]”hŒBThe NXP SJA1105 is a family of 10 SPI-managed automotive switches:”…”�”}”(hhÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KhhËh²hubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒ)SJA1105E: First generation, no TTEthernet”h]”hÝ)�”}”(hhõh]”hŒ)SJA1105E: First generation, no TTEthernet”…”�”}”(hh÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K hhóubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒ&SJA1105T: First generation, TTEthernet”h]”hÝ)�”}”(hj h]”hŒ&SJA1105T: First generation, TTEthernet”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒ4SJA1105P: Second generation, no TTEthernet, no SGMII”h]”hÝ)�”}”(hj#h]”hŒ4SJA1105P: Second generation, no TTEthernet, no SGMII”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K hj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒ1SJA1105Q: Second generation, TTEthernet, no SGMII”h]”hÝ)�”}”(hj:h]”hŒ1SJA1105Q: Second generation, TTEthernet, no SGMII”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K hj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒ1SJA1105R: Second generation, no TTEthernet, SGMII”h]”hÝ)�”}”(hjQh]”hŒ1SJA1105R: Second generation, no TTEthernet, SGMII”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KhjOubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒ.SJA1105S: Second generation, TTEthernet, SGMII”h]”hÝ)�”}”(hjhh]”hŒ.SJA1105S: Second generation, TTEthernet, SGMII”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Khjfubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒXSJA1110A: Third generation, TTEthernet, SGMII, integrated 100base-T1 and 100base-TX PHYs”h]”hÝ)�”}”(hŒXSJA1110A: Third generation, TTEthernet, SGMII, integrated 100base-T1 and 100base-TX PHYs”h]”hŒXSJA1110A: Third generation, TTEthernet, SGMII, integrated 100base-T1 and 100base-TX PHYs”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Khj}ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒESJA1110B: Third generation, TTEthernet, SGMII, 100base-T1, 100base-TX”h]”hÝ)�”}”(hj—h]”hŒESJA1110B: Third generation, TTEthernet, SGMII, 100base-T1, 100base-TX”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Khj•ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒESJA1110C: Third generation, TTEthernet, SGMII, 100base-T1, 100base-TX”h]”hÝ)�”}”(hj®h]”hŒESJA1110C: Third generation, TTEthernet, SGMII, 100base-T1, 100base-TX”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Khj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒ:SJA1110D: Third generation, TTEthernet, SGMII, 100base-T1 ”h]”hÝ)�”}”(hŒ9SJA1110D: Third generation, TTEthernet, SGMII, 100base-T1”h]”hŒ9SJA1110D: Third generation, TTEthernet, SGMII, 100base-T1”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KhjÃubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1hìh³hÊh´K hhËh²hubhÝ)�”}”(hXBeing automotive parts, their configuration interface is geared towards set-and-forget use, with minimal dynamic interaction at runtime. They require a static configuration to be composed by software and packed with CRC and table headers, and sent over SPI.”h]”hXBeing automotive parts, their configuration interface is geared towards set-and-forget use, with minimal dynamic interaction at runtime. They require a static configuration to be composed by software and packed with CRC and table headers, and sent over SPI.”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KhhËh²hubhÝ)�”}”(hŒàThe static configuration is composed of several configuration tables. Each table takes a number of entries. Some configuration tables can be (partially) reconfigured at runtime, some not. Some tables are mandatory, some not:”h]”hŒàThe static configuration is composed of several configuration tables. Each table takes a number of entries. Some configuration tables can be (partially) reconfigured at runtime, some not. Some tables are mandatory, some not:”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KhhËh²hubhŒtable”“”)�”}”(hhh]”hŒtgroup”“”)�”}”(hhh]”(hŒcolspec”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hjubj )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hjubj )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hjubhŒthead”“”)�”}”(hhh]”hŒrow”“”)�”}”(hhh]”(hŒentry”“”)�”}”(hhh]”hÝ)�”}”(hŒTable”h]”hŒTable”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K hj5ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj0ubj4)�”}”(hhh]”hÝ)�”}”(hŒ Mandatory”h]”hŒ Mandatory”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K hjLubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj0ubj4)�”}”(hhh]”hÝ)�”}”(hŒReconfigurable”h]”hŒReconfigurable”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K hjcubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj0ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjubhŒtbody”“”)�”}”(hhh]”(j/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒSchedule”h]”hŒSchedule”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K"hjŽubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj‹ubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K"hj¥ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj‹ubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K"hj¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒSchedule entry points”h]”hŒSchedule entry points”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K#hjÜubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjÙubj4)�”}”(hhh]”hÝ)�”}”(hŒ if Scheduling”h]”hŒ if Scheduling”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K#hjóubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjÙubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K#hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjÙubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ VL Lookup”h]”hŒ VL Lookup”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K$hj*ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj'ubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K$hjAubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj'ubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K$hjXubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ VL Policing”h]”hŒ VL Policing”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K%hjxubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjuubj4)�”}”(hhh]”hÝ)�”}”(hŒ if VL Lookup”h]”hŒ if VL Lookup”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K%hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjuubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K%hj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjuubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ VL Forwarding”h]”hŒ VL Forwarding”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K&hjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjÃubj4)�”}”(hhh]”hÝ)�”}”(hŒ if VL Lookup”h]”hŒ if VL Lookup”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K&hjÝubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjÃubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K&hjôubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjÃubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ L2 Lookup”h]”hŒ L2 Lookup”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K'hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K'hj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K'hjBubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ L2 Policing”h]”hŒ L2 Policing”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K(hjbubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj_ubj4)�”}”(hhh]”hÝ)�”}”(hŒyes”h]”hŒyes”…”�”}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K(hjyubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj_ubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K(hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj_ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ VLAN Lookup”h]”hŒ VLAN Lookup”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K)hj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj­ubj4)�”}”(hhh]”hÝ)�”}”(hŒyes”h]”hŒyes”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K)hjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj­ubj4)�”}”(hhh]”hÝ)�”}”(hŒyes”h]”hŒyes”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K)hjÞubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj­ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ L2 Forwarding”h]”hŒ L2 Forwarding”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K*hjþubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjûubj4)�”}”(hhh]”hÝ)�”}”(hŒyes”h]”hŒyes”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K*hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjûubj4)�”}”(hhh]”hÝ)�”}”(hŒpartially (fully on P/Q/R/S)”h]”hŒpartially (fully on P/Q/R/S)”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K*hj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjûubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ MAC Config”h]”hŒ MAC Config”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K+hjLubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjIubj4)�”}”(hhh]”hÝ)�”}”(hŒyes”h]”hŒyes”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K+hjcubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjIubj4)�”}”(hhh]”hÝ)�”}”(hŒpartially (fully on P/Q/R/S)”h]”hŒpartially (fully on P/Q/R/S)”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K+hjzubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjIubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒSchedule Params”h]”hŒSchedule Params”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K,hjšubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj—ubj4)�”}”(hhh]”hÝ)�”}”(hŒ if Scheduling”h]”hŒ if Scheduling”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K,hj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj—ubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K,hjÈubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj—ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒSchedule Entry Points Params”h]”hŒSchedule Entry Points Params”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K-hjèubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjåubj4)�”}”(hhh]”hÝ)�”}”(hŒ if Scheduling”h]”hŒ if Scheduling”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K-hjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjåubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K-hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjåubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒVL Forwarding Params”h]”hŒVL Forwarding Params”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K.hj6ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj3ubj4)�”}”(hhh]”hÝ)�”}”(hŒif VL Forwarding”h]”hŒif VL Forwarding”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K.hjMubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj3ubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K.hjdubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒL2 Lookup Params”h]”hŒL2 Lookup Params”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K/hj„ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj�ubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K/hj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj�ubj4)�”}”(hhh]”hÝ)�”}”(hŒpartially (fully on P/Q/R/S)”h]”hŒpartially (fully on P/Q/R/S)”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K/hj²ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒL2 Forwarding Params”h]”hŒL2 Forwarding Params”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K0hjÒubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjÏubj4)�”}”(hhh]”hÝ)�”}”(hŒyes”h]”hŒyes”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K0hjéubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjÏubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K0hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjÏubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒClock Sync Params”h]”hŒClock Sync Params”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K1hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K1hj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K1hjNubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ AVB Params”h]”hŒ AVB Params”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K2hjnubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjkubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K2hj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjkubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K2hjœubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjkubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒGeneral Params”h]”hŒGeneral Params”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K3hj¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¹ubj4)�”}”(hhh]”hÝ)�”}”(hŒyes”h]”hŒyes”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K3hjÓubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¹ubj4)�”}”(hhh]”hÝ)�”}”(hŒ partially”h]”hŒ partially”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K3hjêubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ Retagging”h]”hŒ Retagging”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K4hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K4hj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒyes”h]”hŒyes”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K4hj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ xMII Params”h]”hŒ xMII Params”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K5hjXubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjUubj4)�”}”(hhh]”hÝ)�”}”(hŒyes”h]”hŒyes”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K5hjoubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjUubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K5hj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjUubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒSGMII”h]”hŒSGMII”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K6hj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj£ubj4)�”}”(hhh]”hÝ)�”}”(hŒno”h]”hŒno”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K6hj½ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj£ubj4)�”}”(hhh]”hÝ)�”}”(hŒyes”h]”hŒyes”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K6hjÔubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjˆubeh}”(h]”h ]”h"]”h$]”h&]”uh1j†hjubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÿhhËh²hh³hÊh´NubhÝ)�”}”(hŒsAlso the configuration is write-only (software cannot read it back from the switch except for very few exceptions).”h]”hŒsAlso the configuration is write-only (software cannot read it back from the switch except for very few exceptions).”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K:hhËh²hubhÝ)�”}”(hXœThe driver creates a static configuration at probe time, and keeps it at all times in memory, as a shadow for the hardware state. When required to change a hardware setting, the static configuration is also updated. If that changed setting can be transmitted to the switch through the dynamic reconfiguration interface, it is; otherwise the switch is reset and reprogrammed with the updated static configuration.”h]”hXœThe driver creates a static configuration at probe time, and keeps it at all times in memory, as a shadow for the hardware state. When required to change a hardware setting, the static configuration is also updated. If that changed setting can be transmitted to the switch through the dynamic reconfiguration interface, it is; otherwise the switch is reset and reprogrammed with the updated static configuration.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K=hhËh²hubeh}”(h]”Œoverview”ah ]”h"]”Œoverview”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒSwitching features”h]”hŒSwitching features”…”�”}”(hj+ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj( h²hh³hÊh´KEubhÝ)�”}”(hXºThe driver supports the configuration of L2 forwarding rules in hardware for port bridging. The forwarding, broadcast and flooding domain between ports can be restricted through two methods: either at the L2 forwarding level (isolate one bridge's ports from another's) or at the VLAN port membership level (isolate ports within the same bridge). The final forwarding decision taken by the hardware is a logical AND of these two sets of rules.”h]”hX¾The driver supports the configuration of L2 forwarding rules in hardware for port bridging. The forwarding, broadcast and flooding domain between ports can be restricted through two methods: either at the L2 forwarding level (isolate one bridge’s ports from another’s) or at the VLAN port membership level (isolate ports within the same bridge). The final forwarding decision taken by the hardware is a logical AND of these two sets of rules.”…”�”}”(hj9 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KGhj( h²hubhÝ)�”}”(hX‹The hardware tags all traffic internally with a port-based VLAN (pvid), or it decodes the VLAN information from the 802.1Q tag. Advanced VLAN classification is not possible. Once attributed a VLAN tag, frames are checked against the port's membership rules and dropped at ingress if they don't match any VLAN. This behavior is available when switch ports join a bridge with ``vlan_filtering 1``.”h]”(hXzThe hardware tags all traffic internally with a port-based VLAN (pvid), or it decodes the VLAN information from the 802.1Q tag. Advanced VLAN classification is not possible. Once attributed a VLAN tag, frames are checked against the port’s membership rules and dropped at ingress if they don’t match any VLAN. This behavior is available when switch ports join a bridge with ”…”�”}”(hjG h²hh³Nh´NubhŒliteral”“”)�”}”(hŒ``vlan_filtering 1``”h]”hŒvlan_filtering 1”…”�”}”(hjQ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jO hjG ubhŒ.”…”�”}”(hjG h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KNhj( h²hubhÝ)�”}”(hXNormally the hardware is not configurable with respect to VLAN awareness, but by changing what TPID the switch searches 802.1Q tags for, the semantics of a bridge with ``vlan_filtering 0`` can be kept (accept all traffic, tagged or untagged), and therefore this mode is also supported.”h]”(hŒ¨Normally the hardware is not configurable with respect to VLAN awareness, but by changing what TPID the switch searches 802.1Q tags for, the semantics of a bridge with ”…”�”}”(hji h²hh³Nh´NubjP )�”}”(hŒ``vlan_filtering 0``”h]”hŒvlan_filtering 0”…”�”}”(hjq h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jO hji ubhŒa can be kept (accept all traffic, tagged or untagged), and therefore this mode is also supported.”…”�”}”(hji h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KUhj( h²hubhÝ)�”}”(hŒ¼Segregating the switch ports in multiple bridges is supported (e.g. 2 + 2), but all bridges should have the same level of VLAN awareness (either both have ``vlan_filtering`` 0, or both 1).”h]”(hŒ›Segregating the switch ports in multiple bridges is supported (e.g. 2 + 2), but all bridges should have the same level of VLAN awareness (either both have ”…”�”}”(hj‰ h²hh³Nh´NubjP )�”}”(hŒ``vlan_filtering``”h]”hŒvlan_filtering”…”�”}”(hj‘ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jO hj‰ ubhŒ 0, or both 1).”…”�”}”(hj‰ h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KZhj( h²hubhÝ)�”}”(hŒ5Topology and loop detection through STP is supported.”h]”hŒ5Topology and loop detection through STP is supported.”…”�”}”(hj© h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K^hj( h²hubeh}”(h]”Œswitching-features”ah ]”h"]”Œswitching features”ah$]”h&]”uh1hµhh·h²hh³hÊh´KEubh¶)�”}”(hhh]”(h»)�”}”(hŒOffloads”h]”hŒOffloads”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj¿ h²hh³hÊh´Kaubh¶)�”}”(hhh]”(h»)�”}”(hŒTime-aware scheduling”h]”hŒTime-aware scheduling”…”�”}”(hjÓ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjÐ h²hh³hÊh´KdubhÝ)�”}”(hXThe switch supports a variation of the enhancements for scheduled traffic specified in IEEE 802.1Q-2018 (formerly 802.1Qbv). This means it can be used to ensure deterministic latency for priority traffic that is sent in-band with its gate-open event in the network schedule.”h]”hXThe switch supports a variation of the enhancements for scheduled traffic specified in IEEE 802.1Q-2018 (formerly 802.1Qbv). This means it can be used to ensure deterministic latency for priority traffic that is sent in-band with its gate-open event in the network schedule.”…”�”}”(hjá h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KfhjÐ h²hubhÝ)�”}”(hXThis capability can be managed through the tc-taprio offload ('flags 2'). The difference compared to the software implementation of taprio is that the latter would only be able to shape traffic originated from the CPU, but not autonomously forwarded flows.”h]”hXThis capability can be managed through the tc-taprio offload (‘flags 2’). The difference compared to the software implementation of taprio is that the latter would only be able to shape traffic originated from the CPU, but not autonomously forwarded flows.”…”�”}”(hjï h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KkhjÐ h²hubhÝ)�”}”(hXhThe device has 8 traffic classes, and maps incoming frames to one of them based on the VLAN PCP bits (if no VLAN is present, the port-based default is used). As described in the previous sections, depending on the value of ``vlan_filtering``, the EtherType recognized by the switch as being VLAN can either be the typical 0x8100 or a custom value used internally by the driver for tagging. Therefore, the switch ignores the VLAN PCP if used in standalone or bridge mode with ``vlan_filtering=0``, as it will not recognize the 0x8100 EtherType. In these modes, injecting into a particular TX queue can only be done by the DSA net devices, which populate the PCP field of the tagging header on egress. Using ``vlan_filtering=1``, the behavior is the other way around: offloaded flows can be steered to TX queues based on the VLAN PCP, but the DSA net devices are no longer able to do that. To inject frames into a hardware TX queue with VLAN awareness active, it is necessary to create a VLAN sub-interface on the DSA conduit port, and send normal (0x8100) VLAN-tagged towards the switch, with the VLAN PCP bits set appropriately.”h]”(hŒßThe device has 8 traffic classes, and maps incoming frames to one of them based on the VLAN PCP bits (if no VLAN is present, the port-based default is used). As described in the previous sections, depending on the value of ”…”�”}”(hjý h²hh³Nh´NubjP )�”}”(hŒ``vlan_filtering``”h]”hŒvlan_filtering”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jO hjý ubhŒê, the EtherType recognized by the switch as being VLAN can either be the typical 0x8100 or a custom value used internally by the driver for tagging. Therefore, the switch ignores the VLAN PCP if used in standalone or bridge mode with ”…”�”}”(hjý h²hh³Nh´NubjP )�”}”(hŒ``vlan_filtering=0``”h]”hŒvlan_filtering=0”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jO hjý ubhŒÓ, as it will not recognize the 0x8100 EtherType. In these modes, injecting into a particular TX queue can only be done by the DSA net devices, which populate the PCP field of the tagging header on egress. Using ”…”�”}”(hjý h²hh³Nh´NubjP )�”}”(hŒ``vlan_filtering=1``”h]”hŒvlan_filtering=1”…”�”}”(hj) h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jO hjý ubhX’, the behavior is the other way around: offloaded flows can be steered to TX queues based on the VLAN PCP, but the DSA net devices are no longer able to do that. To inject frames into a hardware TX queue with VLAN awareness active, it is necessary to create a VLAN sub-interface on the DSA conduit port, and send normal (0x8100) VLAN-tagged towards the switch, with the VLAN PCP bits set appropriately.”…”�”}”(hjý h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KphjÐ h²hubhÝ)�”}”(hXJManagement traffic (having DMAC 01-80-C2-xx-xx-xx or 01-19-1B-xx-xx-xx) is the notable exception: the switch always treats it with a fixed priority and disregards any VLAN PCP bits even if present. The traffic class for management traffic has a value of 7 (highest priority) at the moment, which is not configurable in the driver.”h]”hXJManagement traffic (having DMAC 01-80-C2-xx-xx-xx or 01-19-1B-xx-xx-xx) is the notable exception: the switch always treats it with a fixed priority and disregards any VLAN PCP bits even if present. The traffic class for management traffic has a value of 7 (highest priority) at the moment, which is not configurable in the driver.”…”�”}”(hjA h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K€hjÐ h²hubhÝ)�”}”(hŒÜBelow is an example of configuring a 500 us cyclic schedule on egress port ``swp5``. The traffic class gate for management traffic (7) is open for 100 us, and the gates for all other traffic classes are open for 400 us::”h]”(hŒKBelow is an example of configuring a 500 us cyclic schedule on egress port ”…”�”}”(hjO h²hh³Nh´NubjP )�”}”(hŒ``swp5``”h]”hŒswp5”…”�”}”(hjW h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jO hjO ubhŒˆ. The traffic class gate for management traffic (7) is open for 100 us, and the gates for all other traffic classes are open for 400 us:”…”�”}”(hjO h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K†hjÐ h²hubhŒ literal_block”“”)�”}”(hXz#!/bin/bash set -e -u -o pipefail NSEC_PER_SEC="1000000000" gatemask() { local tc_list="$1" local mask=0 for tc in ${tc_list}; do mask=$((${mask} | (1 << ${tc}))) done printf "%02x" ${mask} } if ! systemctl is-active --quiet ptp4l; then echo "Please start the ptp4l service" exit fi now=$(phc_ctl /dev/ptp1 get | gawk '/clock time is/ { print $5; }') # Phase-align the base time to the start of the next second. sec=$(echo "${now}" | gawk -F. '{ print $1; }') base_time="$(((${sec} + 1) * ${NSEC_PER_SEC}))" tc qdisc add dev swp5 parent root handle 100 taprio \ num_tc 8 \ map 0 1 2 3 5 6 7 \ queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 \ base-time ${base_time} \ sched-entry S $(gatemask 7) 100000 \ sched-entry S $(gatemask "0 1 2 3 4 5 6") 400000 \ flags 2”h]”hXz#!/bin/bash set -e -u -o pipefail NSEC_PER_SEC="1000000000" gatemask() { local tc_list="$1" local mask=0 for tc in ${tc_list}; do mask=$((${mask} | (1 << ${tc}))) done printf "%02x" ${mask} } if ! systemctl is-active --quiet ptp4l; then echo "Please start the ptp4l service" exit fi now=$(phc_ctl /dev/ptp1 get | gawk '/clock time is/ { print $5; }') # Phase-align the base time to the start of the next second. sec=$(echo "${now}" | gawk -F. '{ print $1; }') base_time="$(((${sec} + 1) * ${NSEC_PER_SEC}))" tc qdisc add dev swp5 parent root handle 100 taprio \ num_tc 8 \ map 0 1 2 3 5 6 7 \ queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 \ base-time ${base_time} \ sched-entry S $(gatemask 7) 100000 \ sched-entry S $(gatemask "0 1 2 3 4 5 6") 400000 \ flags 2”…”�”}”hjq sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jo h³hÊh´KŠhjÐ h²hubhÝ)�”}”(hX{It is possible to apply the tc-taprio offload on multiple egress ports. There are hardware restrictions related to the fact that no gate event may trigger simultaneously on two ports. The driver checks the consistency of the schedules against this restriction and errors out when appropriate. Schedule analysis is needed to avoid this, which is outside the scope of the document.”h]”hX{It is possible to apply the tc-taprio offload on multiple egress ports. There are hardware restrictions related to the fact that no gate event may trigger simultaneously on two ports. The driver checks the consistency of the schedules against this restriction and errors out when appropriate. Schedule analysis is needed to avoid this, which is outside the scope of the document.”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K®hjÐ h²hubeh}”(h]”Œtime-aware-scheduling”ah ]”h"]”Œtime-aware scheduling”ah$]”h&]”uh1hµhj¿ h²hh³hÊh´Kdubh¶)�”}”(hhh]”(h»)�”}”(hŒ&Routing actions (redirect, trap, drop)”h]”hŒ&Routing actions (redirect, trap, drop)”…”�”}”(hjš h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj— h²hh³hÊh´KµubhÝ)�”}”(hŒÊThe switch is able to offload flow-based redirection of packets to a set of destination ports specified by the user. Internally, this is implemented by making use of Virtual Links, a TTEthernet concept.”h]”hŒÊThe switch is able to offload flow-based redirection of packets to a set of destination ports specified by the user. Internally, this is implemented by making use of Virtual Links, a TTEthernet concept.”…”�”}”(hj¨ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K·hj— h²hubhÝ)�”}”(hŒ6The driver supports 2 types of keys for Virtual Links:”h]”hŒ6The driver supports 2 types of keys for Virtual Links:”…”�”}”(hj¶ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K»hj— h²hubhí)�”}”(hhh]”(hò)�”}”(hŒWVLAN-aware virtual links: these match on destination MAC address, VLAN ID and VLAN PCP.”h]”hÝ)�”}”(hŒWVLAN-aware virtual links: these match on destination MAC address, VLAN ID and VLAN PCP.”h]”hŒWVLAN-aware virtual links: these match on destination MAC address, VLAN ID and VLAN PCP.”…”�”}”(hjË h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K½hjÇ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjÄ h²hh³hÊh´Nubhò)�”}”(hŒIVLAN-unaware virtual links: these match on destination MAC address only. ”h]”hÝ)�”}”(hŒHVLAN-unaware virtual links: these match on destination MAC address only.”h]”hŒHVLAN-unaware virtual links: these match on destination MAC address only.”…”�”}”(hjã h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´K¿hjß ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjÄ h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jájâuh1hìh³hÊh´K½hj— h²hubhÝ)�”}”(hŒwThe VLAN awareness state of the bridge (vlan_filtering) cannot be changed while there are virtual link rules installed.”h]”hŒwThe VLAN awareness state of the bridge (vlan_filtering) cannot be changed while there are virtual link rules installed.”…”�”}”(hjý h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KÁhj— h²hubhÝ)�”}”(hX?Composing multiple actions inside the same rule is supported. When only routing actions are requested, the driver creates a "non-critical" virtual link. When the action list also contains tc-gate (more details below), the virtual link becomes "time-critical" (draws frame buffers from a reserved memory partition, etc).”h]”hXGComposing multiple actions inside the same rule is supported. When only routing actions are requested, the driver creates a “non-criticalâ€� virtual link. When the action list also contains tc-gate (more details below), the virtual link becomes “time-criticalâ€� (draws frame buffers from a reserved memory partition, etc).”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KÄhj— h²hubhÝ)�”}”(hŒKThe 3 routing actions that are supported are "trap", "drop" and "redirect".”h]”hŒWThe 3 routing actions that are supported are “trapâ€�, “dropâ€� and “redirectâ€�.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KÊhj— h²hubhÝ)�”}”(hŒ§Example 1: send frames received on swp2 with a DA of 42:be:24:9b:76:20 to the CPU and to swp3. This type of key (DA only) when the port's VLAN awareness state is off::”h]”hŒ¨Example 1: send frames received on swp2 with a DA of 42:be:24:9b:76:20 to the CPU and to swp3. This type of key (DA only) when the port’s VLAN awareness state is off:”…”�”}”(hj' h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KÌhj— h²hubjp )�”}”(hŒ«tc qdisc add dev swp2 clsact tc filter add dev swp2 ingress flower skip_sw dst_mac 42:be:24:9b:76:20 \ action mirred egress redirect dev swp3 \ action trap”h]”hŒ«tc qdisc add dev swp2 clsact tc filter add dev swp2 ingress flower skip_sw dst_mac 42:be:24:9b:76:20 \ action mirred egress redirect dev swp3 \ action trap”…”�”}”hj5 sbah}”(h]”h ]”h"]”h$]”h&]”j j€ uh1jo h³hÊh´KÐhj— h²hubhÝ)�”}”(hŒeExample 2: drop frames received on swp2 with a DA of 42:be:24:9b:76:20, a VID of 100 and a PCP of 0::”h]”hŒdExample 2: drop frames received on swp2 with a DA of 42:be:24:9b:76:20, a VID of 100 and a PCP of 0:”…”�”}”(hjC h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KÕhj— h²hubjp )�”}”(hŒ…tc filter add dev swp2 ingress protocol 802.1Q flower skip_sw \ dst_mac 42:be:24:9b:76:20 vlan_id 100 vlan_prio 0 action drop”h]”hŒ…tc filter add dev swp2 ingress protocol 802.1Q flower skip_sw \ dst_mac 42:be:24:9b:76:20 vlan_id 100 vlan_prio 0 action drop”…”�”}”hjQ sbah}”(h]”h ]”h"]”h$]”h&]”j j€ uh1jo h³hÊh´KØhj— h²hubeh}”(h]”Œ"routing-actions-redirect-trap-drop”ah ]”h"]”Œ&routing actions (redirect, trap, drop)”ah$]”h&]”uh1hµhj¿ h²hh³hÊh´Kµubh¶)�”}”(hhh]”(h»)�”}”(hŒTime-based ingress policing”h]”hŒTime-based ingress policing”…”�”}”(hjj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjg h²hh³hÊh´KÜubhÝ)�”}”(hX¿The TTEthernet hardware abilities of the switch can be constrained to act similarly to the Per-Stream Filtering and Policing (PSFP) clause specified in IEEE 802.1Q-2018 (formerly 802.1Qci). This means it can be used to perform tight timing-based admission control for up to 1024 flows (identified by a tuple composed of destination MAC address, VLAN ID and VLAN PCP). Packets which are received outside their expected reception window are dropped.”h]”hX¿The TTEthernet hardware abilities of the switch can be constrained to act similarly to the Per-Stream Filtering and Policing (PSFP) clause specified in IEEE 802.1Q-2018 (formerly 802.1Qci). This means it can be used to perform tight timing-based admission control for up to 1024 flows (identified by a tuple composed of destination MAC address, VLAN ID and VLAN PCP). Packets which are received outside their expected reception window are dropped.”…”�”}”(hjx h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´KÞhjg h²hubhÝ)�”}”(hX�This capability can be managed through the offload of the tc-gate action. As routing actions are intrinsic to virtual links in TTEthernet (which performs explicit routing of time-critical traffic and does not leave that in the hands of the FDB, flooding etc), the tc-gate action may never appear alone when asking sja1105 to offload it. One (or more) redirect or trap actions must also follow along.”h]”hX�This capability can be managed through the offload of the tc-gate action. As routing actions are intrinsic to virtual links in TTEthernet (which performs explicit routing of time-critical traffic and does not leave that in the hands of the FDB, flooding etc), the tc-gate action may never appear alone when asking sja1105 to offload it. One (or more) redirect or trap actions must also follow along.”…”�”}”(hj† h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Kåhjg h²hubhÝ)�”}”(hXÏExample: create a tc-taprio schedule that is phase-aligned with a tc-gate schedule (the clocks must be synchronized by a 1588 application stack, which is outside the scope of this document). No packet delivered by the sender will be dropped. Note that the reception window is larger than the transmission window (and much more so, in this example) to compensate for the packet propagation delay of the link (which can be determined by the 1588 application stack).”h]”hXÏExample: create a tc-taprio schedule that is phase-aligned with a tc-gate schedule (the clocks must be synchronized by a 1588 application stack, which is outside the scope of this document). No packet delivered by the sender will be dropped. Note that the reception window is larger than the transmission window (and much more so, in this example) to compensate for the packet propagation delay of the link (which can be determined by the 1588 application stack).”…”�”}”(hj” h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Kìhjg h²hubhÝ)�”}”(hŒReceiver (sja1105)::”h]”hŒReceiver (sja1105):”…”�”}”(hj¢ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Kóhjg h²hubjp )�”}”(hXÖtc qdisc add dev swp2 clsact now=$(phc_ctl /dev/ptp1 get | awk '/clock time is/ {print $5}') && \ sec=$(echo $now | awk -F. '{print $1}') && \ base_time="$(((sec + 2) * 1000000000))" && \ echo "base time ${base_time}" tc filter add dev swp2 ingress flower skip_sw \ dst_mac 42:be:24:9b:76:20 \ action gate base-time ${base_time} \ sched-entry OPEN 60000 -1 -1 \ sched-entry CLOSE 40000 -1 -1 \ action trap”h]”hXÖtc qdisc add dev swp2 clsact now=$(phc_ctl /dev/ptp1 get | awk '/clock time is/ {print $5}') && \ sec=$(echo $now | awk -F. '{print $1}') && \ base_time="$(((sec + 2) * 1000000000))" && \ echo "base time ${base_time}" tc filter add dev swp2 ingress flower skip_sw \ dst_mac 42:be:24:9b:76:20 \ action gate base-time ${base_time} \ sched-entry OPEN 60000 -1 -1 \ sched-entry CLOSE 40000 -1 -1 \ action trap”…”�”}”hj° sbah}”(h]”h ]”h"]”h$]”h&]”j j€ uh1jo h³hÊh´Kõhjg h²hubhÝ)�”}”(hŒSender::”h]”hŒSender:”…”�”}”(hj¾ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mhjg h²hubjp )�”}”(hXÖnow=$(phc_ctl /dev/ptp0 get | awk '/clock time is/ {print $5}') && \ sec=$(echo $now | awk -F. '{print $1}') && \ base_time="$(((sec + 2) * 1000000000))" && \ echo "base time ${base_time}" tc qdisc add dev eno0 parent root taprio \ num_tc 8 \ map 0 1 2 3 4 5 6 7 \ queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 \ base-time ${base_time} \ sched-entry S 01 50000 \ sched-entry S 00 50000 \ flags 2”h]”hXÖnow=$(phc_ctl /dev/ptp0 get | awk '/clock time is/ {print $5}') && \ sec=$(echo $now | awk -F. '{print $1}') && \ base_time="$(((sec + 2) * 1000000000))" && \ echo "base time ${base_time}" tc qdisc add dev eno0 parent root taprio \ num_tc 8 \ map 0 1 2 3 4 5 6 7 \ queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 \ base-time ${base_time} \ sched-entry S 01 50000 \ sched-entry S 00 50000 \ flags 2”…”�”}”hjÌ sbah}”(h]”h ]”h"]”h$]”h&]”j j€ uh1jo h³hÊh´Mhjg h²hubhÝ)�”}”(hX!The engine used to schedule the ingress gate operations is the same that the one used for the tc-taprio offload. Therefore, the restrictions regarding the fact that no two gate actions (either tc-gate or tc-taprio gates) may fire at the same time (during the same 200 ns slot) still apply.”h]”hX!The engine used to schedule the ingress gate operations is the same that the one used for the tc-taprio offload. Therefore, the restrictions regarding the fact that no two gate actions (either tc-gate or tc-taprio gates) may fire at the same time (during the same 200 ns slot) still apply.”…”�”}”(hjÚ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mhjg h²hubhÝ)�”}”(hXTo come in handy, it is possible to share time-triggered virtual links across more than 1 ingress port, via flow blocks. In this case, the restriction of firing at the same time does not apply because there is a single schedule in the system, that of the shared virtual link::”h]”hXTo come in handy, it is possible to share time-triggered virtual links across more than 1 ingress port, via flow blocks. In this case, the restriction of firing at the same time does not apply because there is a single schedule in the system, that of the shared virtual link:”…”�”}”(hjè h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mhjg h²hubjp )�”}”(hX7tc qdisc add dev swp2 ingress_block 1 clsact tc qdisc add dev swp3 ingress_block 1 clsact tc filter add block 1 flower skip_sw dst_mac 42:be:24:9b:76:20 \ action gate index 2 \ base-time 0 \ sched-entry OPEN 50000000 -1 -1 \ sched-entry CLOSE 50000000 -1 -1 \ action trap”h]”hX7tc qdisc add dev swp2 ingress_block 1 clsact tc qdisc add dev swp3 ingress_block 1 clsact tc filter add block 1 flower skip_sw dst_mac 42:be:24:9b:76:20 \ action gate index 2 \ base-time 0 \ sched-entry OPEN 50000000 -1 -1 \ sched-entry CLOSE 50000000 -1 -1 \ action trap”…”�”}”hjö sbah}”(h]”h ]”h"]”h$]”h&]”j j€ uh1jo h³hÊh´Mhjg h²hubhÝ)�”}”(hŒúHardware statistics for each flow are also available ("pkts" counts the number of dropped frames, which is a sum of frames dropped due to timing violations, lack of destination ports and MTU enforcement checks). Byte-level counters are not available.”h]”hŒþHardware statistics for each flow are also available (“pktsâ€� counts the number of dropped frames, which is a sum of frames dropped due to timing violations, lack of destination ports and MTU enforcement checks). Byte-level counters are not available.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M#hjg h²hubeh}”(h]”Œtime-based-ingress-policing”ah ]”h"]”Œtime-based ingress policing”ah$]”h&]”uh1hµhj¿ h²hh³hÊh´KÜubeh}”(h]”Œoffloads”ah ]”h"]”Œoffloads”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kaubh¶)�”}”(hhh]”(h»)�”}”(hŒ Limitations”h]”hŒ Limitations”…”�”}”(hj% h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj" h²hh³hÊh´M)ubhÝ)�”}”(hŒÕThe SJA1105 switch family always performs VLAN processing. When configured as VLAN-unaware, frames carry a different VLAN tag internally, depending on whether the port is standalone or under a VLAN-unaware bridge.”h]”hŒÕThe SJA1105 switch family always performs VLAN processing. When configured as VLAN-unaware, frames carry a different VLAN tag internally, depending on whether the port is standalone or under a VLAN-unaware bridge.”…”�”}”(hj3 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M+hj" h²hubhÝ)�”}”(hX[The virtual link keys are always fixed at {MAC DA, VLAN ID, VLAN PCP}, but the driver asks for the VLAN ID and VLAN PCP when the port is under a VLAN-aware bridge. Otherwise, it fills in the VLAN ID and PCP automatically, based on whether the port is standalone or in a VLAN-unaware bridge, and accepts only "VLAN-unaware" tc-flower keys (MAC DA).”h]”hX_The virtual link keys are always fixed at {MAC DA, VLAN ID, VLAN PCP}, but the driver asks for the VLAN ID and VLAN PCP when the port is under a VLAN-aware bridge. Otherwise, it fills in the VLAN ID and PCP automatically, based on whether the port is standalone or in a VLAN-unaware bridge, and accepts only “VLAN-unawareâ€� tc-flower keys (MAC DA).”…”�”}”(hjA h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M/hj" h²hubhÝ)�”}”(hŒ€The existing tc-flower keys that are offloaded using virtual links are no longer operational after one of the following happens:”h]”hŒ€The existing tc-flower keys that are offloaded using virtual links are no longer operational after one of the following happens:”…”�”}”(hjO h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M5hj" h²hubhí)�”}”(hhh]”(hò)�”}”(hŒCport was standalone and joins a bridge (VLAN-aware or VLAN-unaware)”h]”hÝ)�”}”(hjb h]”hŒCport was standalone and joins a bridge (VLAN-aware or VLAN-unaware)”…”�”}”(hjd h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M8hj` ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj] h²hh³hÊh´Nubhò)�”}”(hŒ;port is part of a bridge whose VLAN awareness state changes”h]”hÝ)�”}”(hjy h]”hŒ;port is part of a bridge whose VLAN awareness state changes”…”�”}”(hj{ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M9hjw ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj] h²hh³hÊh´Nubhò)�”}”(hŒ0port was part of a bridge and becomes standalone”h]”hÝ)�”}”(hj� h]”hŒ0port was part of a bridge and becomes standalone”…”�”}”(hj’ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M:hjŽ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj] h²hh³hÊh´Nubhò)�”}”(hŒport was standalone, but another port joins a VLAN-aware bridge and this changes the global VLAN awareness state of the bridge ”h]”hÝ)�”}”(hŒ~port was standalone, but another port joins a VLAN-aware bridge and this changes the global VLAN awareness state of the bridge”h]”hŒ~port was standalone, but another port joins a VLAN-aware bridge and this changes the global VLAN awareness state of the bridge”…”�”}”(hj© h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M;hj¥ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj] h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jájâuh1hìh³hÊh´M8hj" h²hubhÝ)�”}”(hX0The driver cannot veto all these operations, and it cannot update/remove the existing tc-flower filters either. So for proper operation, the tc-flower filters should be installed only after the forwarding configuration of the port has been made, and removed by user space before making any changes to it.”h]”hX0The driver cannot veto all these operations, and it cannot update/remove the existing tc-flower filters either. So for proper operation, the tc-flower filters should be installed only after the forwarding configuration of the port has been made, and removed by user space before making any changes to it.”…”�”}”(hjà h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M>hj" h²hubeh}”(h]”Œ limitations”ah ]”h"]”Œ limitations”ah$]”h&]”uh1hµhh·h²hh³hÊh´M)ubh¶)�”}”(hhh]”(h»)�”}”(hŒ%Device Tree bindings and board design”h]”hŒ%Device Tree bindings and board design”…”�”}”(hjÜ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjÙ h²hh³hÊh´MDubhÝ)�”}”(hŒŠThis section references ``Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml`` and aims to showcase some potential switch caveats.”h]”(hŒThis section references ”…”�”}”(hjê h²hh³Nh´NubjP )�”}”(hŒ>``Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml``”h]”hŒ:Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml”…”�”}”(hjò h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jO hjê ubhŒ4 and aims to showcase some potential switch caveats.”…”�”}”(hjê h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´MFhjÙ h²hubh¶)�”}”(hhh]”(h»)�”}”(hŒ'RMII PHY role and out-of-band signaling”h]”hŒ'RMII PHY role and out-of-band signaling”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj h²hh³hÊh´MJubhÝ)�”}”(hXEIn the RMII spec, the 50 MHz clock signals are either driven by the MAC or by an external oscillator (but not by the PHY). But the spec is rather loose and devices go outside it in several ways. Some PHYs go against the spec and may provide an output pin where they source the 50 MHz clock themselves, in an attempt to be helpful. On the other hand, the SJA1105 is only binary configurable - when in the RMII MAC role it will also attempt to drive the clock signal. To prevent this from happening it must be put in RMII PHY role. But doing so has some unintended consequences. In the RMII spec, the PHY can transmit extra out-of-band signals via RXD[1:0]. These are practically some extra code words (/J/ and /K/) sent prior to the preamble of each frame. The MAC does not have this out-of-band signaling mechanism defined by the RMII spec. So when the SJA1105 port is put in PHY role to avoid having 2 drivers on the clock signal, inevitably an RMII PHY-to-PHY connection is created. The SJA1105 emulates a PHY interface fully and generates the /J/ and /K/ symbols prior to frame preambles, which the real PHY is not expected to understand. So the PHY simply encodes the extra symbols received from the SJA1105-as-PHY onto the 100Base-Tx wire. On the other side of the wire, some link partners might discard these extra symbols, while others might choke on them and discard the entire Ethernet frames that follow along. This looks like packet loss with some link partners but not with others. The take-away is that in RMII mode, the SJA1105 must be let to drive the reference clock if connected to a PHY.”h]”hXEIn the RMII spec, the 50 MHz clock signals are either driven by the MAC or by an external oscillator (but not by the PHY). But the spec is rather loose and devices go outside it in several ways. Some PHYs go against the spec and may provide an output pin where they source the 50 MHz clock themselves, in an attempt to be helpful. On the other hand, the SJA1105 is only binary configurable - when in the RMII MAC role it will also attempt to drive the clock signal. To prevent this from happening it must be put in RMII PHY role. But doing so has some unintended consequences. In the RMII spec, the PHY can transmit extra out-of-band signals via RXD[1:0]. These are practically some extra code words (/J/ and /K/) sent prior to the preamble of each frame. The MAC does not have this out-of-band signaling mechanism defined by the RMII spec. So when the SJA1105 port is put in PHY role to avoid having 2 drivers on the clock signal, inevitably an RMII PHY-to-PHY connection is created. The SJA1105 emulates a PHY interface fully and generates the /J/ and /K/ symbols prior to frame preambles, which the real PHY is not expected to understand. So the PHY simply encodes the extra symbols received from the SJA1105-as-PHY onto the 100Base-Tx wire. On the other side of the wire, some link partners might discard these extra symbols, while others might choke on them and discard the entire Ethernet frames that follow along. This looks like packet loss with some link partners but not with others. The take-away is that in RMII mode, the SJA1105 must be let to drive the reference clock if connected to a PHY.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´MLhj h²hubeh}”(h]”Œ'rmii-phy-role-and-out-of-band-signaling”ah ]”h"]”Œ'rmii phy role and out-of-band signaling”ah$]”h&]”uh1hµhjÙ h²hh³hÊh´MJubh¶)�”}”(hhh]”(h»)�”}”(hŒ$RGMII fixed-link and internal delays”h]”hŒ$RGMII fixed-link and internal delays”…”�”}”(hj4 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj1 h²hh³hÊh´MgubhÝ)�”}”(hXXAs mentioned in the bindings document, the second generation of devices has tunable delay lines as part of the MAC, which can be used to establish the correct RGMII timing budget. When powered up, these can shift the Rx and Tx clocks with a phase difference between 73.8 and 101.7 degrees. The catch is that the delay lines need to lock onto a clock signal with a stable frequency. This means that there must be at least 2 microseconds of silence between the clock at the old vs at the new frequency. Otherwise the lock is lost and the delay lines must be reset (powered down and back up). In RGMII the clock frequency changes with link speed (125 MHz at 1000 Mbps, 25 MHz at 100 Mbps and 2.5 MHz at 10 Mbps), and link speed might change during the AN process. In the situation where the switch port is connected through an RGMII fixed-link to a link partner whose link state life cycle is outside the control of Linux (such as a different SoC), then the delay lines would remain unlocked (and inactive) until there is manual intervention (ifdown/ifup on the switch port). The take-away is that in RGMII mode, the switch's internal delays are only reliable if the link partner never changes link speeds, or if it does, it does so in a way that is coordinated with the switch port (practically, both ends of the fixed-link are under control of the same Linux system). As to why would a fixed-link interface ever change link speeds: there are Ethernet controllers out there which come out of reset in 100 Mbps mode, and their driver inevitably needs to change the speed and clock frequency if it's required to work at gigabit.”h]”hX\As mentioned in the bindings document, the second generation of devices has tunable delay lines as part of the MAC, which can be used to establish the correct RGMII timing budget. When powered up, these can shift the Rx and Tx clocks with a phase difference between 73.8 and 101.7 degrees. The catch is that the delay lines need to lock onto a clock signal with a stable frequency. This means that there must be at least 2 microseconds of silence between the clock at the old vs at the new frequency. Otherwise the lock is lost and the delay lines must be reset (powered down and back up). In RGMII the clock frequency changes with link speed (125 MHz at 1000 Mbps, 25 MHz at 100 Mbps and 2.5 MHz at 10 Mbps), and link speed might change during the AN process. In the situation where the switch port is connected through an RGMII fixed-link to a link partner whose link state life cycle is outside the control of Linux (such as a different SoC), then the delay lines would remain unlocked (and inactive) until there is manual intervention (ifdown/ifup on the switch port). The take-away is that in RGMII mode, the switch’s internal delays are only reliable if the link partner never changes link speeds, or if it does, it does so in a way that is coordinated with the switch port (practically, both ends of the fixed-link are under control of the same Linux system). As to why would a fixed-link interface ever change link speeds: there are Ethernet controllers out there which come out of reset in 100 Mbps mode, and their driver inevitably needs to change the speed and clock frequency if it’s required to work at gigabit.”…”�”}”(hjB h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mihj1 h²hubeh}”(h]”Œ$rgmii-fixed-link-and-internal-delays”ah ]”h"]”Œ$rgmii fixed-link and internal delays”ah$]”h&]”uh1hµhjÙ h²hh³hÊh´Mgubh¶)�”}”(hhh]”(h»)�”}”(hŒMDIO bus and PHY management”h]”hŒMDIO bus and PHY management”…”�”}”(hj[ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjX h²hh³hÊh´MƒubhÝ)�”}”(hXÒThe SJA1105 does not have an MDIO bus and does not perform in-band AN either. Therefore there is no link state notification coming from the switch device. A board would need to hook up the PHYs connected to the switch to any other MDIO bus available to Linux within the system (e.g. to the DSA conduit's MDIO bus). Link state management then works by the driver manually keeping in sync (over SPI commands) the MAC link speed with the settings negotiated by the PHY.”h]”hXÔThe SJA1105 does not have an MDIO bus and does not perform in-band AN either. Therefore there is no link state notification coming from the switch device. A board would need to hook up the PHYs connected to the switch to any other MDIO bus available to Linux within the system (e.g. to the DSA conduit’s MDIO bus). Link state management then works by the driver manually keeping in sync (over SPI commands) the MAC link speed with the settings negotiated by the PHY.”…”�”}”(hji h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M…hjX h²hubhÝ)�”}”(hX.By comparison, the SJA1110 supports an MDIO slave access point over which its internal 100base-T1 PHYs can be accessed from the host. This is, however, not used by the driver, instead the internal 100base-T1 and 100base-TX PHYs are accessed through SPI commands, modeled in Linux as virtual MDIO buses.”h]”hX.By comparison, the SJA1110 supports an MDIO slave access point over which its internal 100base-T1 PHYs can be accessed from the host. This is, however, not used by the driver, instead the internal 100base-T1 and 100base-TX PHYs are accessed through SPI commands, modeled in Linux as virtual MDIO buses.”…”�”}”(hjw h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´MŒhjX h²hubhÝ)�”}”(hX�The microcontroller attached to the SJA1110 port 0 also has an MDIO controller operating in master mode, however the driver does not support this either, since the microcontroller gets disabled when the Linux driver operates. Discrete PHYs connected to the switch ports should have their MDIO interface attached to an MDIO controller from the host system and not to the switch, similar to SJA1105.”h]”hX�The microcontroller attached to the SJA1110 port 0 also has an MDIO controller operating in master mode, however the driver does not support this either, since the microcontroller gets disabled when the Linux driver operates. Discrete PHYs connected to the switch ports should have their MDIO interface attached to an MDIO controller from the host system and not to the switch, similar to SJA1105.”…”�”}”(hj… h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M‘hjX h²hubeh}”(h]”Œmdio-bus-and-phy-management”ah ]”h"]”Œmdio bus and phy management”ah$]”h&]”uh1hµhjÙ h²hh³hÊh´Mƒubh¶)�”}”(hhh]”(h»)�”}”(hŒPort compatibility matrix”h]”hŒPort compatibility matrix”…”�”}”(hjž h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj› h²hh³hÊh´M™ubhÝ)�”}”(hŒ)The SJA1105 port compatibility matrix is:”h]”hŒ)The SJA1105 port compatibility matrix is:”…”�”}”(hj¬ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M›hj› h²hubj)�”}”(hhh]”j)�”}”(hhh]”(j )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hj½ ubj )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hj½ ubj )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hj½ ubj )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hj½ ubj*)�”}”(hhh]”j/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒPort”h]”hŒPort”…”�”}”(hjñ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mžhjî ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjë ubj4)�”}”(hhh]”hÝ)�”}”(hŒ SJA1105E/T”h]”hŒ SJA1105E/T”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mžhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjë ubj4)�”}”(hhh]”hÝ)�”}”(hŒ SJA1105P/Q”h]”hŒ SJA1105P/Q”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mžhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjë ubj4)�”}”(hhh]”hÝ)�”}”(hŒ SJA1105R/S”h]”hŒ SJA1105R/S”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mžhj3ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjë ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjè ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj½ ubj‡)�”}”(hhh]”(j/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ0”h]”hŒ0”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M hj\ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjYubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M hjsubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjYubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M hjŠubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjYubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M hj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjYubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjVubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ1”h]”hŒ1”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¡hjÁubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¾ubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¡hjØubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¾ubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¡hjïubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¾ubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¡hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¾ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjVubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ2”h]”hŒ2”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¢hj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj#ubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¢hj=ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj#ub•xAj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¢hjTubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj#ubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¢hjkubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjVubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ3”h]”hŒ3”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M£hj‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjˆubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M£hj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjˆubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M£hj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjˆubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M£hjÐubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjˆubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjVubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ4”h]”hŒ4”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¤hjðubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjíubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¤hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjíubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¤hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjíubj4)�”}”(hhh]”hÝ)�”}”(hŒSGMII”h]”hŒSGMII”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¤hj5ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjíubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hjVubeh}”(h]”h ]”h"]”h$]”h&]”uh1j†hj½ ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhjº ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÿhj› h²hh³hÊh´NubhÝ)�”}”(hŒ)The SJA1110 port compatibility matrix is:”h]”hŒ)The SJA1110 port compatibility matrix is:”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¨hj› h²hubj)�”}”(hhh]”j)�”}”(hhh]”(j )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hjvubj )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hjvubj )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hjvubj )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hjvubj )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j hjvubj*)�”}”(hhh]”j/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒPort”h]”hŒPort”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M«hj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj®ubj4)�”}”(hhh]”hÝ)�”}”(hŒSJA1110A”h]”hŒSJA1110A”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M«hjÈubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj®ubj4)�”}”(hhh]”hÝ)�”}”(hŒSJA1110B”h]”hŒSJA1110B”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M«hjßubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj®ubj4)�”}”(hhh]”hÝ)�”}”(hŒSJA1110C”h]”hŒSJA1110C”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M«hjöubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj®ubj4)�”}”(hhh]”hÝ)�”}”(hŒSJA1110D”h]”hŒSJA1110D”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M«hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjvubj‡)�”}”(hhh]”(j/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hjah]”hŒ0”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M­hj6ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj3ubj4)�”}”(hhh]”hÝ)�”}”(hŒ RevMII (uC)”h]”hŒ RevMII (uC)”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M­hjLubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj3ubj4)�”}”(hhh]”hÝ)�”}”(hŒ RevMII (uC)”h]”hŒ RevMII (uC)”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M­hjcubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj3ubj4)�”}”(hhh]”hÝ)�”}”(hŒ RevMII (uC)”h]”hŒ RevMII (uC)”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M­hjzubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj3ubj4)�”}”(hhh]”hÝ)�”}”(hŒ RevMII (uC)”h]”hŒ RevMII (uC)”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M­hj‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hjÆh]”hŒ1”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M®hj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj®ubj4)�”}”(hhh]”hÝ)�”}”(hŒ100base-TX or SGMII”h]”hŒ100base-TX or SGMII”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M®hjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj®ubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-TX”h]”hŒ 100base-TX”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M®hjÞubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj®ubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-TX”h]”hŒ 100base-TX”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M®hjõubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj®ubj4)�”}”(hhh]”hÝ)�”}”(hŒSGMII”h]”hŒSGMII”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¯hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hj+h]”hŒ2”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M°hj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj)ubj4)�”}”(hhh]”hÝ)�”}”(hŒ xMII or SGMII”h]”hŒ xMII or SGMII”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M°hjBubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj)ubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M°hjYubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj)ubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hjsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M°hjpubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj)ubj4)�”}”(hhh]”hÝ)�”}”(hŒ xMII or SGMII”h]”hŒ xMII or SGMII”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M°hj‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hj�h]”hŒ3”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M²hj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¤ubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII or SGMII or 2500base-X”h]”hŒxMII or SGMII or 2500base-X”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M²hj½ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¤ubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII or SGMII or 2500base-X”h]”hŒxMII or SGMII or 2500base-X”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M²hjÔubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¤ubj4)�”}”(hhh]”hÝ)�”}”(hŒxMII”h]”hŒxMII”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M²hjëubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¤ubj4)�”}”(hhh]”hÝ)�”}”(hŒSGMII or 2500base-X”h]”hŒSGMII or 2500base-X”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M³hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj¤ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hjõh]”hŒ4”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mµhj"ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒSGMII or 2500base-X”h]”hŒSGMII or 2500base-X”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mµhj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒSGMII or 2500base-X”h]”hŒSGMII or 2500base-X”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´MµhjOubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒSGMII or 2500base-X”h]”hŒSGMII or 2500base-X”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mµhjfubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒSGMII or 2500base-X”h]”hŒSGMII or 2500base-X”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mµhj}ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ5”h]”hŒ5”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M·hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjšubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M·hj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjšubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M·hjËubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjšubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M·hjâubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjšubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M·hjùubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjšubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ6”h]”hŒ6”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¸hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¸hj0ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¸hjGubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¸hj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¸hjuubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ7”h]”hŒ7”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¹hj•ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj’ubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¹hj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj’ubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¹hjÃubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj’ubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¹hjÚubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj’ubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¹hjñubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj’ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ8”h]”hŒ8”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mºhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mºhj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mºhj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒn/a”h]”hŒn/a”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´MºhjVubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒn/a”h]”hŒn/a”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´Mºhjmubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ9”h]”hŒ9”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M»hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjŠubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M»hj¤ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjŠubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M»hj»ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjŠubj4)�”}”(hhh]”hÝ)�”}”(hŒn/a”h]”hŒn/a”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M»hjÒubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjŠubj4)�”}”(hhh]”hÝ)�”}”(hŒn/a”h]”hŒn/a”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M»hjéubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjŠubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubj/)�”}”(hhh]”(j4)�”}”(hhh]”hÝ)�”}”(hŒ10”h]”hŒ10”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¼hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒ 100base-T1”h]”hŒ 100base-T1”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¼hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒn/a”h]”hŒn/a”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¼hj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒn/a”h]”hŒn/a”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¼hjNubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubj4)�”}”(hhh]”hÝ)�”}”(hŒn/a”h]”hŒn/a”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÜh³hÊh´M¼hjeubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j.hj0ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j†hjvubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhjsubah}”(h]”h ]”h"]”h$]”h&]”uh1jÿhj› h²hh³hÊh´Nubeh}”(h]”Œport-compatibility-matrix”ah ]”h"]”Œport compatibility matrix”ah$]”h&]”uh1hµhjÙ h²hh³hÊh´M™ubeh}”(h]”Œ%device-tree-bindings-and-board-design”ah ]”h"]”Œ%device tree bindings and board design”ah$]”h&]”uh1hµhh·h²hh³hÊh´MDubeh}”(h]”Œnxp-sja1105-switch-driver”ah ]”h"]”Œnxp sja1105 switch driver”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”j3Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jÏŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jªj§j% j" j¼ j¹ j j j” j‘ jd ja j j jÖ jÓ j¢jŸj. j+ jU jR j˜ j• jšj—uŒ nametypes”}”(jª‰j% ‰j¼ ‰j ‰j” ‰jd ‰j ‰jÖ ‰j¢‰j. ‰jU ‰j˜ ‰jš‰uh}”(j§h·j" hËj¹ j( j j¿ j‘ jÐ ja j— j jg jÓ j" jŸjÙ j+ j jR j1 j• jX j—j› uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.