aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2019-04-19 11:05:40 +0800
committerDavid S. Miller <[email protected]>2019-04-19 18:43:15 -0700
commitbeab694aa32afb7c785c55f075628d9a21ed8011 (patch)
tree9c032109fbb9faff0a9dcdbf972f86071ef9afa0 /tools/perf/scripts/python/net_dropmonitor.py
parentfbf3cd3fc11ce80270a80e65a75e4e32a56a5a7d (diff)
net: hns3: refine tx timeout count handle
In current codes, tx_timeout_cnt is used before increased, then we can see the tx_timeout_count is still 0 from the print when tx timeout happens, e.g. "hns3 0000:7d:00.3 eth3: tx_timeout count: 0, queue id: 0, SW_NTU: 0xa6, SW_NTC: 0xa4, HW_HEAD: 0xa4, HW_TAIL: 0xa6, INT: 0x1" The tx_timeout_cnt should be updated before used. Signed-off-by: Jian Shen <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions