aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2019-10-19 16:03:51 +0800
committerDavid S. Miller <[email protected]>2019-10-21 09:22:09 -0700
commit88b7c58c199dd231fd87703f4a6209eec60ab138 (patch)
tree07a5cb0e1334c3bbded477faf9ffbb1ae0441ecf /tools/perf/scripts/python/stat-cpi.py
parent0e02a53d64b470b96739189c015f6d9225c11587 (diff)
net: hns3: minor optimization for barrier in IO path
Currently, the TX and RX ring in a queue is bounded to the same IRQ, there may be unnecessary barrier op when only one of the ring need to be processed. This patch adjusts the location of rmb() in hns3_clean_tx_ring() and adds a checking in hns3_clean_rx_ring() to avoid unnecessary barrier op when there is nothing to do for the ring. Signed-off-by: Yunsheng Lin <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions