Send with immediate data completion

2012-01-03 Thread Atchley, Scott
Hi all, I have a question about a completion for a send with immediate data. The IB spec (1.2.1) only mentions that the WC's immediate data be present at the receiver. It is silent on the value on the sender at completion. It does say that it is only valid if the WC's immediate data indicator i

RE: Send with immediate data completion

2012-01-03 Thread Hefty, Sean
> I have a question about a completion for a send with immediate data. The IB > spec (1.2.1) only mentions that the WC's immediate data be present at the > receiver. It is silent on the value on the sender at completion. It does say > that it is only valid if the WC's immediate data indicator is se

Re: Send with immediate data completion

2012-01-03 Thread Atchley, Scott
On Jan 3, 2012, at 11:55 AM, Hefty, Sean wrote: >> I have a question about a completion for a send with immediate data. The IB >> spec (1.2.1) only mentions that the WC's immediate data be present at the >> receiver. It is silent on the value on the sender at completion. It does say >> that it is

Re: Send with immediate data completion

2012-01-03 Thread Atchley, Scott
On Jan 3, 2012, at 11:55 AM, Hefty, Sean wrote: >> I have a question about a completion for a send with immediate data. The IB >> spec (1.2.1) only mentions that the WC's immediate data be present at the >> receiver. It is silent on the value on the sender at completion. It does say >> that it is

Re: Send with immediate data completion

2012-01-11 Thread Atchley, Scott
On Jan 3, 2012, at 12:35 PM, Atchley, Scott wrote: > On Jan 3, 2012, at 11:55 AM, Hefty, Sean wrote: > >>> I have a question about a completion for a send with immediate data. The IB >>> spec (1.2.1) only mentions that the WC's immediate data be present at the >>> receiver. It is silent on the va

RE: Send with immediate data completion

2012-01-11 Thread Hefty, Sean
> Any thoughts? > > Personally, I would like to have it in the send completion, but it might not > be possible for all drivers to implement. If not, then the spec should be > clarified. >From my interpretation of the spec, it looks like a bug and the immediate data >should be available in the se

RE: Send with immediate data completion

2012-01-11 Thread Hefty, Sean
> From my interpretation of the spec, it looks like a bug and the immediate data > should be available in the send wc, since it's not explicitly excluded. I'll > verify that this is the intent with the IBTA. I'm still waiting on feedback from the IBTA, but they are looking into the matter. > I

RE: Send with immediate data completion

2012-01-11 Thread Hefty, Sean
> I'm still waiting on feedback from the IBTA, but they are looking into the > matter. The intent is for immediate data only to be provided on receive work completions. The IBTA will clarify the spec on this. I'll submit patches that remove setting the wc flag, which may help avoid this confus

Re: Send with immediate data completion

2012-01-11 Thread Roland Dreier
On Wed, Jan 11, 2012 at 2:22 PM, Hefty, Sean wrote: > The intent is for immediate data only to be provided on receive work > completions.  The IBTA will clarify the spec on this.  I'll submit patches > that remove setting the wc flag, which may help avoid this confusion some. The unfortunate th

Re: Send with immediate data completion

2012-01-11 Thread Jason Gunthorpe
On Wed, Jan 11, 2012 at 03:35:58PM -0800, Roland Dreier wrote: > On Wed, Jan 11, 2012 at 2:22 PM, Hefty, Sean wrote: > > The intent is for immediate data only to be provided on receive > > work completions. ?The IBTA will clarify the spec on this. ?I'll > > submit patches that remove setting the w

Re: Send with immediate data completion

2012-01-12 Thread Atchley, Scott
On Jan 11, 2012, at 5:22 PM, Hefty, Sean wrote: >> I'm still waiting on feedback from the IBTA, but they are looking into the >> matter. > > The intent is for immediate data only to be provided on receive work > completions. The IBTA will clarify the spec on this. I'll submit patches > that r