[openib-general] [PATCH] ib_cancel_mad API
Roland Dreier
roland at topspin.com
Wed Sep 29 15:20:20 PDT 2004
Sean> Currently, the consumer _only_ has to free their send
Sean> context in their send MAD completion handler. No reference
Sean> counting by the consumer is needed. And it doesn't matter
Sean> if a send succeeds, timeouts, has an error, or is canceled.
The consumer does need to do reference counting. If I cancel a MAD
and get -EINVAL back, I might still get a completion later, so I have
to have a count of the number of MADs outstanding and wait for that to
go to zero.
- R.
More information about the general
mailing list