Send RingsBCM5718 Programmer’s Guide
Broadcom®
January 29, 2016 • 5718-PG108-R Page 106
When the producer and consumer indices are equal, the ring is empty. When the producer index is one behind
the consumer, the ring is full. Because of this configuration, the producer index always points to an empty slot.
Thus, there will always be at least one empty slot in a ring.
Figure 19 illustrates the relationships between all the components of a send ring.
Figure 19: Relationships Between All Components of a Send Ring
Send BD 1
Send BD 2
Send BD 3
Send BD 4
Buffer
Buffer
Buffer
Send
RCB
Send BD 5
Send BD 7
Send BD 8Consumer
Producer
...
Send BD 6
Send BD 512