diff options
author | Cristian Dumitrescu <cristian.dumitrescu@intel.com> | 2021-01-14 14:33:15 +0000 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-02-08 17:19:03 -0800 |
commit | c8a8ca3408dcd28461d9bc8bceaf981e639272de (patch) | |
tree | 5e149b07ad1fbf73fc60def035f923ae88593e83 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 08cbabb77e9098ec6c4a35911effac53e943c331 (diff) |
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/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions