From: Matan Barak Date: Sun, 2 Feb 2014 15:06:47 +0000 (+0200) Subject: IB/mlx4: Don't allocate range of steerable UD QPs for Ethernet-only device X-Git-Tag: v3.14-rc3~24^2^5~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4196670be786d529ab7f6c18f5077141ce1b787e;p=pandora-kernel.git IB/mlx4: Don't allocate range of steerable UD QPs for Ethernet-only device When the device has only Ethernet ports, don't try to allocate range of steerable UD QPs since they aren't needed. This fixes an issue where mlx4 VFs tried to allocate a range of UD steerable QPs, but failed to do so. Fixes: c1c98501121e ("IB/mlx4: Add support for steerable IB UD QPs") Signed-off-by: Matan Barak Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed