[openib-general] posting send requests in RTR

Fabian Tillier ftillier at silverstorm.com
Sat Jul 29 18:55:13 PDT 2006


On 7/29/06, Michael S. Tsirkin <mst at mellanox.co.il> wrote:
> Quoting r. Rimmer, Todd <trimmer at silverstorm.com>:
> > The target receives the SCSI commands (such as Test Unit Ready or
> > Inquiry) and wants to act on them immediately.  However if the command
> > has passed the RTU or the RTU is lost, the target is still in RTR.  If
> > the command was very simple, the target may want to answer the query
> > immediately by posting a send with the response.
>
> Since the response won't go out until QP is in RTS anyway, why is it important
> to post the send immediately?  The simplest appproach for you is to avoid
> polling the CQ until QP is in RTS.

Which only works if you have a CQ per QP.  If the CQ happens to be
shared you're SOL.

- Fab




More information about the general mailing list