Page MenuHomeFreeBSD

bhyve: Consolidate NVMe CQ update
Needs ReviewPublic

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

Details

Reviewers
jhb
imp
Group Reviewers
bhyve
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

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

chuck created this revision.Mon, May 18, 2:39 PM
chuck requested review of this revision.Mon, May 18, 2:39 PM
chuck updated this revision to Diff 71928.Mon, May 18, 2:41 PM

Fix missed style(9)