SVNews r330600

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-07 14:41:29 - r330600 by hselasky (Hans Petter Selasky)

Complete list of files affected by revision r330600:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/dev/mlx5/driver.h  
  History   Contents   Diff   MODIFY   /head/sys/dev/mlx5/mlx5_core/mlx5_cmd.c  

Commit message:

Add timeout handle to commands with callback in mlx5core.

The current implementation does not handle timeout in case of command
with callback request, and this can lead to deadlock if the command
doesn't get firmware response. Add delayed callback timeout work
before posting the command to firmware. In case of real firmware
command completion we will cancel the delayed work. In case of
firmware command timeout the callback timeout handler will be called
and it will simulate firmware completion with timeout error.

linux commit 65ee67084589c1783a74b4a4a5db38d7264ec8b5

MFC after: 1 week
Sponsored by: Mellanox Technologies


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 8 ms, 2 files printed. Current time is 2018-03-24 13:54:00. All times are in UTC/GMT.