> 
> 
> > i post a SR using the ibv_send_wr.
> > 
> > in the struct ibv_send_wr:
> >     num_sge <-- 0
> >     i don't put any value in sg_list because no one should check
> > this value ...
> 
> Is the error reported by the return code from ibv_post_send() or 
> is it in a work completion? What is the error code?
> 
> Have you followed the code path from ibv_post_send() down through the 
> mthca library to make sure that an sqe list of size 0 is handled 
> correctly?

i can post the send request without any problems, but i get the
following completion with error:

local QP operation err (QPN 8a0406, WQE @ 00000002, CQN 9d0084, index 0)
  [ 0] 008a0406
  [ 4] 00000000
  [ 8] 00000000
  [ c] 00000000
  [10] 02700000
  [14] 00000000
  [18] 00000002
  [1c] ff000000> 

i looked into the code of the mthca library:

in regular post (without inline) with sge list of size 0: the variables
wqe and size are not being changed
in post with inline enabled and with sge list of size 0: the variables
wqe and size were changed:
wqe += sizeof(struct mthca_inline_seg) - the size is 4
size += 1

Dotan
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to