STRUCT DEVLINK_FLASH_NOTIFY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual entry for struct devlink_flash_notify πŸ’… this one's from the kernel docs, and it's genuinely so useful β€” it's the lil bundle of data that tells userland what's happening while a firmware flash is going down. no cap.


🌸 NAME 🌸

struct devlink_flash_notify β€” the devlink dev flash notify data πŸŽ€ like, the actual payload of "hey userland, here's what's up with your flash" πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

struct devlink_flash_notify {
    const char *status_msg;
    const char *component;
    unsigned long done;
    unsigned long total;
    unsigned long timeout;
 };

look at her, five fields, absolutely iconic πŸ‘‘


πŸ’œ Members πŸ’œ

  • status_msg β€” the current status string 🫢 literally a little text blurb saying what's happening right now.
  • component β€” the firmware component that's being updated ✨ which lil piece of firmware is getting its glow-up.
  • done β€” how much work has been completed out of the total amount 🌈 progress-bar energy fr fr.
  • total β€” the total amount of work that's expected to be done 🌸 so you know what done is counting toward.
  • timeout β€” the expected max timeout, in seconds ⏳ like, how long this should take at most.

πŸ”₯ Description πŸ”₯

so these are the values you hand off to userland so it can display them and show the current activity in a firmware update process πŸ’… that's it, that's the whole vibe β€” it's the data layer of a live progress readout while the firmware update is doing its thing. main character energy for the progress bar, honestly πŸŽ€


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/net/devlink.h β€” and then the whole devlink extended family, because they all roll together 🫢:

  • struct devlink_port_pci_pf_attrs(9)
  • struct devlink_port_pci_vf_attrs(9)
  • struct devlink_port_pci_sf_attrs(9)
  • struct devlink_port_attrs(9)
  • struct devlink_linecard_ops(9)
  • struct devlink_dpipe_field(9)
  • struct devlink_dpipe_header(9)
  • struct devlink_dpipe_match(9)
  • struct devlink_dpipe_action(9)
  • struct devlink_dpipe_value(9)
  • struct devlink_dpipe_entry(9)
  • struct devlink_dpipe_dump_ctx(9)
  • struct devlink_dpipe_table(9)
  • struct devlink_dpipe_table_ops(9)
  • struct devlink_dpipe_headers(9)
  • struct devlink_resource_size_params(9)
  • struct devlink_param(9)
  • struct devlink_flash_update_params(9)
  • struct devlink_region_ops(9)
  • struct devlink_port_region_ops(9)
  • struct devlink_health_reporter_ops(9)
  • struct devlink_trap_metadata(9)
  • struct devlink_trap_policer(9)
  • struct devlink_trap_group(9)
  • struct devlink_trap(9)
  • struct devlink_port_ops(9)

ngl bestie, that SEE ALSO list is a whole friend group and they're all slaying in ./include/net/devlink.h πŸ’€ go read the source, it's giving textbook 🧚

that's the whole page, periodt πŸ’– this came from ./include/net and it's dated October 2026 β€” and ofc the section is struct devlink_flash_notify(9) ⭐ stay hydrated, go flash some firmware responsibly, mwah πŸ’…πŸŒΈ

πŸ“¦ where this page comes from