NFP_CPP_ID_ACTION_of(9)
β¨ 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:
NFP_CPP_ID(9)NFP_CPP_ISLAND_ID(9)NFP_CPP_ID_TARGET_of(9)NFP_CPP_ID_TOKEN_of(9)NFP_CPP_ID_ISLAND_of(9)NFP_CPP_INTERFACE(9)NFP_CPP_INTERFACE_TYPE_of(9)NFP_CPP_INTERFACE_UNIT_of(9)NFP_CPP_INTERFACE_CHANNEL_of(9)nfp_cppcore_pcie_unit(9)struct nfp_cpp_operations(9)
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
- 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