EasyManuals Logo

Broadcom NetXtreme/NetLink BCM5718 Series User Manual

Broadcom NetXtreme/NetLink BCM5718 Series
593 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #87 background imageLoading...
Page #87 background image
Status BlockBCM5718 Programmer’s Guide
Broadcom®
January 29, 2016 5718-PG108-R Page 87
The Status Block format for these devices is as follows:
Status TagContains an unique eight-bit tag value in bits 7:0 when the Status Tagged Status mode bit of
the Miscellaneous Host Control register (see “Miscellaneous Host Control Register (offset: 0x68)” on
page 282) is set to 1. This Status Tag can be returned to the Mailbox 0 register at location 31:24
(see“Interrupt Mailbox 0 Register (offset: 0x5800)” on page 460) by host driver. When the remaining
Mailbox 0 register bits 23:0 are written as 0, the tag field of the Mailbox 0 register is compared with the tag
field of the last status block to be DMAed to host. If the tag returned is not equivalent to the tag of the last
status block DMAed to the host, the interrupt state is entered.
Receive Producer Ring Consumer IndexContains the controllers current Consumer Index value for the
Receive Producer Ring. This field indicates how many receive descriptors are in the receive producer ring
that the controller has consumed. For more information regarding this ring, see “Receive Producer Ring” on
page 77.
Receive Return Rings 0–3 Producer IndicesContain controller’s current Producer Index value for the
each of the Receive Return Rings. When the controller receives a packet and writes that packet data into
host memory via DMA, it will increment the Producer Index for the corresponding Receive Return ring.
When a Producer Index is incremented, it is a signal to software that a newly arrived receive packet is
ready to be processed.
Send Ring Consumer IndexContains controller’s current Consumer Index value for the Send Ring.
When the controller completes the read DMA of the host buffer associated with a send BD, the controller
will update the Send Ring Consumer Index. This provides the host software with an indication that the
controller has buffered this send data and, therefore, the host software may free the buffer that was just
consumed by the device.
1 Link State Changed Indicates that link status has changed. This method of determining link change
status provides a small performance increase over doing a PIO read of the
Ethernet MAC Status register (see “EMAC Status Register (offset: 0x404)” on
page 311. See “Wake on LAN Mode/Low-Power” on page 212 for a description
of the PHY setup required when link state changes.
2 Error When this bit is asserted by the chip, the following conditions may have
occurred. Bit 2 of the status word is the OR of:
All bits in Flow Attention register (0x3c48) (see “Flow Attention Register
(offset: 0x3C48)” on page 422.
MAC_ATTN—Events from the MAC block (see “EMAC Status Register
(offset: 0x404)” on page 311.
DMA_EVENT—Events from the following blocks:
MSI (see “MSI Status Register (offset: 0x6004)” on page 467.
DMA_RD (see LSO Read DMA Status Register (offset: 0x4804)” on
page 435.
DMA_WR (see “Write DMA Status Register (offset: 0x4C04)” on
page 450.
RXCP_ATTN—Events from RX RISC (see “RX RISC Status Register (offset:
0x5004)” on page 452.
Table 19: Status Word Flags (Cont.)
Bits Name Description

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Broadcom NetXtreme/NetLink BCM5718 Series and is the answer not in the manual?

Broadcom NetXtreme/NetLink BCM5718 Series Specifications

General IconGeneral
BrandBroadcom
ModelNetXtreme/NetLink BCM5718 Series
CategoryController
LanguageEnglish

Related product manuals