diff options
author | Michael Guralnik <michaelgur@mellanox.com> | 2018-11-21 15:03:54 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-11-21 14:18:02 -0700 |
commit | db7a691a1551a748cb92d9c89c6b190ea87e28d5 (patch) | |
tree | 7a890cef03239feca4ea8047fa0ae88ffdd1ad49 /scripts/gdb/linux/modules.py | |
parent | 13f8d9c16693afb908ead3d2a758adbe6a79eccd (diff) |
IB/mlx5: Avoid load failure due to unknown link width
If the firmware reports a connection width that is not 1x, 4x, 8x or 12x
it causes the driver to fail during initialization.
To prevent this failure every time a new width is introduced to the RDMA
stack, we will set a default 4x width for these widths which ar unknown to
the driver.
This is needed to allow to run old kernels with new firmware.
Cc: <stable@vger.kernel.org> # 4.1
Fixes: 1b5daf11b015 ("IB/mlx5: Avoid using the MAD_IFC command under ISSI > 0 mode")
Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions