[MLX4] changed severity level for informational messages about Soft Reset from ERROR...
[mirror/winof/.git] / hw / mlx4 / kernel / bus / net / catas.c
index 2c287aa..ddc70cd 100644 (file)
@@ -302,10 +302,10 @@ int mlx4_reset_execute( struct ib_event_handler *event_handler )
        get_event_handlers(ibdev, &tlist);
 
        // restart the device
-       mlx4_err(pdev->dev, "\n Performing HCA restart ... \n\n");
+       mlx4_info(pdev->dev, "\n Performing HCA restart ... \n\n");
+       WriteEventLogEntryData( pdev->p_self_do, (ULONG)EVENT_MLX4_INFO_RESET_START, 0, 0, 0 );
        err = mlx4_restart_one(pdev);
        if (err || mlx4_is_livefish(pdev->dev)) {
-               mlx4_err(pdev->dev, "\n HCA restart failed ! \n\n");
                event.event = IB_EVENT_RESET_FAILED;
                mlx4_err(pdev->dev, "\n HCa restart failed. \n\n");
        }
@@ -313,7 +313,8 @@ int mlx4_reset_execute( struct ib_event_handler *event_handler )
                // recreate interfaces
                fix_bus_ifc(pdev);
                event.event = IB_EVENT_RESET_END;
-               mlx4_err(pdev->dev, "\n HCA restart finished. Notifying the clients ... \n\n");
+               mlx4_info(pdev->dev, "\n HCA restart finished. Notifying the clients ... \n\n");
+               WriteEventLogEntryData( pdev->p_self_do, (ULONG)EVENT_MLX4_INFO_RESET_END, 0, 0, 0 );
        }
 
        // notify the clients