On 12/6/2010 11:54 AM, Mike Heinz wrote:
Which is preferred?

         if ((!mad_send_wr) ||
            (busy&&  mad_send_wr->retries_left&&
            (mad_recv_wc->recv_buf.mad->mad_hdr.method != 
IB_MGMT_METHOD_TRAP_REPRESS))) {

Or

         if ((!mad_send_wr) ||
            (busy&&  mad_send_wr->retries_left&&
            (mad_recv_wc->recv_buf.mad->mad_hdr.method !=
            IB_MGMT_METHOD_TRAP_REPRESS))) {

?


More like the latter IMO:

        if (!mad_send_wr ||
            (busy && mad_send_wr->retries_left &&
             (mad_recv_wc->recv_buf.mad->mad_hdr.method !=
              IB_MGMT_METHOD_TRAP_REPRESS))) {
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to