From: Jack Morgenstein Date: Tue, 13 Dec 2011 04:12:13 +0000 (+0000) Subject: mlx4_core: Reduce number of PD bits to 17 X-Git-Tag: v3.3-rc1~182^2~241 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5311ac109b21c9b47118655a5b6d887bcc686f8;p=pandora-kernel.git mlx4_core: Reduce number of PD bits to 17 When SRIOV is enabled on the chip (at FW burning time), the HCA uses only 17 bits for the PD. The remaining 7 high-order bits are ignored. Change the allocator to return only 17 bits for the PD. The MSB 7 bits will be used to encode the slave number for consistency checking later on in the resource tracker. Signed-off-by: Jack Morgenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed