Page MenuHomeFreeBSD

bhyve: refactor NVMe IO command handling
ClosedPublic

Authored by chuck on May 18 2020, 1:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 30, 4:57 PM
Unknown Object (File)
Wed, Mar 27, 10:57 PM
Unknown Object (File)
Mar 3 2024, 6:25 AM
Unknown Object (File)
Jan 12 2024, 6:39 PM
Unknown Object (File)
Dec 23 2023, 12:51 AM
Unknown Object (File)
Nov 19 2023, 2:44 PM
Unknown Object (File)
Nov 19 2023, 1:18 PM
Unknown Object (File)
Sep 6 2023, 1:31 PM
Subscribers

Details

Summary

This refactors the NVMe I/O command processing function to make adding
new commands easier. The main change is to move command specific
processing (i.e. Read/Write) to separate functions for each NVMe I/O
command and leave the common per-command processing in the existing
pci_nvme_handle_io_cmd() function.

While here, add checks for some common errors (invalid Namespace ID,
invalid opcode, LBA out of range).

Add myself to the Copyright holders

Test Plan

Ran fio and proprietary storage validation tool in a Linux guest

Diff Detail

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