aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>2021-01-14 14:33:15 +0000
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-02-08 17:19:03 -0800
commitc8a8ca3408dcd28461d9bc8bceaf981e639272de (patch)
tree5e149b07ad1fbf73fc60def035f923ae88593e83 /tools/perf/scripts
parentMerge tag 'mlx5-updates-2021-02-04' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadlinux-c8a8ca3408dcd28461d9bc8bceaf981e639272de.tar.gz
linux-c8a8ca3408dcd28461d9bc8bceaf981e639272de.zip
i40e: remove unnecessary memory writes of the next to clean pointer
For performance reasons, avoid writing the ring next-to-clean pointer value back to memory on every update, as it is not really necessary. Instead, simply read it at initialization into a local copy, update the local copy as necessary and write the local copy back to memory after the last update. Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Tested-by: Kiran Bhandare <kiranx.bhandare@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions