From: Patrick Marchand Latifi Date: Sat, 19 Jan 2008 04:10:48 +0000 (-0800) Subject: IB/ipath: Fix RC QP initialization X-Git-Tag: v2.6.25-rc6~15^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cd5060cf7c2207c31e2e368f8a6343355362e51;p=pandora-kernel.git IB/ipath: Fix RC QP initialization This patch fixes the initialization of RC QPs, since we would rely on the queue pair type (ibqp->qp_type) being set, but this field is only initialized when we return from ipath_create_qp (it is initialized by the user-level verbs library). The fix is to not depend on this field to initialize the send and the receive state of the RC QP. Signed-off-by: Patrick Marchand Latifi Signed-off-by: Roland Dreier --- Reading git-diff-tree failed