[ofa-general] Re: [RFC][PATCH] last wqe event handler patch
Roland Dreier
rdreier at cisco.com
Thu Jun 26 08:05:12 PDT 2008
> So what you're saying is that the scenario Shirley described is not
> possible...
Seems like it... so the "one at a time" draining bug fix is probably not
right. The IB spec says:
If the HCA supports SRQ, for RC and UD service, the CI shall generate a
Last WQE Reached Affiliated Asynchronous Event on a QP that is in the
Error State and is associated with an SRQ when either:
. a CQE is generated for the last WQE, or
. the QP gets in the Error State and there are no more WQEs on the RQ.
It is slightly ambiguous what "generated" means for a CQE -- it is
conceivable that someone could interpret that to mean a CQE is "in
flight" but has not necessarily become visible.
Anyway I think we need to debug this further.
- R.
More information about the general
mailing list