From: Hadar Hen Zion Date: Thu, 6 Dec 2012 17:11:57 +0000 (+0000) Subject: mlx4_core: Add QPN enforcement for flow steering rules set by VFs X-Git-Tag: v3.8-rc1~5^2^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9c01e7ac1bc0302775437491f7424514d64607c;p=pandora-kernel.git mlx4_core: Add QPN enforcement for flow steering rules set by VFs Since VFs may be mapped to VMs which aren't trusted entities, flow steering rules attached through the wrapper on behalf of VFs must be checked to make sure that the specified QP number is assigned to that VF. Also, make sure to keep the QP busy till the end of the operation from the resource tracker point of view. Signed-off-by: Hadar Hen Zion Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed