i40e_read_nvm_word_srctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_read_nvm_word_srctl πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this one's a lil function from the i40e driver fam and it's literally just here to read a single 16-bit word out of Shadow RAM. tiny job, big main character energy πŸŽ€


✨ NAME ✨

i40e_read_nvm_word_srctl β€” reads Shadow RAM via the SRCTL register πŸ¦‹


🌸 SYNOPSIS 🌸

int i40e_read_nvm_word_srctl (struct i40e_hw *hw , u16 offset , u16
*data );

no cap, that's the whole signature. three args, one int coming back at you πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW structure. it's giving "here's the hardware context, pls use it wisely" πŸ‘‘
  • offset β€” offset of the Shadow RAM word to read, and the valid range is 0x000000 – 0x001FFF (yes, keep it in there, don't go wandering 🫢)
  • data β€” the word read from the Shadow RAM. this is where the answer lands, bestie πŸ’«

πŸ”₯ DESCRIPTION πŸ”₯

Reads one 16 bit word from the Shadow RAM using the GLNVM_SRCTL register. that's it, that's the vibe β€” one word, one register, zero drama 🧚


🌈 SEE ALSO 🌈

like, the whole i40e NVM friend group showed up to the group chat πŸ˜­πŸ’œ


okay that's the page, periodt πŸ’… this lil icon lives in ./drivers/net/ethernet/intel/i40e and the version/date energy on this one is October 2026 β€” go read some Shadow RAM, bestie, you got this πŸŒΈπŸ¦‹β­

πŸ“¦ where this page comes from