[openib-general] Re: [PATCH] minor fix, formatting for MAD receive handling

Sean Hefty sean.hefty at intel.com
Wed Sep 29 15:47:27 PDT 2004


>I'm sure that reposting receive buffers in the case of an invalid QP
>number makes sense but it doesn't make much of a difference as this is a
>pathological case anyhow and since convert_qpnum may go away in the long
>term so would this code.

Thanks for applying this.

What I'd really like to be able to do is pull the ib_mad_private receive
buffer off the QP list before polling the CQ, to avoid having to copy the
work completion structure.  This would allow us to use pre-formatted
ib_mad_recv_wc structures as well.

Along those same lines, the send path can be optimized to avoid copying the
work request structure for 256 byte MADs.




More information about the general mailing list