]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e5f14e47e378572b6fdcf8ad2d172d476111b5e
treecbfb99c06499fd0b18d975af6f4fc99e1022c38d
parentd33c3cb0da597300ed26282fd9cb264be06085c0
mlx4_core: Fix XRC QPs detection in the resource tracker

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>
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c