| 数据搜索系统,热门电子元器件搜索 |
|
KSZ9563RNXI 数据表(PDF) 38 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
KSZ9563RNXI 数据表(HTML) 38 Page - Microchip Technology |
|
38 / 226 page ![]() KSZ9563R DS00002419D-page 38 2017-2018 Microchip Technology Inc. By default tail tagging is disabled. To Enable it, set the Tail Tag Enable bit in one of the Port Operation Control 0 Register at address 0xN020 for port “N”. When this bit is set for one port, that port is referred to as the “host” port. Do not set the Tail Tag Enable bit for more than one port. When IEEE 1588 Precision Time Protocol (PTP) Mode is enabled, the format of the tail tag changes. Specifically, a four byte timestamp field is added between the payload and the tail tag as shown in Figure 4-6. PTP mode is enabled by setting bit 6 in Global PTP Message Config 1 Register. Note that the KSZ8441/62/63 use a different method for passing the timestamp between the switch and host. In the switch-to-host direction, the switch sets the PTP Message Indication bit in the tail tag to indicate when the four- byte receive timestamp is present. When PTP Message Indication is not set, the four-byte timestamp field is not present. It is therefore essential for the host processor to read bit 7 of each tail tag in order to know the packet format. The 32-bit timestamp consists of 2 bits for “seconds” and 30 bits for “nanoseconds”. The timestamp format is: (((second & 3) << 30) | nanosecond). In the host-to-switch direction, the 4-byte timestamp field is always present when PTP is enabled, as shown in Figure 4- 6. This is true for all packets sent by the host, including IBA packets. The host uses this field to insert the receive time- stamp from PTP Pdelay_Req messages into the Pdelay_Resp messages. For all other traffic and PTP message types, the host should populate the timestamp field with zeros. 4.4.10 IGMP SUPPORT For Internet Group Management Protocol (IGMP) support in Layer 2, the device provides two components: • “IGMP” Snooping • “Multicast Address Insertion” in the Static MAC Table 4.4.10.1 “IGMP” Snooping The device traps IGMP packets and forwards them only to the processor (host port). The IGMP packets are identified as IP packets (either Ethernet IP packets, or IEEE 802.3 SNAP IP packets) with IP version = 0x4 and protocol version number = 0x2. 4.4.10.2 “Multicast Address Insertion” in the Static MAC Table Once the multicast address is programmed in the Static Address Table or Address Lookup Table, the multicast session is trimmed to the subscribed ports, instead of broadcasting to all ports. So that the host processor knows which port the IGMP packet was received on, Tail Tagging Mode must be enabled. 4.4.11 IPV6 MLD SNOOPING The device traps IPv6 Multicast Listener Discovery (MLD) packets and forwards them only to the processor (host port). 2 Forward to Port 3 1 Forward to Port 2 0 Forward to Port 1 FIGURE 4-6: TAIL TAG FRAME FORMAT IN PTP MODE Note: The port for which Tail Tagging Mode is enabled is the host port. TABLE 4-14: TRANSMIT TAIL TAG FORMAT (FROM HOST TO SWITCH) (CONTINUED) Bits Description DESTINATION ADDRESS SOURCE ADDRESS 6 6 802.1Q TAG (4) ETYPE or LENGTH 2 TIME STAMP 4 PAYLOAD 46 (42) - 1500 FCS 4 BYTES TAIL TAG 1 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |