OSDN Git Service

i40e: change Rx hang message into a WARN_ONCE
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 3 May 2016 22:13:15 +0000 (15:13 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 14 May 2016 06:44:59 +0000 (23:44 -0700)
commitc420815d12b744ad8cf9312af13af794bad48216
treeec9bdfebbe33105d0f5e534fdd069dd670b66981
parent06566e5dd4e53f57fc3daa12fb8b5252772d70de
i40e: change Rx hang message into a WARN_ONCE

Use WARN_ONCE in order to highlight the issue, but don't display
a warning every time. The user should be able to see the ethtool counter
we created if necessary to see how often it is occurring.

Change-ID: I40c4ea159819b64a7d33b7f5716749089791533a
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ptp.c