i40e: change message to only appear when extra debug info is wanted
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Tue, 8 Nov 2016 21:05:12 +0000 (13:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 3 Dec 2016 07:37:53 +0000 (23:37 -0800)
This patch changes an X722 informational message so that it only
appears when extra messages are desired.  Without this patch,
on X722 devices, this message appears at load, potentially causing
unnecessary alarm.

Change-ID: I94f7aae15dc5b2723cc9728c630c72538a3e670e
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c

index 594856d605ecc5de979848d683a3da92481979a6..5777e49ee9e440625d2dbe36caf5578d91787810 100644 (file)
@@ -3579,7 +3579,7 @@ static irqreturn_t i40e_intr(int irq, void *data)
            (ena_mask & I40E_PFINT_ICR0_ENA_PE_CRITERR_MASK)) {
                ena_mask &= ~I40E_PFINT_ICR0_ENA_PE_CRITERR_MASK;
                icr0 &= ~I40E_PFINT_ICR0_ENA_PE_CRITERR_MASK;
-               dev_info(&pf->pdev->dev, "cleared PE_CRITERR\n");
+               dev_dbg(&pf->pdev->dev, "cleared PE_CRITERR\n");
        }
 
        /* only q0 is used in MSI/Legacy mode, and none are used in MSIX */