nfp_net_rss_key_sz(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 ✨

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