diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2017-05-30 10:29:12 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 10:35:15 -0400 |
commit | 246ac9814c5b2c0e9916dca5fbf8d6a40245fad1 (patch) | |
tree | 1beb69d8b1c01c5d50d1b21a98cb30c6e3f4e5bf /include/linux/mlx5/driver.h | |
parent | c1e0bfc1312d0e06bdb24e6e4e7e10b0b4313ec6 (diff) | |
download | linux-246ac9814c5b2c0e9916dca5fbf8d6a40245fad1.tar.gz linux-246ac9814c5b2c0e9916dca5fbf8d6a40245fad1.tar.bz2 linux-246ac9814c5b2c0e9916dca5fbf8d6a40245fad1.zip |
net/mlx5: Introduce general notification event
When delay drop timeout is expired, the firmware raises
general notification event of DELAY_DROP_TIMEOUT subtype.
In addition the feature is disable so the driver have to
reactivate the timeout.
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx5/driver.h')
-rw-r--r-- | include/linux/mlx5/driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 54221be5f69e..758ef40f9316 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -192,6 +192,7 @@ enum mlx5_dev_event { MLX5_DEV_EVENT_GUID_CHANGE, MLX5_DEV_EVENT_CLIENT_REREG, MLX5_DEV_EVENT_PPS, + MLX5_DEV_EVENT_DELAY_DROP_TIMEOUT, }; enum mlx5_port_status { |