OSDN Git Service

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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Aug 2016 05:46:47 +0000 (22:46 -0700)
commitee95053f78ee6883a6aeb75e346346adc0f4aded
treeb3ccc2501489056f3b809c088fe2b2aa728d0046
parent4ad6af0237fd3a2ab8e8ef8a43f7fe4bb3787718
ixgbevf: only check Tx queue enablement when debugging

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>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c