Rainbow-electronics DS3131 User Manual Page 80

  • Download
  • Add to my manuals
  • Print
  • Page
    / 174
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 79
DS3131
80 of 174
9.2.2 Packet Descriptors
A contiguous section up to 65,536 quad dwords that make up the receive packet descriptors resides in
main memory. The receive packet descriptors are aligned on a quad dword basis and can be placed
anywhere in the 32-bit address space through the receive descriptor base address (Table 9-C). A data
buffer is associated with each descriptor. The data buffer can be up to 8191 Bytes long and must be a
contiguous section of main memory. The host can set two different data buffer sizes through the receive
large buffer size (RLBS) and the receive small buffer size (RSBS) registers (Section 9.2.1). If an
incoming packet requires more space than the data buffer allows, packet descriptors are link-listed
together by the DMA to provide a chain of data buffers. Figure 9-3 shows an example of how three
descriptors were linked together for an incoming packet on HDLC Channel 2. Figure 9-2 shows a similar
example. Channel 9 only required a single data buffer and therefore only one packet descriptor was used.
Packet descriptors can be either free (available for use by the DMA) or used (currently contain data that
needs to be processed by the host). The free-queue descriptors point to the free packet descriptors. The
done-queue descriptors point to the used packet descriptors.
Table 9-C. Receive Descriptor Address Storage
REGISTER NAME ADDRESS
Receive Descriptor Base Address 0 (lower word) RDBA0 0750h
Receive Descriptor Base Address 1 (upper word) RDBA1 0754h
Figure 9-3. Receive Descriptor Example
Free Descripto
r
Base + 00h
Channel 2 First Buffer Descripto
r
Base + 10h
Base + 20h
Free Descripto
r
Base + 30h
Free Descripto
r
Base + 40h
Base + 50h
Free Descripto
r
Base + 60h
Base + 70h
Free Descripto
r
Base + 80h
Free Descripto
r
Base + FFFD0h
Free Descripto
r
Base + FFFF0h
Channel 9 Single Buffer Descripto
r
Channel 2 Second Buffer Descripto
r
Channel 2 Last Buffer Descripto
r
Free-Queue Descriptor Address
Done-Queue Descriptor Pointe
r
Maximum of 65,536
Descriptors
Page view 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 173 174

Comments to this Manuals

No comments

Kathrein ZTB 60ro manuels

Manuels d'utilisation et guides de l'utilisateur pour Kits de montage Kathrein ZTB 60ro.
Nous fournissons des manuels en pdf 1 Kathrein ZTB 60ro à télécharger gratuitement par type de document : Manuel de service






Plus de produits et de manuels pour Kits de montage Kathrein

Modèles Type de document
Aucun