[openib-general] [PATCH] user_mad: In send_handler, only queue_packet on timeout if not response

Roland Dreier rolandd at cisco.com
Tue Jun 28 13:12:05 PDT 2005


    Hal> I'm not sure what a consumer would want a timeout to a non
    Hal> request method.

I guess my view would be that if a consumer would never want a
timeout, then the kernel shouldn't generate them.  We be consistent
between kernel space and user space though -- the umad module
shouldn't be filtering out information.

    Hal> Other alternatives are: Change RMPP send timeouts to be same
    Hal> as normal MAD sends or Not return entire send packet on
    Hal> timeout. Is that a requirement also ?

I don't think we need to return the whole packet on timed out sends
now that the MAD structure has the header first.  In fact it probably
makes sense to leave the payload off of timeout responses.  We just
need a way to return the transaction_id of the timed-out send.

 - R.



More information about the general mailing list