libnvme(2)
π libnvme(2) β enum nvme_admin_opcode π
okay so bestie, welcome to page libnvme(2) from the libnvme API Manual πΈ β this one's all about the admin opcodes, and honestly? it's a whole vibe. it's a little glossary, a little cheat sheet, a little "here's every single admin command your NVMe controller might get handed." no cap.
β¨ NAME β¨
enum nvme_admin_opcode β the known NVMe admin opcodes π
like, the ones we know about, fr fr.
β¨ SYNOPSIS β¨
enum nvme_admin_opcode {
nvme_admin_delete_sq ,
nvme_admin_create_sq ,
nvme_admin_get_log_page ,
nvme_admin_delete_cq ,
nvme_admin_create_cq ,
nvme_admin_identify ,
nvme_admin_abort_cmd ,
nvme_admin_set_features ,
nvme_admin_get_features ,
nvme_admin_async_event ,
nvme_admin_ns_mgmt ,
nvme_admin_fw_commit ,
nvme_admin_fw_activate ,
nvme_admin_fw_download ,
nvme_admin_dev_self_test ,
nvme_admin_ns_attach ,
nvme_admin_keep_alive ,
nvme_admin_directive_send ,
nvme_admin_directive_recv ,
nvme_admin_virtual_mgmt ,
nvme_admin_nvme_mi_send ,
nvme_admin_nvme_mi_recv ,
nvme_admin_capacity_mgmt ,
nvme_admin_discovery_info_mgmt ,
nvme_admin_fabric_zoning_recv ,
nvme_admin_lockdown ,
nvme_admin_fabric_zoning_lookup ,
nvme_admin_clear_export_nvm_res ,
nvme_admin_fabric_zoning_send ,
nvme_admin_create_export_nvms ,
nvme_admin_manage_export_nvms ,
nvme_admin_manage_export_ns ,
nvme_admin_manage_export_port ,
nvme_admin_send_disc_log_page ,
nvme_admin_track_send ,
nvme_admin_track_receive ,
nvme_admin_migration_send ,
nvme_admin_migration_receive ,
nvme_admin_ctrl_data_queue ,
nvme_admin_dbbuf ,
nvme_admin_fabrics ,
nvme_admin_format_nvm ,
nvme_admin_security_send ,
nvme_admin_security_recv ,
nvme_admin_sanitize_nvm ,
nvme_admin_load_program ,
nvme_admin_get_lba_status ,
nvme_admin_program_act_mgmt ,
nvme_admin_mem_range_set_mgmt
};
π Constants π
okay here's the whole crew, one by one, exactly as they're listed. no skipping, we don't do that here π
nvme_admin_delete_sqβ Delete I/O Submission Queue ποΈnvme_admin_create_sqβ Create I/O Submission Queue β¨nvme_admin_get_log_pageβ Get Log Page πnvme_admin_delete_cqβ Delete I/O Completion Queue ποΈnvme_admin_create_cqβ Create I/O Completion Queue β¨nvme_admin_identifyβ Identify π΅οΈnvme_admin_abort_cmdβ Abort πnvme_admin_set_featuresβ Set Features ποΈnvme_admin_get_featuresβ Get Features ποΈnvme_admin_async_eventβ Asynchronous Event Request πnvme_admin_ns_mgmtβ Namespace Management ποΈnvme_admin_fw_commitβ Firmware Commit πΎnvme_admin_fw_activateβ Firmware Commit πΎ
okay yes, bestie,nvme_admin_fw_commitandnvme_admin_fw_activateboth say "Firmware Commit" in the source. that's literally what the page says. i am not editing the lore, i'm just reporting it π«Ά
nvme_admin_fw_downloadβ Firmware Image Download β¬οΈπΎnvme_admin_dev_self_testβ Device Self-test π§ͺnvme_admin_ns_attachβ Namespace Attachment πnvme_admin_keep_aliveβ Keep Alive πnvme_admin_directive_sendβ Directive Send π€nvme_admin_directive_recvβ Directive Receive π₯nvme_admin_virtual_mgmtβ Virtualization Management π₯οΈnvme_admin_nvme_mi_sendβ NVMe-MI Send π€nvme_admin_nvme_mi_recvβ NVMe-MI Receive π₯nvme_admin_capacity_mgmtβ Capacity Management π¦nvme_admin_discovery_info_mgmtβ Discovery Information Management (DIM) πnvme_admin_fabric_zoning_recvβ Fabric Zoning Receive π₯nvme_admin_lockdownβ Lockdown πnvme_admin_fabric_zoning_lookupβ Fabric Zoning Lookup πnvme_admin_clear_export_nvm_resβ Clear Exported NVM Resource Configuration π§Ήnvme_admin_fabric_zoning_sendβ Fabric Zoning Send π€nvme_admin_create_export_nvmsβ Create Exported NVM Subsystem β¨nvme_admin_manage_export_nvmsβ Manage Exported NVM Subsystem ποΈnvme_admin_manage_export_nsβ Manage Exported Namespace ποΈnvme_admin_manage_export_portβ Manage Exported Port πnvme_admin_send_disc_log_pageβ Send Discovery Log Page ππ€nvme_admin_track_sendβ Track Send π€nvme_admin_track_receiveβ Track Receive π₯nvme_admin_migration_sendβ Migration Send πnvme_admin_migration_receiveβ Migration Receive πnvme_admin_ctrl_data_queueβ Controller Data Queue π―nvme_admin_dbbufβ Doorbell Buffer Config πnvme_admin_fabricsβ Fabrics Commands π§΅nvme_admin_format_nvmβ Format NVM π§½nvme_admin_security_sendβ Security Send ππ€nvme_admin_security_recvβ Security Receive ππ₯nvme_admin_sanitize_nvmβ Sanitize π§Όnvme_admin_load_programβ Load Program π²nvme_admin_get_lba_statusβ Get LBA Status πnvme_admin_program_act_mgmtβ Program Activation Management βοΈnvme_admin_mem_range_set_mgmtβ Memory Range Set Management π§
and that's the whole list, top to bottom, zero skips, we ate that π
okay byeee bestie π this was page libnvme(2) from the libnvme API Manual β filed under enum nvme_admin_opcode, stamped July 2026. go talk to your controller, she's waiting πβ¨
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms