summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2018-05-09 17:24:40 +0100
committerDavid S. Miller <davem@davemloft.net>2018-05-10 17:27:10 -0400
commitbeebca3a911051a5f4d359ed64b0375a83d42490 (patch)
tree734479094edf28b0a8c4b5acfe3954db60cd3a61 /tools/perf/scripts/python/export-to-postgresql.py
parent0a78a1dfd17a05d377115d6352d12d5507a27994 (diff)
net: hns3: fix for cleaning ring problem
The head or tail in hardware is not longer valid when resetting, current hns3_clear_all_ring use them to clean the ring, which will cause problem during resetting. This patch fixes it by using next_to_use and next_to_clean in the ring struct. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@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