[openib-general] semantics of process_mad?

Sean Hefty mshefty at ichips.intel.com
Mon Sep 13 10:18:09 PDT 2004


On Fri, 10 Sep 2004 13:49:05 -0700
Roland Dreier <roland at topspin.com> wrote:

> 	enum ib_mad_result {
> 		IB_MAD_RESULT_FAILURE      = 0,        // (!SUCCESS is the important flag)
> 		IB_MAD_RESULT_SUCCESS      = 1 << 0,   // MAD was successfully processed
> 		IB_MAD_RESULT_REPLY        = 1 << 1,   // Reply packet needs to be sent
> 		IB_MAD_RESULT_CONSUMED     = 1 << 2    // Packet consumed: stop processing
> 	};

I think that using these return codes would work fine.



More information about the general mailing list