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

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 <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 ee95053f78ee6883a6aeb75e346346adc0f4aded)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c

index f9dd54e976f809a56327499d530c95aa6adab846..8a2b3f5a886c3f1f9023c2846b41ded2cf9d9ddb 100644 (file)
@@ -1608,7 +1608,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);
 }
 
 /**