[ofa-general] Re: [PATCH] libmlx4: Added resize CQ capability.

Roland Dreier rdreier at cisco.com
Fri Mar 28 20:37:30 PDT 2008


 >  struct mlx4_cq {
 > +	int				cqe;

I'm probably missing something but I don't see why we can't continue
using cq->ibv_cq.cqe, which avoids a bunch of changes scattered
around.  The whole resize operation is inside the CQ's spinlock so we
don't have to worry about keeping the size of the CQ consistent or
anything like that.

 - R.



More information about the general mailing list