Page MenuHomeFreeBSD

bhyve: Consolidate NVMe CQ update
ClosedPublic

Authored by chuck on May 18 2020, 2:39 PM.

Details

Reviewers
jhb
imp
Group Reviewers
bhyve
Commits
rS362749: bhyve: Consolidate NVMe CQ update
Summary

Consolidate the code which writes Completion Queue entries and updates
the CQ doorbell value. While in the neighborhood, convert the "toggle CQ
phase bit" code to use an XOR operation instead of an "if/else" branch.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

chuck requested review of this revision.May 18 2020, 2:39 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jun 29 2020, 12:31 AM
This revision was automatically updated to reflect the committed changes.