ice_read_nvm_sr_copy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_read_nvm_sr_copy β€” like, the whole lore

okay so this is ice_read_nvm_sr_copy(9) from the Kernel API Manual (section 9, bestie β€” kernel internals, we're in the big leagues now ✨). She's a little function that goes and grabs a single word out of the Shadow RAM copy sitting in the NVM bank. Cute, right? πŸŽ€


✨ NAME ✨

ice_read_nvm_sr_copy β€” read a word from the Shadow RAM copy in the NVM bank πŸ¦‹


🌸 SYNOPSIS 🌸

int ice_read_nvm_sr_copy (struct ice_hw *hw , enum ice_bank_select bank
, u32 offset , u16 *data );

πŸ’– ARGUMENTS πŸ’–

  • hw β€” pointer to the HW structure 🫢 literally the hardware handshake, can't do anything without her
  • bank β€” tells us whether we're reading from the active or the inactive NVM module πŸ‘‘ pick your fighter
  • offset β€” offset into the Shadow RAM copy that we're reading, and bestie it's measured in words (not bytes, don't come at me) πŸ“
  • data β€” the storage where the returned word value lands ⭐ she comes back through this pointer, that's the whole vibe

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does she actually do? She reads the specified word from the copy of the Shadow RAM that lives inside the specified NVM module. That's it. That's the job. Slay. πŸ’…

lowkey important note 🧚: the Shadow RAM copy is always located after the CSS header, and it's aligned to 64-byte (32-word) offsets. no cap, that's just how she's laid out.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/ethernet/intel/ice/ice_nvm.c β€” go read the source, iykyk πŸ“‚

And the whole friend group, fr fr:


okay that's the whole page, mwah πŸ’‹ this came from ./drivers/net/ethernet/intel/ice, dated October 2026 β€” main character documentation energy, periodt. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from