Skip to content
Commit c8a8ca34 authored by Cristian Dumitrescu's avatar Cristian Dumitrescu Committed by Tony Nguyen
Browse files

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: default avatarCristian Dumitrescu <cristian.dumitrescu@intel.com>
Tested-by: default avatarKiran Bhandare <kiranx.bhandare@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 08cbabb7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment