[PATCH 6.1 132/196] net/mlx5: E-switch, register event handler before arming the event