aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2018-05-09 17:24:40 +0100
committerDavid S. Miller <[email protected]>2018-05-10 17:27:10 -0400
commitbeebca3a911051a5f4d359ed64b0375a83d42490 (patch)
tree734479094edf28b0a8c4b5acfe3954db60cd3a61 /tools/perf/scripts/python
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 <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: Salil Mehta <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions