Jack,

* On Oct,16 Jack Morgenstein<[EMAIL PROTECTED]> wrote :
> Sayantan,
> The Limit Event must be re-armed after an event has occurred (it is a 
> "one-shot").
> (i.e., modify-srq/set-limit must be re-invoked).This is compliant with the 
> IB Spec (see section 10.2.9.3, first paragraph). (Note that after each SRQ LWM
> event, the limit for the SRQ gets reset back to zero -- i.e., disabled).
> 
> Therefore, proper use of this feature is as follows (after creating the SRQ):
>   a. Post the SRQ WQEs
>   b. Arm the Limit to a non-zero value (less than the number of WQEs posted,
>       or the arming is useless -- you will immediately get the event).
>   c. If the number of posted WQEs falls below your limit, you will get an
>       event.
>   d. Handling the event:
>       1) FIRST, post more WQEs to the SRQ to get the number of posted wqe's 
> to be 
>               greater than your desired limit.
>       2) THEN, re-arm the event (i.e., modify the SRQ limit again to
>               be a non-zero value).

Thanks for the detailed instructions. I am able to see the limit event
exactly when the buffer count goes down.

Thanks,
Sayantan.

-- 
http://www.cse.ohio-state.edu/~surs
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to