diff options
author | Noa Osherovich <noaos@mellanox.com> | 2016-12-28 14:58:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-28 14:36:50 -0500 |
commit | 883371c453b937f9eb581fb4915210865982736f (patch) | |
tree | 6be4419a466b81dd6076798e71074bd625fd3843 /tools/virtio/asm | |
parent | 9da34cd34e85aacc55af8774b81b1f23e86014f9 (diff) |
net/mlx5: Check FW limitations on log_max_qp before setting it
When setting HCA capabilities, set log_max_qp to be the minimum
between the selected profile's value and the HCA limitation.
Fixes: 938fe83c8dcb ('net/mlx5_core: New device capabilities...')
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/virtio/asm')
0 files changed, 0 insertions, 0 deletions