libie_fwlog_set(9)
π libie_fwlog_set(9) β it's giving "Kernel API Manual" energy π
okay bestie, welcome to libie_fwlog_set(9), straight out of the Kernel API Manual β yes that's the actual manual name, no cap, we're in the big leagues now β¨
πΈ NAME πΈ
libie_fwlog_set β the one that sets the firmware logging settings. iconic behavior, honestly.
π¦ SYNOPSIS π¦
int libie_fwlog_set (struct libie_fwlog *fwlog , struct libie_fwlog_cfg
*cfg );
literally just two pointers and an int coming back at you. main character signature fr fr π
π ARGUMENTS π
fwlogβ pointer to the fwlog structure. your little handle to the whole situation π«Άcfgβ the config used to set firmware logging. this is the actual vibe you're pushing in.
β¨ DESCRIPTION β¨
so here's the tea π β this function should be called whenever the driver needs to set the firmware logging configuration. that's it, that's the whole job. lowkey simple, highkey important.
and when can you call it? whenever, bestie:
- on initialization
- on reset
- or during runtime
all valid, all slay π₯
β οΈ okay pay attention here because this is the part people miss: if the PF wishes to receive FW logging then it must register vialibie_fwlog_register. and the cute little footnote?libie_fwlog_registerdoes not need to be called for init. like, at all. don't do it. ngl that one trips people up π
π SEE ALSO π
the whole friend group, in order, no one left out π
- Kernel file
./drivers/net/ethernet/intel/libie/fwlog.c libie_fwlog_realloc_rings(9)libie_fwlog_supported(9)libie_aq_fwlog_set(9)libie_aq_fwlog_register(9)libie_fwlog_register(9)libie_fwlog_unregister(9)libie_fwlog_print_module_cfg(9)libie_debugfs_module_show(9)libie_debugfs_module_write(9)libie_debugfs_nr_messages_read(9)libie_debugfs_nr_messages_write(9)libie_debugfs_enable_read(9)libie_debugfs_enable_write(9)libie_debugfs_log_size_read(9)libie_debugfs_log_size_write(9)libie_debugfs_data_read(9)libie_debugfs_data_write(9)libie_debugfs_fwlog_init(9)libie_aq_fwlog_get(9)libie_fwlog_set_supported(9)libie_fwlog_init(9)libie_fwlog_deinit(9)libie_get_fwlog_data(9)
and that's the whole page, bestie π§π sourced from ./drivers/net/ethernet/intel/l..., dated October 2026, and it all lives under the name libie_fwlog_set(9). go forth and set those firmware logging settings, you absolute icon πβ
π¦ 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