Re: [openib-general] ib_mad_recv_done_handler questions

2004-11-09 Thread Hal Rosenstock
On Mon, 2004-11-08 at 19:51, Roland Dreier wrote: > Sean> * If the underlying driver provides a process_mad routine, a > Sean> response MAD is allocated every time a MAD is received on QP > Sean> 0 or 1. Can we either push this allocation down into the > Sean> HCA driver, or find a

Re: [openib-general] ib_mad_recv_done_handler questions

2004-11-09 Thread Hal Rosenstock
On Mon, 2004-11-08 at 18:48, Sean Hefty wrote: > Looking at the latest changes to ib_mad_recv_done_handler, I have a > couple of questions: > * If process_mad consumes the MAD, should the code just goto out? > Something more like: > > ret = port_priv->device->process_mad(...) > if (

Re: [openib-general] ib_mad_recv_done_handler questions

2004-11-08 Thread Sean Hefty
Roland Dreier wrote: Sean> * If the underlying driver provides a process_mad routine, a Sean> response MAD is allocated every time a MAD is received on QP Sean> 0 or 1. Can we either push this allocation down into the Sean> HCA driver, or find an alternative way of interacting

Re: [openib-general] ib_mad_recv_done_handler questions

2004-11-08 Thread Roland Dreier
Sean> * If the underlying driver provides a process_mad routine, a Sean> response MAD is allocated every time a MAD is received on QP Sean> 0 or 1. Can we either push this allocation down into the Sean> HCA driver, or find an alternative way of interacting Sean> between the two

[openib-general] ib_mad_recv_done_handler questions

2004-11-08 Thread Sean Hefty
Looking at the latest changes to ib_mad_recv_done_handler, I have a couple of questions: * If the underlying driver provides a process_mad routine, a response MAD is allocated every time a MAD is received on QP 0 or 1. Can we either push this allocation down into the HCA driver, or find an al