[openib-general] [PATCH] MAD snooping API/implementation

Hal Rosenstock hnrose at earthlink.net
Fri Dec 10 06:29:07 PST 2004


Hi Sean,

A couple of minor questions about this patch:

1. In ib_mad.h:
  /**
+ * ib_mad_snoop_handler - Callback handler for snooping sent MADs.
+ * @mad_agent: MAD agent that snooped the MAD.
+ * @send_wr: Work request information on the sent MAD.
+ * @mad_send_wc: Work completion information on the sent MAD.  Valid
+ *   only for snooping that occurs on a send completion.
+ *
+ * Clients snooping MADs should not modify data referenced by the @send_wr
+ * or @mad_send_wc.
+ */

I presume snoop clients should also not free the MAD either. If so, should that comment
also be added ?

2. Should MAD snooping be exposed to user space too ?

Thanks.

- Hal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20041210/12c9b174/attachment.html>


More information about the general mailing list