diff options
| author | Noa Osherovich <noaos@mellanox.com> | 2016-12-28 15:58:32 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-12-28 22:36:50 +0300 |
| commit | 883371c453b937f9eb581fb4915210865982736f (patch) | |
| tree | 6be4419a466b81dd6076798e71074bd625fd3843 /scripts/gdb/linux/modules.py | |
| parent | 9da34cd34e85aacc55af8774b81b1f23e86014f9 (diff) | |
| download | linux-883371c453b937f9eb581fb4915210865982736f.tar.xz | |
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
