HomeFreeBSD

nvme: Use routines from nvme_util.c to decode opcodes and status codes

Description

nvme: Use routines from nvme_util.c to decode opcodes and status codes

This reduces the number of duplicate string tables for NVMe opcodes
and status codes.

Adjust the formatting of unknown opcodes and status codes to more
closely match nvme(4).

Reviewed by: imp
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D50652

Details

Provenance
jhbAuthored on Jun 5 2025, 9:03 PM
Reviewer
imp
Differential Revision
D50652: nvme: Use routines from nvme_util.c to decode opcodes and status codes
Parents
rG60159a98a837: nvme: Move opcode and status code tables from base CAM to nvme_util.c
Branches
Unknown
Tags
Unknown