User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 494
UG585 (v1.11) September 27, 2016
Chapter 16: Gigabit Ethernet Controller
Table 16-3: Tx Buffer Descriptor Entry
Bit Function
Word 0
31:0 Byte address of buffer.
Word 1
31 Used – must be zero for the controller to read data to the transmit buffer. The controller sets this
to one for the first buffer of a frame once it has been successfully transmitted. Software must clear
this bit before the buffer can be used again.
30 Wrap – marks last descriptor in transmit buffer descriptor list. This can be set for any buffer within
the frame.
29 Retry limit exceeded, transmit error detected.
28 Always set to 0.
27 Transmit frame corruption due to AHB error – set if an error occurs whilst midway through reading
transmit frame from the AHB, including HRESP errors and buffers exhausted mid frame (if the
buffers run out during transmission of a frame then transmission stops, FCS shall be bad and tx_er
asserted).
26 Late collision, transmit error detected. Late collisions only force this status bit to be set in gigabit
mode.
25:23 Reserved.
22:20 Transmit IP/TCP/UDP checksum generation offload errors:
000b: No Error.
001b: The Packet was identified as a VLAN type, but the header was not fully complete, or had
an error in it.
010b: The Packet was identified as a SNAP type, but the header was not fully complete, or had
an error in it.
011b: The Packet was not of an IP type, or the IP packet was invalidly short, or the IP was not of
type IPv4/IPv6.
100b: The Packet was not identified as VLAN, SNAP or IP.
101b: Non supported packet fragmentation occurred. For IPv4 packets, the IP checksum was
generated and inserted.
110b: Packet type detected was not TCP or UDP. TCP/UDP checksum was therefore not
generated. For IPv4 packets, the IP checksum was generated and inserted.
111b: A premature end of packet was detected and the TCP/UDP checksum could not be
generated.
19:17
Reserved.
16 No CRC to be appended by MAC. When set this implies that the data in the buffers already contains
a valid CRC and hence no CRC or padding is to be appended to the current frame by the MAC.
This control bit must be set for the first buffer in a frame and is ignored for the subsequent buffers
of a frame. Note that this bit must be clear when using the transmit IP/TCP/UDP checksum
generation offload, otherwise checksum generation and substitution does not occur.
15 Last buffer, when set this bit indicates that the last buffer in the current frame has been reached.
14 Reserved.
13:0 Length of buffer.