summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/cmd.c
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2011-12-13 04:12:13 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-12-13 18:56:05 (GMT)
commitf5311ac109b21c9b47118655a5b6d887bcc686f8 (patch)
tree08b36eb29661485c60f101bb9f3f50be8a0eff2c /drivers/net/ethernet/mellanox/mlx4/cmd.c
parentf9baff509f8a05a79626defdbdf4f4aa4efd373b (diff)
downloadlinux-fsl-qoriq-f5311ac109b21c9b47118655a5b6d887bcc686f8.tar.xz
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/cmd.c')
0 files changed, 0 insertions, 0 deletions