Adaptec 1737100 Programmer Manual - Page 33

Power Management Mode defined by PCI Bus Power Management Interface

Page 33 highlights

Transmit Architecture s When the amount of packet data in the FIFO exceeds the "Transmit Threshold," or when the end of packet is already in the FIFO, the "Transmit Frame" state machine signals the MAC to start transmitting the packet. The transmit frame block handles reading packets from the FIFO, MAC interface and FIFO link list management. It also handles "retries" in case collision occurs and handles "aborts" when MAC signals errors. s Built-in decode logic in the transmit frame block dynamically adjusts the priority of BAC arbitration. When the valid data in the FIFO drops below the "High-Priority Transmit FIFO Threshold" during transmission, the priority of transmit DMA is asserted and subsequent Transmit DMA operations are allotted a higher priority in BAC arbitration. Note that this only happens when the Transmit DMA engine and Transmit Frame are working on the same packet. This algorithm is designed to help prevent FIFO underrun. s When the MAC is transmitting a packet, it may encounter network errors such as late collision, excessive deferral, excess collisions, or long packets. The MAC signals the transmit frame, which in turn aborts the current transmission. For normal collisions during the collision window, the MAC signals a "retry" to the Transmit Frame, which in turn retries transmission of these packets. s Error handling routines are implemented in the Transmit Frame to retransmit a packet when transmit FIFO underrun error occurs. The Transmit Frame attempts to retransmit the packet if the start_of_packet data has not been overwritten by a subsequent DMA operation. If the Transmit Frame block cannot re-transmit the packet after three tries, the packet is aborted. The start_of_packet "Producer Index" of the error packet is DMA-transferred back to the host through the "Completion Queue". s As the MAC completes each packet transmission, it advertises the transmit status of this packet. The Statistic Block collects both transmit and receive status and stores them in a local register file. When the mode of "Transmit Complete Interrupt" is on, the transmit status is DMA-transferred to the host. s 64-bit addressing support on all data buffers. The "Descriptor Queue" and the "Completion Queue" are also 64-bit addressing, but they share the same high-order 32-bit addresses (same 4-GByte page). s Power Management Mode defined by PCI Bus Power Management Interface Specification. When the transmit block is put to the "Sleep" mode, all the state machines are reset to "Idle" and then the clock is removed. 3-3

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190

3-3
Transmit Architecture
When the amount of packet data in the FIFO exceeds the “Transmit Threshold,” or
when the end of packet is already in the FIFO, the “Transmit Frame” state machine
signals the MAC to start transmitting the packet. The transmit frame block handles
reading packets from the FIFO, MAC interface and FIFO link list management. It
also handles “retries” in case collision occurs and handles “aborts” when MAC
signals errors.
Built-in decode logic in the transmit frame block dynamically adjusts the priority of
BAC arbitration. When the valid data in the FIFO drops below the “High-Priority
Transmit FIFO Threshold” during transmission, the priority of transmit DMA is
asserted and subsequent Transmit DMA operations are allotted a higher priority in
BAC arbitration. Note that this only happens when the Transmit DMA engine and
Transmit Frame are working on the same packet. This algorithm is designed to help
prevent FIFO underrun.
When the MAC is transmitting a packet, it may encounter network errors such as
late collision, excessive deferral, excess collisions, or long packets. The MAC signals
the transmit frame, which in turn aborts the current transmission. For normal
collisions during the collision window, the MAC signals a “retry” to the Transmit
Frame, which in turn retries transmission of these packets.
Error handling routines are implemented in the Transmit Frame to retransmit a
packet when transmit FIFO underrun error occurs. The Transmit Frame attempts to
retransmit the packet if the start_of_packet data has not been overwritten by a
subsequent DMA operation. If the Transmit Frame block cannot re-transmit the
packet after three tries, the packet is aborted. The start_of_packet “Producer Index”
of the error packet is DMA-transferred back to the host through the “Completion
Queue”.
As the MAC completes each packet transmission, it advertises the transmit status of
this packet. The Statistic Block collects both transmit and receive status and stores
them in a local register file. When the mode of “Transmit Complete Interrupt” is on,
the transmit status is DMA-transferred to the host.
64-bit addressing support on all data buffers. The “Descriptor Queue” and the
“Completion Queue” are also 64-bit addressing, but they share the same high-order
32-bit addresses (same 4-GByte page).
Power Management Mode defined by PCI Bus Power Management Interface
Specification. When the transmit block is put to the “Sleep” mode, all the state
machines are reset to “Idle” and then the clock is removed.