User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 486
UG585 (v1.11) September 27, 2016
Chapter 16: Gigabit Ethernet Controller
hash_index[05] = da[05]°^°da[11]°^°da[17]°^°da[23]°^°da[29]°^°da[35]°^°da[41]°^°da[47]
hash_index[04] = da[04]°^°da[10]°^°da[16]°^°da[22]°^°da[28]°^°da[34]°^°da[40]°^°da[46]
hash_index[03] = da[03]°^°da[09]°^°da[15]°^°da[21]°^°da[27]°^°da[33]°^°da[39]°^°da[45]
hash_index[02] = da[02]°^°da[08]°^°da[14]°^°da[20]°^°da[26]°^°da[32]°^°da[38]°^°da[44]
hash_index[01] = da[01]°^°da[07]°^°da[13]°^°da[19]°^°da[25]°^°da[31]°^°da[37]°^°da[43]
hash_index[00] = da[00]°^°da[06]°^°da[12]°^°da[18]°^°da[24]°^°da[30]°^°da[36]°^°da[42]
da[0] represents the least significant bit of the first byte received, that is, the multicast/unicast
indicator, and da[47] represents the most significant bit of the last byte received.
If the hash index points to a bit that is set in the Hash register then the frame is matched according
to whether the frame is multicast or unicast.
A multicast match is signaled if the multicast hash enable bit is set, da[0] is logic 1 and the hash index
points to a bit set in the Hash register. A unicast match is signaled if the unicast hash enable bit is set,
da[0] is logic 0 and the hash index points to a bit set in the Hash register. To receive all multicast
frames, the Hash register should be set with all ones and the multicast hash enable bit should be set
in the Network Configuration register.
Copy All Frames (or Promiscuous Mode)
If the copy all frames bit is set in the Network Configuration register then all frames (except those
that are too long, too short, have FCS errors, or have rx_er asserted during reception) are copied to
memory. Frames with FCS errors are copied if bit [26] is set in the Network Configuration register.
Disable Copy of Pause Frames
Pause frames can be prevented from being written to memory by setting the disable copying of
pause frames control bit [23] in the Network Configuration register. When set, pause frames are not
copied to memory regardless of the copy all frames bit, whether a hash match is found, a type ID
match is identified, or if a destination address match is found.
VLAN Support
An Ethernet encoded 802.1Q VLAN tag is shown in Table 16-1
The VLAN tag is inserted at the 13th byte of the frame adding an extra four bytes to the frame. To
support these extra four bytes, the Gigabit Ethernet controller can accept frame lengths up to 1,536
bytes by setting bit [8] in the Network Configuration register.
If the VID (VLAN identifier) is null (0x000) a priority-tagged frame is indicated.
Table 16-1: VLAN Tag Control Information
TPID (Tag Protocol Identifier) 16 Bits TCI (Tag Control Information) 16 Bits
0x8100
First 3 bits priority, then CFI bit, last 12 bits VID