From: Shani Michaeli Date: Wed, 6 Feb 2013 16:19:10 +0000 (+0000) Subject: mlx4_core: Disable memory windows for virtual functions X-Git-Tag: v3.9-rc1~72^2^6~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc1ade94eeaa235b28fb139d4ba20b697be36768;p=pandora-kernel.git mlx4_core: Disable memory windows for virtual functions Do not enable memory windows allocation for virtual functions. In addition, add a few safety checks, such as: * Verifying the PD of a new MPT matches the VF. * Making sure binding memory window isn't enabled for FMRs, and that new memory windows are not FMR themselves. Signed-off-by: Haggai Eran Signed-off-by: Shani Michaeli Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed