nfp_net_rss_key_sz(9)
π nfp_net_rss_key_sz(9) π
okay so bestie, welcome to the kernel API manual, this one's a nfp_net_rss_key_sz situation and honestly it's giving "small but mighty". nfp is the Netronome NFP networking driver family, and this little function is here to tell you a size. that's it. that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
nfp_net_rss_key_sz β get the current size of the RSS key β¨
like, the actual byte count of the key you're working with right now. yes queen, we love a one-liner.
πΈ SYNOPSIS πΈ
unsigned int nfp_net_rss_key_sz (struct nfp_net *nn );
one argument, one unsigned int coming back at you. clean, minimal, iconic. π₯
π ARGUMENTS π
nnβ the NFP Net device instance π this is your netdev's NFP buddy, the thing you're asking the question about. no device, no size, iykyk.
π¦ RETURN π¦
it returns the size of the RSS key for the currently selected hash function. so the answer literally depends on which hash function is currently in the driver's main-character seat π β swap the hash function, and the number you get back comes along for the ride. it's an unsigned int ngl. simple as that.
lowkey important: "currently selected" is doing a lot of work in that sentence. this is a question about the present state, not a hardcoded constant, so don't go treating it like one π«Ά
π SEE ALSO π
bestie there are SO many siblings, buckle up, we're going on a little tour of the NFP driver β¨
- the kernel file itself:
./drivers/net/ethernet/netronome/nfp/nfp_net_common.cβ that's home base π 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_init(9)nfp_net_irqmod_init(9)nfp_net_init(9)nfp_net_clean(9)
like i said. a whole friend group. go say hi π
and that's the page, bestie!! π§ run along and go get that key size π
ok and for the cute sign-off: this whole thing lives under ./drivers/net/ethernet/netrono... and it's dated October 2026 β so like, future vibes only, no cap. 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