summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_sched.h
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2018-10-26 10:41:00 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-11-13 09:09:25 -0800
commit807bc98d31097bfe22fbf8236413db5490932456 (patch)
tree36ce112564a29a70a7fba8e8af7a99e7b2895b01 /drivers/net/ethernet/intel/ice/ice_sched.h
parent3e536cff34244959c81575733c9ca60633f74e1b (diff)
downloadlinux-807bc98d31097bfe22fbf8236413db5490932456.tar.bz2
ice: Fix debug print in ice_tx_timeout
Currently the debug print in ice_tx_timeout is printing useless and duplicate values. First, head is being assigned to tx_ring->next_to_clean and we are printing both of those values, but naming them HWB and NTC respectively. Also, reading tail always returns 0 so remove that as well. Instead of assigning the SW head (NTC) read to head, use the actual head register and change the debug print to note that this is HW_HEAD. Also reduce the scope of a couple variables. Signed-off-by: Brett Creeley <brett.creeley@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.h')
0 files changed, 0 insertions, 0 deletions