diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2018-11-26 14:39:03 -0800 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-11-29 16:40:31 -0800 |
commit | cb6191bf25f755f47593fc40b8fd39d3eedde884 (patch) | |
tree | ae7773b17ba0996711f5c1ffecc110e94343ccae /drivers | |
parent | 134e9349ecf0e23c954e205a31f5b665ce25e5f6 (diff) | |
download | linux-stable-cb6191bf25f755f47593fc40b8fd39d3eedde884.tar.gz linux-stable-cb6191bf25f755f47593fc40b8fd39d3eedde884.tar.bz2 linux-stable-cb6191bf25f755f47593fc40b8fd39d3eedde884.zip |
net/mlx5: Allow forwarding event type general event as is
FW general event is used by mlx5_ib for RQ delay drop timeout event
handling, in this patch we allow to forward FW general event type to mlx5
notifiers chain so mlx5_ib can handle it and to deprecate the software
version of it.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/events.c b/drivers/net/ethernet/mellanox/mlx5/core/events.c index ab66f5d65a04..735a9b038a73 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/events.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/events.c @@ -36,6 +36,7 @@ static struct mlx5_nb events_nbs_ref[] = { /* Events to be forwarded (as is) to mlx5 core interfaces (mlx5e/mlx5_ib) */ {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_PORT_CHANGE }, + {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_GENERAL_EVENT }, }; struct mlx5_events { |