OSDN Git Service

fm10k: only warn when stop_hw fails with FM10K_ERR_REQUESTS_PENDING
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 7 Jun 2016 23:08:50 +0000 (16:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 20 Jul 2016 22:22:12 +0000 (15:22 -0700)
commit106ca42356b49a1ae6199e6630ec40df82ff7421
tree1c62f2d13751b492121ca0a9e23721d42972f0e9
parent34bad71c7c25840cd78dff12d75497d3aab5544d
fm10k: only warn when stop_hw fails with FM10K_ERR_REQUESTS_PENDING

When stop_hw() routine fails with FM10K_ERR_REQUESTS_PENDING, this
indicates that the Tx or Rx queues did not shutdown within the time
limit. Print a more suitable message at the dev_info level instead of
dev_err.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c