Page MenuHomeFreeBSD

bhyve: fix NVMe queue creation and deletion
ClosedPublic

Authored by chuck on May 18 2020, 3:27 PM.
Tags
None
Referenced Files
F135904552: D24886.id71934.diff
Fri, Nov 14, 12:41 AM
Unknown Object (File)
Wed, Oct 22, 2:47 PM
Unknown Object (File)
Wed, Oct 22, 2:47 PM
Unknown Object (File)
Wed, Oct 22, 2:47 PM
Unknown Object (File)
Wed, Oct 22, 2:04 AM
Unknown Object (File)
Thu, Oct 16, 2:42 PM
Unknown Object (File)
Oct 14 2025, 11:38 PM
Unknown Object (File)
Oct 12 2025, 1:26 AM
Subscribers

Details

Summary

Add checks for various types of invalid I/O Queue Create and Delete
command parameters, including:

  • QID=0
  • QID>MAX
  • QID already in use
  • Delete an Active CQ
  • Invalid QSIZE
  • Invalid CQID (SQ creation)
  • Invalid interrupt vector (CQ creation)

Fixes UNH Tests 1.4.2-5,7-8

Test Plan

Run UNH IOL INTERACT tests

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chuck requested review of this revision.May 18 2020, 3:27 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.