Commit cb6191bf authored by Saeed Mahameed's avatar Saeed Mahameed
Browse files

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: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 134e9349
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 {