ixgbevf: only check Tx queue enablement when debugging
authorEmil Tantilov <[email protected]>
Fri, 29 Jul 2016 17:30:16 +0000 (10:30 -0700)
committerJeff Kirsher <[email protected]>
Fri, 19 Aug 2016 05:46:47 +0000 (22:46 -0700)
Following a write the VFTXDCTL.ENABLE bit is set only when the Tx queue
is actually enabled, which may not happen during the configure phase even
if we waited for it. Make this check debug only since this is causing
confusion with users who notice the warning in dmesg.

Signed-off-by: Emil Tantilov <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c

index 8d4f535b9e9248f114f3cb6f19ecfb66207e0451..4044608083cdc18ef05db586a0b4203cd02d93bb 100644 (file)
@@ -1612,7 +1612,7 @@ static void ixgbevf_configure_tx_ring(struct ixgbevf_adapter *adapter,
                txdctl = IXGBE_READ_REG(hw, IXGBE_VFTXDCTL(reg_idx));
        }  while (--wait_loop && !(txdctl & IXGBE_TXDCTL_ENABLE));
        if (!wait_loop)
-               pr_err("Could not enable Tx Queue %d\n", reg_idx);
+               hw_dbg(hw, "Could not enable Tx Queue %d\n", reg_idx);
 }
 
 /**