Avago Technologies LSI53C1030 User Manual
Page 37

Fusion-MPT Architecture Overview
2-7
Version 2.2
Copyright © 2001, 2002, 2003 by LSI Logic Corporation. All rights reserved.
messages. When the host system writes to the doorbell, the LSI53C1030
hardware generates a maskable interrupt to the IOP, which can then read
the doorbell value and take the appropriate action. When the IOP writes
a value to the doorbell, the LSI53C1030 hardware generates a maskable
interrupt to the host system. The host system can then read the doorbell
value and take the appropriate action.
There are two 32-bit message queues: the request message queue and
the reply message queue. The host uses the request queue to request
an action by the LSI53C1030, and the LSI53C1030 uses the reply queue
to return status information to the host. The request message queue
consists of only the request post FIFO. The reply message queue
consists of both the reply post FIFO and the reply free FIFO. The shared
RAM contains the message queues.
Communication using the message queues occurs through request
messages and reply messages. Request message frame descriptors are
pointers to the request message frames and are passed through the
request post FIFO. The request message frame data structure is up to
128 bytes in length and includes a message header and a payload. The
header uniquely identifies the message. The payload contains
information that is specific to the request. Reply message frame
descriptors have one of two formats and are passed through the reply
post FIFO. When indicating the successful completion of a SCSI I/O, the
IOP writes the reply message frame descriptor using the Context Reply
format, which is a message context. If a SCSI I/O does not complete
successfully, the IOP uses the Address Reply format. In this case, the
IOP pops a reply message frame from the reply free FIFO, generates a
reply message describing the error, writes the reply message to system
memory, and writes the address of the reply message frame to the reply
post FIFO. The host can then read the reply message and take the
appropriate action.
The doorbell mechanism provides both a high-priority communication
path that interrupts the host system device driver and an alternative
communication path to the message queues. Since data transport
through the system doorbell occurs a single Dword at a time, use the
LSI53C1030 message queues for normal operation and data transport.