libnvme(2)

πŸ’– NAME πŸ’–

struct nvme_fw_commit_event β€” bestie, it's the Firmware Commit Event Data struct, and it's about to spill ALL the tea about what happened when somebody tried to commit some firmware πŸ‘‘

Also hi, this is a page from the libnvme manual, section 2 β€” the API manual, so like, programmer hours, not shell hours 🌸


✨ SYNOPSIS ✨

The way this struct just... walks in and declares itself. No cap, here's the whole thing, character for character, don't touch a single one:

struct nvme_fw_commit_event {
    __le64 old_fw_rev;
    __le64 new_fw_rev;
    __u8 fw_commit_action;
    __u8 fw_slot;
    __u8 sct_fw;
    __u8 sc_fw;
    __le16 vndr_assign_fw_commit_rc;
 };

Look at that little family πŸ₯Ή Seven members. Seven. Each one carrying a whole story.


πŸ¦‹ Members πŸ¦‹

Okay so let's go through them one by one, no skips, no skimming, I see you trying to skim πŸ‘€

  • old_fw_rev β€” the Old Firmware Revision. Like, the firmware you were rocking before. The before picture πŸ“Έ
  • new_fw_rev β€” the New Firmware Revision. The glow-up. The after picture. Iconic.
  • fw_commit_action β€” the Firmware Commit Action. What did the commit command actually do, bestie? This one knows.
  • fw_slot β€” the Firmware Slot. Which slot got picked for the whole operation πŸŽ€
  • sct_fw β€” Status Code Type for Firmware Commit Command. Yes, it's the type. Sct. Say it with me.
  • sc_fw β€” Status Returned for Firmware Commit Command. This is the actual status, not the type. Very different girlies, don't mix them up πŸ’…
  • vndr_assign_fw_commit_rc β€” Vendor Assigned Firmware Commit Result Code. The vendor gets a lil say in the result code. It's giving "I did my own thing" energy. Periodt.
Not me double-checking that I kept every single member exactly as written… lowkey obsessed with getting this right 🫢

πŸ’€ Quick vibe check πŸ’€

Every field here is exactly what the original says and nothing more, because I'm not about to invent behaviour that isn't in the source. If it's not in the struct, it's not in the page. Facts stay facts, ~aesthetic~ stays aesthetic 🌈


kisses, this was struct nvme_fw_commit_event in libnvme(2), dated July 2026 β€” that's the manual's name and that's the date stamp, folded in all cute at the bottom like a lil signature πŸ’œβœ¨ mwah, go commit some firmware (carefully!!) πŸŽ€

πŸ“¦ where this page comes from