]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ixgbe: only check Tx queue enablement when debugging
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 29 Jul 2016 17:30:06 +0000 (10:30 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 25 Feb 2017 05:47:53 +0000 (21:47 -0800)
Orabug: 24568240

Following a write the TXDCTL.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 <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit a55defd897cb2b4d96fedd81e2d5513d83ff339e)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c

index 76ebf94f92dfc9a48c9807ef5d4563fc28c4a472..149725f9311e53ba5c894d8e76ce397865fd84fe 100644 (file)
@@ -3225,7 +3225,7 @@ void ixgbe_configure_tx_ring(struct ixgbe_adapter *adapter,
                txdctl = IXGBE_READ_REG(hw, IXGBE_TXDCTL(reg_idx));
        } while (--wait_loop && !(txdctl & IXGBE_TXDCTL_ENABLE));
        if (!wait_loop)
-               e_err(drv, "Could not enable Tx Queue %d\n", reg_idx);
+               hw_dbg(hw, "Could not enable Tx Queue %d\n", reg_idx);
 }
 
 static void ixgbe_setup_mtqc(struct ixgbe_adapter *adapter)