diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-03-23 17:33:14 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-03-23 17:33:14 +0000 |
| commit | 4bb7662b09a388a72b6ef207e5bde0920da03ac8 (patch) | |
| tree | b9a26affb79d28a02f7c937ba2bcb1ccb79441a1 /sys/dev/mlx5/driver.h | |
| parent | ad448975e6282fd5d663e6850ff8105fd794af33 (diff) | |
Notes
Diffstat (limited to 'sys/dev/mlx5/driver.h')
| -rw-r--r-- | sys/dev/mlx5/driver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mlx5/driver.h b/sys/dev/mlx5/driver.h index 6a26fc9c58567..0300a25ae00bc 100644 --- a/sys/dev/mlx5/driver.h +++ b/sys/dev/mlx5/driver.h @@ -498,6 +498,7 @@ struct mlx5_core_health { struct workqueue_struct *wq; unsigned long flags; struct work_struct work; + struct delayed_work recover_work; }; #define MLX5_CQ_LINEAR_ARRAY_SIZE 1024 @@ -887,6 +888,7 @@ int mlx5_health_init(struct mlx5_core_dev *dev); void mlx5_start_health_poll(struct mlx5_core_dev *dev); void mlx5_stop_health_poll(struct mlx5_core_dev *dev); void mlx5_drain_health_wq(struct mlx5_core_dev *dev); +void mlx5_trigger_health_work(struct mlx5_core_dev *dev); #define mlx5_buf_alloc_node(dev, size, direct, buf, node) \ mlx5_buf_alloc(dev, size, direct, buf) |
