nfp_cpp_area_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ nfp_cpp_area_size β€” the nfp_cpp_area_size(9) glow-up ✨

okay bestie, welcome to the Kernel API Manual corner of the group chat πŸŽ€ today's main character is nfp_cpp_area_size(9), and she's here to answer exactly one (1) question for you. lowkey iconic.


πŸ’… NAME

nfp_cpp_area_size β€” return size of a CPP area

that's it. that's the whole job. she's not doing extra credit and honestly? respect. 🫢


πŸ¦‹ SYNOPSIS

size_t nfp_cpp_area_size (struct nfp_cpp_area *cpp_area );

copy that exactly, bestie, spaces and all β€” the trailing space before the ) is part of the vibe check πŸ’€


🌸 ARGUMENTS

  • cpp_area β€” the CPP area handle. your little ticket stub for the area. hand it over and she'll tell you how big it is ✨

🌈 RETURN

Size of the area. that's the return value, no cap. it's a size_t, so it comes back as a nice unsigned number of bytes-worth-of-area. πŸ“πŸ’–

ngl there's no error return listed here, so don't go looking for one β€” the docs say size, and size is what you get 😌

πŸ‘‘ SEE ALSO

the whole extended friend group, in the exact order the kernel lists them πŸ’œ:

and the source herself lives right here in the kernel file 🧚:

  • ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c

okay that's the whole page, go forth and measure your areas πŸ’…βœ¨

tiny sign-off because we're polite: this came out of the Kernel API Manual, source path is ./drivers/net/ethernet/netrono... (yes it's truncated in the footer, that's just how she prints, don't @ me πŸ’€), and the date on the tin is October 2026. mwah πŸ“

πŸ“¦ where this page comes from