_i40e_read_lldp_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _i40e_read_lldp_cfg β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so this is _i40e_read_lldp_cfg(9), from the Kernel API Manual, and it's literally the "go grab the LLDP config out of NVM" function. it's giving "small function, big job" energy and honestly? iconic. let's get into it πŸ¦‹


✨ NAME ✨

_i40e_read_lldp_cfg β€” a generic read of LLDP Configuration data from NVM, no cap πŸ’–


🌸 SYNOPSIS 🌸

int _i40e_read_lldp_cfg (struct i40e_hw *hw , struct i40e_lldp_variables
*lldp_cfg , u8 module , u32 word_offset );

so she takes four things and gives you back an int, that's the whole vibe 🫢


🧚 ARGUMENTS 🧚

  • hw β€” pointer to the HW structure. like, the hardware bestie herself ✨
  • lldp_cfg β€” pointer to hold lldp configuration variables. this is the little basket where the config goes πŸŽ€
  • module β€” address of the module pointer πŸ“
  • word_offset β€” offset of LLDP configuration. yes it's a word offset, yes it matters 🌈

πŸ’œ DESCRIPTION πŸ’œ

Reads the LLDP configuration data from NVM using passed addresses. that's it, that's the whole thing β€” you hand her the addresses, she goes to NVM and comes back with the LLDP config data. ate and left no crumbs πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

the friend group πŸ’– first up, the Kernel file:

  • ./drivers/net/ethernet/intel/i40e/i40e_dcb.c

and then the whole squad, in this exact order, no skipping πŸ™ˆ:

look at that list. thirty-five entries. she's popular, she's booked, she's the main character πŸ‘‘ (and yes, she references herself at the end β€” self-love fr fr πŸ’€)


okay and one last cute little sign-off: this page lives under ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's _i40e_read_lldp_cfg(9) all the way down. mwah πŸ’‹ periodt πŸ’–βœ¨

πŸ“¦ where this page comes from