| 4f230c89 | 16-May-2019 |
Hans Petter Selasky <[email protected]> |
MFC r347304: Always return success for RoCE modify port in mlx5ib.
CM layer calls ib_modify_port() regardless of the link layer.
For the Ethernet ports, qkey violation and Port capabilities are mea
MFC r347304: Always return success for RoCE modify port in mlx5ib.
CM layer calls ib_modify_port() regardless of the link layer.
For the Ethernet ports, qkey violation and Port capabilities are meaningless. Therefore, always return success for ib_modify_port calls on the Ethernet ports.
Linux Commit: ec2558796d25e6024071b6bcb8e11392538d57bf
Submitted by: slavash@ Sponsored by: Mellanox Technologies
show more ...
|
| 7b169d44 | 12-Dec-2018 |
Hans Petter Selasky <[email protected]> |
MFC r341571: mlx5ib: Set default active width and speed when querying port.
Make sure the active width and speed is set in case the translate_eth_proto_oper() function doesn't recognize the current
MFC r341571: mlx5ib: Set default active width and speed when querying port.
Make sure the active width and speed is set in case the translate_eth_proto_oper() function doesn't recognize the current port operation mask.
Linux commit: 7672ed33c4c15dbe9d56880683baaba4227cf940
Sponsored by: Mellanox Technologies
show more ...
|
| 3e6d63d2 | 12-Dec-2018 |
Hans Petter Selasky <[email protected]> |
MFC r341570: mlx5ib: Make sure the congestion work timer does not escape the drain procedure.
If the mlx5_ib_read_cong_stats() function was running when mlx5ib was unloaded, because this function un
MFC r341570: mlx5ib: Make sure the congestion work timer does not escape the drain procedure.
If the mlx5_ib_read_cong_stats() function was running when mlx5ib was unloaded, because this function unconditionally restarts the timer, the timer can still be pending after the delayed work has been cancelled. To fix this simply loop on the delayed work cancel procedure as long as it returns non-zero.
Sponsored by: Mellanox Technologies
show more ...
|
| dfeda13b | 12-Dec-2018 |
Hans Petter Selasky <[email protected]> |
MFC r341569: mlx5ib: Fix null pointer dereference in mlx5_ib_create_srq
Although "create_srq_user" does overwrite "in.pas" on some paths, it also contains at least one feasible path which does not o
MFC r341569: mlx5ib: Fix null pointer dereference in mlx5_ib_create_srq
Although "create_srq_user" does overwrite "in.pas" on some paths, it also contains at least one feasible path which does not overwrite it.
Sponsored by: Mellanox Technologies
show more ...
|
| 05d644c4 | 12-Dec-2018 |
Hans Petter Selasky <[email protected]> |
MFC r341568: mlx5ib: Fix sign extension in mlx5_ib_query_device
"fw_rev_min(dev->mdev)" with type "unsigned short" (16 bits, unsigned) is promoted in "fw_rev_min(dev->mdev) << 16" to type "int" (32
MFC r341568: mlx5ib: Fix sign extension in mlx5_ib_query_device
"fw_rev_min(dev->mdev)" with type "unsigned short" (16 bits, unsigned) is promoted in "fw_rev_min(dev->mdev) << 16" to type "int" (32 bits, signed), then sign-extended to type "unsigned long" (64 bits, unsigned). If "fw_rev_min(dev->mdev) << 16" is greater than 0x7FFFFFFF, the upper bits of the result will all be 1.
Sponsored by: Mellanox Technologies
show more ...
|
| c1e38bea | 12-Dec-2018 |
Hans Petter Selasky <[email protected]> |
MFC r341554: mlx5: Raise fatal IB event when sys error occurs
All other mlx5_events report the port number as 1 based, which is how FW reports it in the port event EQE. Reporting 0 for this event ca
MFC r341554: mlx5: Raise fatal IB event when sys error occurs
All other mlx5_events report the port number as 1 based, which is how FW reports it in the port event EQE. Reporting 0 for this event causes mlx5_ib to not raise a fatal event notification to registered clients due to a seemingly invalid port.
All switch cases in mlx5_ib_event that go through the port check are supposed to set the port now, so just do it once at variable declaration.
Linux commit: aba462134634b502d720e15b23154f21cfa277e5
Sponsored by: Mellanox Technologies
show more ...
|
| 14a1b9bd | 17-Jul-2018 |
Hans Petter Selasky <[email protected]> |
Use static device naming instead of dynamic one in mlx5ib.
When resetting mlx5core instances it can happen that the order of attach and detach for mlx5ib instances is changed. Take the unit number f
Use static device naming instead of dynamic one in mlx5ib.
When resetting mlx5core instances it can happen that the order of attach and detach for mlx5ib instances is changed. Take the unit number for mlx5_%d from the parent PCI device, similarly to what is done in mlx5en(4), so that there is a direct relationship between mce<N> and mlx5_<N>.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| 118063fb | 08-Mar-2018 |
Hans Petter Selasky <[email protected]> |
Add support for explicit congestion notification, ECN, to mlx5ib(4).
ECN configuration and statistics is available through a set of sysctl(8) nodes under sys.class.infiniband.mlx5_X.cong . The ECN c
Add support for explicit congestion notification, ECN, to mlx5ib(4).
ECN configuration and statistics is available through a set of sysctl(8) nodes under sys.class.infiniband.mlx5_X.cong . The ECN configuration nodes can also be used as loader tunables.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|