mlx4_core: Fix XRC QPs detection in the resource tracker
authorYishai Hadas <yishaih@mellanox.com>
Thu, 1 Aug 2013 15:49:52 +0000 (18:49 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 13 Aug 2013 18:21:31 +0000 (11:21 -0700)
Recognize XRC QPs in the SR-IOV resource tracker based on transport
type.  The previous check didn't match IB_QPT_XRC_INI and caused an
invalid calculation for required mtt pages.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found