From: Roland Dreier Date: Fri, 8 Jun 2007 06:24:39 +0000 (-0700) Subject: IB/mlx4: Make sure RQ allocation is always valid X-Git-Tag: v2.6.22-rc5~48^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4cd7ed86ff511aebcc97675937039f2321d6987;p=pandora-kernel.git IB/mlx4: Make sure RQ allocation is always valid QPs attached to an SRQ must never have their own RQ, and QPs not attached to SRQs must have an RQ with at least 1 entry. Enforce all of this in set_rq_size(). Based on a patch by Eli Cohen . Signed-off-by: Roland Dreier --- Reading git-diff-tree failed