[openib-general] Usage of ib_mad_recv_wc.recv_buf?

Roland Dreier roland at topspin.com
Sun Oct 17 17:59:22 PDT 2004


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?

Thanks,
  Roland



More information about the general mailing list