NFP_CPP_INTERFACE_TYPE_of(9)
π NFP_CPP_INTERFACE_TYPE_of(9) π
okay so this is from the Kernel API Manual bestie, and it's literally one tiny little getter function that pulls the type out of an NFP interface ID β¨ it's giving "small but essential," and honestly? we stan a single-purpose queen π
πΈ NAME πΈ
NFP_CPP_INTERFACE_TYPE_of β Get the interface type π
like that's it, that's the whole job, and she does it flawlessly no cap π
β¨ SYNOPSIS β¨
NFP_CPP_INTERFACE_TYPE_of (interface );
yep that's the whole call π one argument, in and out, no drama, no surprises π¦
π«Ά ARGUMENTS π«Ά
interfaceβ the NFP Interface ID π this is the thing you're handing over so she can tell you what type it is. that's the assignment. that's the whole assignment. π
π RETURN π
she returns the NFP Interface ID's type β β that's the value you came for, bestie, go live your life with it π
lowkey the entire point of this function. no side quests. no plot twists. just the type. periodt π₯
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.hπ (go read the header, iykyk) NFP_CPP_ID(9)NFP_CPP_ISLAND_ID(9)NFP_CPP_ID_TARGET_of(9)NFP_CPP_ID_TOKEN_of(9)NFP_CPP_ID_ACTION_of(9)NFP_CPP_ID_ISLAND_of(9)NFP_CPP_INTERFACE(9)NFP_CPP_INTERFACE_UNIT_of(9)NFP_CPP_INTERFACE_CHANNEL_of(9)nfp_cppcore_pcie_unit(9)struct nfp_cpp_operations(9)
like the whole friend group showed up for her ππ the ID macros, the other _of getters, the struct β everyone's here, it's a whole reunion π
π friendly reminder: these are cross-references, not vibes-based suggestions. if you're poking at NFP IDs, the squad above is who you go see. π§
and that's the page!! source lives at ./drivers/net/ethernet/netrono... (yes it's truncated in the original, don't come for me π), dated October 2026, and it's all filed under NFP_CPP_INTERFACE_TYPE_of(9) π¦ mwah, go get that type 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