/*- * SPDX-License-Identifier: BSD-2-Clause * * Copyright (C) 2012-2014 Intel Corporation * All rights reserved. * * Copyright (c) 2023 Chelsio Communications, Inc. */ #include #include #ifndef _KERNEL #include #include #endif #include #include #include #include void ctl_nvme_command_string(struct ctl_nvmeio *ctnio, struct sbuf *sb) { nvme_opcode_sbuf(ctnio->io_hdr.io_type == CTL_IO_NVME_ADMIN, ctnio->cmd.opc, sb); } void ctl_nvme_status_string(struct ctl_nvmeio *ctnio, struct sbuf *sb) { nvme_cpl_sbuf(&ctnio->cpl, sb); }