ixgbe_read_flash_module(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is ixgbe_read_flash_module(9) from the Kernel API Manual, and its whole thing is: read a word from one of the main NVM modules ✨

πŸ› οΈ SYNOPSIS πŸ› οΈ

int ixgbe_read_flash_module (struct ixgbe_hw *hw , enum
       ixgbe_bank_select bank , u16 module , u32 offset , u8 *data , u32 length
       );

πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW structure 🫢
  • bank β€” which bank of the module to read πŸ’…
  • module β€” the module to read πŸŽ€
  • offset β€” the offset into the module in bytes ⭐
  • data β€” storage for the word read from the flash πŸ’Ύ
  • length β€” bytes of data to read πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

so it reads data from the specified flash module. the bank parameter is literally the little vibe check for whether you read from the active bank or the inactive bank of that module β€” no cap 🫑

the word gets read using flat NVM access, and it relies on hw->flash.banks data being setup by ixgbe_determine_active_flash_banks during initialization. that’s the tea β˜•βœ¨

πŸ” RETURN πŸ”

  • the exit code of the operation β€” that’s what it hands back, periodt πŸ’«

πŸ‘€ SEE ALSO πŸ‘€

the kernel file is ./drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c πŸ’Ύ β€” and here’s the full squad of references, no skips, no cuts:


okay that’s the whole page bestie 🫢 source/version: ./drivers/net/ethernet/intel/i... ✨ date: October 2026 πŸŒˆπŸ’–

πŸ“¦ where this page comes from