commit | f5311ac109b21c9b47118655a5b6d887bcc686f8 | [log] [tgz] |
---|---|---|
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | Tue Dec 13 04:12:13 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 13 13:56:05 2011 -0500 |
tree | 08b36eb29661485c60f101bb9f3f50be8a0eff2c | |
parent | f9baff509f8a05a79626defdbdf4f4aa4efd373b [diff] |
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 <jackm@dev.mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>