diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2019-05-08 11:09:08 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2019-05-08 11:09:08 +0000 |
| commit | 8d1eeedb5d30c0e144877fb341e47cea83d62596 (patch) | |
| tree | 7228c679b7ba6c219fb730252d266e0aa62787ff /sys/dev/mlx5/driver.h | |
| parent | cf551f955ddc8c656eb805f20028295d940352b6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/mlx5/driver.h')
| -rw-r--r-- | sys/dev/mlx5/driver.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/mlx5/driver.h b/sys/dev/mlx5/driver.h index 674d6a42cb3b1..9c1d5120c0684 100644 --- a/sys/dev/mlx5/driver.h +++ b/sys/dev/mlx5/driver.h @@ -56,7 +56,6 @@ enum { enum { MLX5_CMD_TIMEOUT_MSEC = 60 * 1000, - MLX5_CMD_WQ_MAX_NAME = 32, }; enum { @@ -353,8 +352,6 @@ struct mlx5_cmd { spinlock_t token_lock; u8 token; unsigned long bitmask; - char wq_name[MLX5_CMD_WQ_MAX_NAME]; - struct workqueue_struct *wq; struct semaphore sem; struct semaphore pages_sem; enum mlx5_cmd_mode mode; @@ -516,6 +513,7 @@ struct mlx5_core_health { struct delayed_work recover_work; unsigned int last_reset_req; struct work_struct work_cmd_completion; + struct workqueue_struct *wq_cmd; }; #ifdef RATELIMIT |
