Commit c966c67c authored by Michael Chan's avatar Michael Chan Committed by Jakub Kicinski
Browse files

bnxt_en: Log event_data1 and event_data2 when handling RESET_NOTIFY event.

parent 03ab8ca1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2032,6 +2032,9 @@ static int bnxt_async_event_process(struct bnxt *bp,
		set_bit(BNXT_RESET_TASK_SILENT_SP_EVENT, &bp->sp_event);
		break;
	case ASYNC_EVENT_CMPL_EVENT_ID_RESET_NOTIFY:
		if (netif_msg_hw(bp))
			netdev_warn(bp->dev, "Received RESET_NOTIFY event, data1: 0x%x, data2: 0x%x\n",
				    data1, data2);
		if (!bp->fw_health)
			goto async_event_process_exit;