aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_sched.c
diff options
context:
space:
mode:
authorBrett Creeley <[email protected]>2018-10-26 17:41:00 +0000
committerJeff Kirsher <[email protected]>2018-11-13 17:09:25 +0000
commit807bc98d31097bfe22fbf8236413db5490932456 (patch)
tree36ce112564a29a70a7fba8e8af7a99e7b2895b01 /drivers/net/ethernet/intel/ice/ice_sched.c
parentnet: phy: check if advertising is zero using linkmode_empty (diff)
downloadkernel-807bc98d31097bfe22fbf8236413db5490932456.tar.gz
kernel-807bc98d31097bfe22fbf8236413db5490932456.zip
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 <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.c')
0 files changed, 0 insertions, 0 deletions