HomeFreeBSD

nvme: Reduce traffic to the doorbell register

Description

nvme: Reduce traffic to the doorbell register

Reduce traffic to doorbell register when processing multiple completion
events at once. Only write it at the end of the loop after we've
processed everything (assuming we found at least one completion,
even if that completion wasn't valid).

Sponsored by: Netflix
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D32470

(cherry picked from commit 2ec165e3f065217ae8d54a2a8235fe1f219805ea)

Details

Provenance
impAuthored on Oct 14 2021, 2:44 PM
mavCommitted on Jan 21 2022, 2:07 AM
Reviewer
mav
Differential Revision
D32470: nvme: Reduce traffic to the doorbell register
Parents
rG13b711e8c829: nvme: Restore hotplug warning
Branches
Unknown
Tags
Unknown