RE: [openib-general] agent_mad_send

2004-10-28 Thread Tziporet Koren
Title: RE: [openib-general] agent_mad_send The reason for this is that for special QPs the driver insert the AV to the packet and not the HW. In regular QP the HW reads the AV only when is actually doing the send and thus you have to wait and not destroy the AV till the send completes

Re: [openib-general] agent_mad_send

2004-10-27 Thread Hal Rosenstock
On Wed, 2004-10-27 at 12:47, Sean Hefty wrote: > > I can post a patch for this but this depends on whether the agent or MAD > > layer should destroy the AH. > > I think that the MAD agent should, since it allocated the AH. That's what I thought but didn't want to post a patch and find out otherwi

Re: [openib-general] agent_mad_send

2004-10-27 Thread Sean Hefty
On Wed, 27 Oct 2004 09:47:25 -0400 Hal Rosenstock <[EMAIL PROTECTED]> wrote: > On Tue, 2004-10-26 at 18:29, Sean Hefty wrote: > > In agent_mad_send, a call is made to create an address handle. > > Immediately after calling ib_post_send_mad, the address handle is destroyed. > > I think that we

Re: [openib-general] agent_mad_send

2004-10-27 Thread Sean Hefty
On Tue, 26 Oct 2004 21:17:34 -0700 Roland Dreier <[EMAIL PROTECTED]> wrote: > Sean> In agent_mad_send, a call is made to create an address > Sean> handle. Immediately after calling ib_post_send_mad, the > Sean> address handle is destroyed. I think that we want to wait > Sean> unt

Re: [openib-general] agent_mad_send

2004-10-27 Thread Hal Rosenstock
On Tue, 2004-10-26 at 18:29, Sean Hefty wrote: > In agent_mad_send, a call is made to create an address handle. > Immediately after calling ib_post_send_mad, the address handle is destroyed. > I think that we want to wait until the send is completed before destroying > the address handle, and

Re: [openib-general] agent_mad_send

2004-10-26 Thread Roland Dreier
Sean> In agent_mad_send, a call is made to create an address Sean> handle. Immediately after calling ib_post_send_mad, the Sean> address handle is destroyed. I think that we want to wait Sean> until the send is completed before destroying the address Sean> handle, and require

[openib-general] agent_mad_send

2004-10-26 Thread Sean Hefty
In agent_mad_send, a call is made to create an address handle. Immediately after calling ib_post_send_mad, the address handle is destroyed. I think that we want to wait until the send is completed before destroying the address handle, and require this of all callers of ib_post_send_mad. Also,