diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2016-10-27 15:27:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-29 22:23:48 +0200 |
commit | 33a1f8b196dca933313c001866c4df3f3ca11f78 (patch) | |
tree | 480a21a8941bb17a9a766bc4c57f4fe80be9370f /scripts | |
parent | net/mlx4_core: Fix the resource-type enum in res tracker to conform to FW spec (diff) | |
download | linux-33a1f8b196dca933313c001866c4df3f3ca11f78.tar.xz linux-33a1f8b196dca933313c001866c4df3f3ca11f78.zip |
net/mlx4_core: Avoid setting ports to auto when only one port type is supported
When only one port type is supported, it should be read only.
We reject changing requests, even to the auto sense mode.
Fixes: 27bf91d6a0d5 ("mlx4_core: Add link type autosensing")
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions