NFP_CPP_ID_ACTION_of(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NFP_CPP_ID_ACTION_of(9) ✨

okay so this is a page from the Kernel API Manual, and bestie, it is short and it is iconic β€” we're talking one function, one argument, one return value, and a whole lotta NFP CPP lore. let's get into it πŸ’…


🌸 NAME 🌸

NFP_CPP_ID_ACTION_of β€” literally just returns the NFP CPP action of a NFP CPP ID. that's it. that's the whole gig. she does one thing and she ate πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

u8 NFP_CPP_ID_ACTION_of (u32 id );

no cap, that's the whole signature. a u32 goes in, a u8 comes out 🫢


πŸ’– ARGUMENTS πŸ’–

  • id β€” the NFP CPP ID, bestie. that's the one. that's the input. hand her a CPP ID and she'll tell you its action 🌈

⭐ RETURN ⭐

she gives you back the NFP CPP action ✨ β€” that's the u8 from the synopsis, living her best life.


🧚 SEE ALSO 🧚

the whole friend group, fr fr β€” they all live in this kernel file:

./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h

and here's the squad, no one left out, periodt:


lowkey a whole ecosystem of _of functions and honestly? we're obsessed πŸ’€

and that's the page!! πŸ“ source lives at ./drivers/net/ethernet/netrono... and it's dated October 2026 β€” so yeah, see you then, mwah πŸ’œπŸ‘‘

πŸ“¦ where this page comes from