igc_update_nvm_checksum(9)
π igc_update_nvm_checksum β a lil' kernel API manual moment
okay so bestie, welcome to the Kernel API Manual β¨ this one's igc_update_nvm_checksum(9) and honestly? she's doing the most important little chore in the whole EEPROM house. let's get into it π«Ά
πΈ NAME πΈ
igc_update_nvm_checksum β Update EEPROM checksum π
β¨ SYNOPSIS β¨
s32 igc_update_nvm_checksum (struct igc_hw *hw );
that's it. one function, one pointer, one s32 coming back atcha. iconic behavior honestly π
π¦ ARGUMENTS π¦
hwβ pointer to theHWstructure π literally just a pointer to the hardware struct, that's the whole vibe.
π₯ DESCRIPTION π₯
so what she does is update the EEPROM checksum, and the way she does it is lowkey meticulous ngl π
first she reads and adds each word of the EEPROM, going all the way up to the checksum β every single word, no skipping, she's thorough like that π§
then she calculates the EEPROM checksum and writes the value to the EEPROM β¨
that's the whole arc. read, add, calculate, write. slay. periodt. π
bestie pls note: this is the update girlie. if you were looking for the one that just checks the thing, that's a different function, see below β¬οΈ π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/igc/igc_nvm.cβ the source file, go read her fr fr π igc_poll_eerd_eewr_done(9)πigc_read_nvm_eerd(9)βigc_read_mac_addr(9)πigc_validate_nvm_checksum(9)π
and that's the page, bestie!! π source/version is ./drivers/net/ethernet/intel/igc, dated October 2026, and yes the header said igc_update_nvm_checksum(9) and the footer said it again because she loves a callback π mwah, go checksum something πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms