aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorAlexander Duyck <[email protected]>2017-02-06 18:25:50 -0800
committerJeff Kirsher <[email protected]>2017-03-17 12:11:44 -0700
commitd2bead576e67c34fe9ea174bb245254d0fe237b5 (patch)
treeef6ec3767553e886f4e8144aa3238bbecff2eca4 /tools/perf/scripts/python/stat-cpi.py
parent7ec0116c9131a8cd58dc456ae2bd5bc9976460d1 (diff)
igb: Clear Rx buffer_info in configure instead of clean
This change makes it so that instead of going through the entire ring on Rx cleanup we only go through the region that was designated to be cleaned up and stop when we reach the region where new allocations should start. In addition we can avoid having to perform a memset on the Rx buffer_info structures until we are about to start using the ring again. By deferring this we can avoid dirtying the cache any more than we have to which can help to improve the time needed to bring the interface down and then back up again in a reset or suspend/resume cycle. Signed-off-by: Alexander Duyck <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions