__nfp_net_reconfig(9)
π __nfp_net_reconfig (9) β the Kernel API Manual girlies' edition π
okay so bestie, gather round, because this lil function from the Kernel API Manual is literally the "hey firmware, wake up, we're changing stuff" button and I need you to understand her π
β¨ NAME β¨
__nfp_net_reconfig β Reconfigure the firmware πΈ
β¨ SYNOPSIS β¨
int __nfp_net_reconfig (struct nfp_net *nn , u32 update );
like, that's the whole signature. she's small but she's doing the most π«Ά
β¨ ARGUMENTS β¨
nnβ the NFP Net device you're reconfiguring, the main character of this operation πupdateβ the value that goes into the update field in the BAR config, periodt π
β¨ DESCRIPTION β¨
so here's the vibe: she writes the update word to the BAR and pings the reconfig queue π₯ then she polls until the firmware has acknowledged the update by zeroing the update word. like she's not leaving until firmware texts back, fr fr π no cap, that's the whole flow.
β¨ RETURN β¨ β¨
Negative errno on error, 0 on success π (yes bestie, that's the entire return contract, iconic)
β¨ SEE ALSO β¨
- Kernel file
./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9),nfp_net_reconfig_post(9),nfp_net_mbox_reconfig(9),nfp_net_irqs_alloc(9),nfp_net_irqs_assign(9),nfp_net_irqs_disable(9),nfp_net_irq_rxtx(9),nfp_net_read_link_status(9),nfp_net_irq_lsc(9),nfp_net_irq_exn(9),nfp_net_aux_irq_request(9),nfp_net_aux_irq_free(9),nfp_net_vecs_init(9),nfp_net_rss_write_itbl(9),nfp_net_rss_write_key(9),nfp_net_coalesce_write_cfg(9),nfp_net_write_mac_addr(9),nfp_net_clear_config_and_disable(9),nfp_net_set_config_and_enable(9),nfp_net_close_stack(9),nfp_net_close_free_all(9),nfp_net_netdev_close(9),nfp_net_open_stack(9),nfp_net_info(9),nfp_net_alloc(9),nfp_net_free(9),nfp_net_rss_key_sz(9),nfp_net_rss_init(9),nfp_net_irqmod_init(9),nfp_net_init(9),nfp_net_clean(9)
π¦ friendly reminder: update goes straight into the BAR config update field, so pass the value you actually mean β she's not out here guessing for you π
and that's the page, bestie!! mwah π this lil cutie comes from ./drivers/net/ethernet/netrono... and she was stamped October 2026 β __nfp_net_reconfig(9) out here serving kernel realness in the group chat, slay πβ¨π
π¦ 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