nfp_net_init(9)
π nfp_net_init(9) β like, the whole kernel-API-manual situation π
okay bestie, welcome to the Kernel API Manual, this is the nfp_net_init(9) page and it's giving "short but iconic" β¨ we're literally setting up the nfp_net structure today, no big deal π
β¨ NAME β¨
nfp_net_init β Initialise/finalise the nfp_net structure π«Ά
like yes that's the whole vibe, we're doing the setup and the teardown, main character energy for the whole lifecycle π¦
π SYNOPSIS π
int nfp_net_init (struct nfp_net *nn );
one function, one pointer, zero drama. look at her go π
πΈ ARGUMENTS πΈ
nnβ the NFP Net device structure, aka the actual thing you're initialising/finalising. that's the whole bestie right there π
β RETURN β
0on success π slay- negative errno on error π so like, check it, fr fr β negative means something went sideways, not that you got a real value back
π SEE ALSO π
okay this list is long but every single one of these is part of the squad, so let's give them all their moment π
the kernel file we're living in:
./drivers/net/ethernet/netronome/nfp/nfp_net_common.c
and the extended friend group:
nfp_net_get_fw_version(9)nfp_net_reconfig_post(9)__nfp_net_reconfig(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_clean(9)
thirty-one whole cross-references, we ate and left absolutely no crumbs π₯ iykyk π
ngl there are no extra flags, no env vars, no exit statuses hiding on this page βnfp_net_initis a0-or-negative-errno girlie and that's the entire plot π
and that's the page!! this little cutie lives at ./drivers/net/ethernet/netrono... and she's dated October 2026 π§ mwah, go init something bestie ππ¦πΈ
π¦ 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