[openib-general] [PATCH] add HW specific data to libibverbs modify QP, SRQ response

Roland Dreier rdreier at cisco.com
Thu Jun 15 13:55:11 PDT 2006


 > I am working on a ipathverbs.so version of ibv_poll_cq(),
 > ibv_post_recv(), and ibv_post_srq_recv() which mmaps the
 > queue into user space.  I found that I needed to modify the
 > core libibverbs and kernel uverbs code in order to return
 > the information I need from ib_ipath to the ipathverbs.so
 > library.

That's weird, since libmthca operates on userspace queues and doesn't
need this.  I'd like to see the ipath changes before we merge this,
because there may be a better way to do things.

 > Note that I didn't include matching changes to ehca since
 > I don't have HW to test with but I can try to make a patch
 > that allows it compile if requested to.

Yes, please include that.  The changes should be the same obvious ones
as for mthca.

Also, this breaks the ABI, and I don't see any compatibility code for
libibverbs.

 >  		ibv_cmd_resize_cq;
 > +		ibv_cmd_resize_cq_resp;

I guess we need to include a new function if we want to support this
in libibverbs 1.0.  But for libibverbs 1.1 I would prefer to just
change the prototype for ibv_resize_cq.

 - R.




More information about the general mailing list