| 76d90eee | 10-Oct-2019 |
Hans Petter Selasky <[email protected]> |
MFS r353405: Fix regression issue after r352989:
As noted by the commit message, callouts are now persistant and should not be in the auto-zero section of the RQ's and SQ's. This fixes an assert whe
MFS r353405: Fix regression issue after r352989:
As noted by the commit message, callouts are now persistant and should not be in the auto-zero section of the RQ's and SQ's. This fixes an assert when using the TX completion event factor feature with mlx5en(4).
Found by: gallatin@ Sponsored by: Mellanox Technologies Approved by: re (gjb)
show more ...
|
| a8e62ea8 | 16-May-2019 |
Hans Petter Selasky <[email protected]> |
MFC r347323: Fix race between driver unload and dumping firmware in mlx5core.
Present code uses lock-less accesses to the dump data to prevent top level ioctls from blocking bottom-level call to dum
MFC r347323: Fix race between driver unload and dumping firmware in mlx5core.
Present code uses lock-less accesses to the dump data to prevent top level ioctls from blocking bottom-level call to dump. Unfortunately, this depends on the type stability of the dump data structure, which makes it non-functional during driver teardown.
Switch to the mutex locking scheme where top levels use the mutex in the bound regions, while copyouts and drain for completion utilize condvars. The mutex lifetime is guaranteed to be strictly larger than the time interval where driver can initiate dump, and most of the control fields of the old struct mlx5_dump_data are directly embedded into struct mlx5_core_dev.
Submitted by: kib@ Sponsored by: Mellanox Technologies
show more ...
|
| f4b70841 | 16-May-2019 |
Hans Petter Selasky <[email protected]> |
MFC r347319: Flush command workqueue when command completion is triggered in mlx5core.
Avoid race for command completion when triggering a command completions event. Serialize operation by queueing
MFC r347319: Flush command workqueue when command completion is triggered in mlx5core.
Avoid race for command completion when triggering a command completions event. Serialize operation by queueing all commands on the same work queue. This can happen when healthcare triggers.
Sponsored by: Mellanox Technologies
show more ...
|
| 00990819 | 16-May-2019 |
Hans Petter Selasky <[email protected]> |
MFC r347318: Make command timeout way shorter in mlx5core.
The command timeout is terribly long, whole two hours. Make it 60s so if things do go wrong, the user gets feedback in relatively short tim
MFC r347318: Make command timeout way shorter in mlx5core.
The command timeout is terribly long, whole two hours. Make it 60s so if things do go wrong, the user gets feedback in relatively short time, so they can take corrective actions and/or investigate using tools and such.
Linux commit: 6b6c07bdcdc97ccac2596063bfc32a5faddfe884
Sponsored by: Mellanox Technologies
show more ...
|
| b515d56e | 16-May-2019 |
Hans Petter Selasky <[email protected]> |
MFC r347308: Extend the counters framework in mlx5en(4).
Allow more macro arguments and split the variable type and name into separate arguments. This allows simple and powerful copy and extraction
MFC r347308: Extend the counters framework in mlx5en(4).
Allow more macro arguments and split the variable type and name into separate arguments. This allows simple and powerful copy and extraction of values from IFC based structures into SYSCTLs with the use of a single macro.
Sponsored by: Mellanox Technologies
show more ...
|
| d1bed300 | 16-May-2019 |
Hans Petter Selasky <[email protected]> |
MFC r347306: Implement reading PCI power status in mlx5core.
Implement a watchdog as part of the healtcare subsystem which reads the PCI power status during startup and upon the PCI power status cha
MFC r347306: Implement reading PCI power status in mlx5core.
Implement a watchdog as part of the healtcare subsystem which reads the PCI power status during startup and upon the PCI power status change event and store it into the core device structure. This value is then exported to user-space via a read-only SYSCTL. A dmesg print has been added to inform the admin about the PCI power status.
Sponsored by: Mellanox Technologies
show more ...
|
| 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 ...
|