commit | 883371c453b937f9eb581fb4915210865982736f | [log] [tgz] |
---|---|---|
author | Noa Osherovich <noaos@mellanox.com> | Wed Dec 28 14:58:32 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 28 14:36:50 2016 -0500 |
tree | 6be4419a466b81dd6076798e71074bd625fd3843 | |
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>