diff options
author | 2019-06-28 19:50:07 +0800 | |
---|---|---|
committer | 2019-06-28 09:39:49 -0700 | |
commit | f96315f2f17e7b2580d2fec7c4d6a706a131d904 (patch) | |
tree | 43d6e29725a32cad696c56f22040ce210f8eae02 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'Better-PHYLINK-compliance-for-SJA1105-DSA' (diff) | |
download | wireguard-linux-f96315f2f17e7b2580d2fec7c4d6a706a131d904.tar.xz wireguard-linux-f96315f2f17e7b2580d2fec7c4d6a706a131d904.zip |
net: hns3: fix __QUEUE_STATE_STACK_XOFF not cleared issue
When change MTU or other operations, which just calling .reset_notify
to do HNAE3_DOWN_CLIENT and HNAE3_UP_CLIENT, then
the netdev_tx_reset_queue() in the hns3_clear_all_ring() will be
ignored. So the dev_watchdog() may misdiagnose a TX timeout.
This patch separates netdev_tx_reset_queue() from
hns3_clear_all_ring(), and unifies hns3_clear_all_ring() and
hns3_force_clear_all_ring into one, since they are doing
similar things.
Fixes: 3a30964a2eef ("net: hns3: delay ring buffer clearing during reset")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions