_i40e_read_lldp_cfg(9)
π
_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 π:
i40e_get_dcbx_status(9)i40e_parse_ieee_etscfg_tlv(9)i40e_parse_ieee_etsrec_tlv(9)i40e_parse_ieee_pfccfg_tlv(9)i40e_parse_ieee_app_tlv(9)i40e_parse_ieee_tlv(9)i40e_parse_cee_pgcfg_tlv(9)i40e_parse_cee_pfccfg_tlv(9)i40e_parse_cee_app_tlv(9)i40e_parse_cee_tlv(9)i40e_parse_org_tlv(9)i40e_lldp_to_dcb_config(9)i40e_aq_get_dcb_config(9)i40e_cee_to_dcb_v1_config(9)i40e_cee_to_dcb_config(9)i40e_get_ieee_dcb_config(9)i40e_get_dcb_config(9)i40e_init_dcb(9)i40e_get_fw_lldp_status(9)i40e_add_ieee_ets_tlv(9)i40e_add_ieee_etsrec_tlv(9)i40e_add_ieee_pfc_tlv(9)i40e_add_ieee_app_pri_tlv(9)i40e_add_dcb_tlv(9)i40e_set_dcb_config(9)i40e_dcb_config_to_lldp(9)i40e_dcb_hw_rx_fifo_config(9)i40e_dcb_hw_rx_cmd_monitor_config(9)i40e_dcb_hw_pfc_config(9)i40e_dcb_hw_set_num_tc(9)i40e_dcb_hw_rx_ets_bw_config(9)i40e_dcb_hw_rx_up2tc_config(9)i40e_dcb_hw_calculate_pool_sizes(9)i40e_dcb_hw_rx_pb_config(9)i40e_read_lldp_cfg(9)
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
- 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