Re: [PATCH] IB/core: Don't drain the receive queue for srq attached queue-pair

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Actually, after thinking more about this, posting anything to the SRQ
will not force it to complete.  The only reason that works for a QP with
an RQ is that the QP is in ERR state and thus the RECV WR gets completed
with FLUSHED status.

Exactly...

So SRQ drain would require some other method...

I still don't understand the meaning of draining a SRQ.
There are no QP associated post recvs, the QP and contexts
(wc->qp) are assigned at completion processing time. When
we have a SRQ the recv contexts are not bound to a
session/connection/QP...

Can you well-define what are you trying to do?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux