Intel 82558 Switch User Manual


 
70 Intel 8255x 10/100 Mbps Ethernet Controller Family Open Source Software Developer Manual
Host Software Interface
no other internal DMA channels are requesting a transfer, the transmit DMA may perform
an extended PCI burst. In order for this counter to be enabled, the DMA maximum byte
count enable bit (byte 5, bit 7) must be set. If the enable bit is not set, the transmit DMA
will continue until it is done (no other DMA unit can pre-empt it).
Note: If this counter is enabled and set to zero, then the transmit DMA can be pre-empted
almost immediately.
Default - 0.
Recommended - 0.
BYTE 6.
Bit 7 - Save Bad Frames.
This bit determines whether erroneous frames (CRC error, alignment error, etc.) are to be
discarded or saved. Erroneous frames are those where the OK bit equals 0 in the frame
descriptor status field. All frames are saved regardless of their status.
When the device is configured to save bad frames, the Receive Frame Descriptor (RFD) is
not re-used for the next frame. When bad frames are not saved, these structures are re-
used and no information is left in memory.
Note: The statistical counters are still updated upon receiving bad frames regardless of
the state of this bit.
0 = Received bad frames are not saved in memory.
1 = Received bad frames are saved in memory.
Default - 0 (do not save bad frames).
Recommended - 0 (1 for promiscuous mode).
Bit 6 - Discard Overrun Receive Frames. This bit determines whether Receive Overrun
frames are to be discarded or saved. When activated (set to 0) the device may internally
discard frames that were Overrun. When not activated (set to 1) the device will pass these
frames to memory and only then reclaim the memory space or not according to the SBF
configuration. If this bit is cleared (set to 0), Overrun frames will be discarded regardless
of the setting of SBF. Note that Overrun frames will not always be discarded even if this
bit is activated. If a frame has started to be transferred to memory before the overrun is
detected the frame will be passed to memory regardless of the configuration.
0 = Discard overrun frames.
1 = Pass overrun frames to memory.
Default - 0 (do not pass overrun frames to memory).
Recommended - 0.
Bit 5 - Extended Statistical Counter.
This bit is reserved on the 82557, and should be set to 1. For the 82558 or 82559, it
determines the number of statistical counters that are dumped by the device when the
Dump Statistical Counters or Dump and Reset Statistical Counters command is issued. If
it is set to 1, the device dumps the 82557 compatible 16 counters into 68 bytes of memory.
If the bit is 0, the device dumps the full 19 counters into 80 bytes of memory.
0 = Extended Statistical Counters.
1 = Standard Statistical Counters.
Default - 1 (standard statistical counters).
Recommended - 1.