[openib-general] Usage of ib_mad_recv_wc.recv_buf?
Hal Rosenstock
halr at voltaire.com
Mon Oct 18 05:34:48 PDT 2004
On Sun, 2004-10-17 at 20:59, Roland Dreier wrote:
> I'm working with the new MAD code, and I'm wondering what the
> intendend usage of ib_mad_recv_wc.recv_buf is, specifically in the
> RMPP case. I see that struct ib_mad_recv_buf has a struct list_head
> member, but struct ib_mad_recv_wc just has a struct ib_mad_recv_buf *
> member. I assume that the idea is for multiple MAD packets to be
> passed as a linked list, so it would seem that struct ib_mad_recv_wc
> should just have a struct list_head where the MAD buffers are linked.
> Am I missing something or does this need to be changed?
I believe that the intention is that the receive completion is not
indicated to the consumer until the complete RMPP transaction has been
received. The multiple receive completions (one per segment) are
"coaelsced" into one and provided to the client when the final RMPP
segment is received.
-- Hal
More information about the general
mailing list