nfp_cpp_area_size(9)
β¨ 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 π:
struct nfp_cpp(9)nfp_cpp_free(9)nfp_cpp_model(9)nfp_cpp_interface(9)nfp_cpp_serial(9)nfp_cpp_area_alloc_with_name(9)nfp_cpp_area_alloc(9)nfp_cpp_area_alloc_acquire(9)nfp_cpp_area_free(9)nfp_cpp_area_acquire(9)nfp_cpp_area_acquire_nonblocking(9)nfp_cpp_area_release(9)nfp_cpp_area_release_free(9)nfp_cpp_area_read(9)nfp_cpp_area_write(9)nfp_cpp_area_name(9)nfp_cpp_area_priv(9)nfp_cpp_area_cpp(9)nfp_cpp_area_resource(9)nfp_cpp_area_phys(9)nfp_cpp_area_iomem(9)nfp_cpp_area_readl(9)nfp_cpp_area_writel(9)nfp_cpp_area_readq(9)nfp_cpp_area_writeq(9)nfp_cpp_area_fill(9)nfp_cpp_area_cache_add(9)nfp_cpp_read(9)nfp_cpp_write(9)nfp_xpb_readl(9)nfp_xpb_writel(9)nfp_xpb_writelm(9)nfp_cpp_from_operations(9)nfp_cpp_priv(9)nfp_cpp_device(9)nfp_cpp_explicit_acquire(9)nfp_cpp_explicit_set_target(9)nfp_cpp_explicit_set_data(9)nfp_cpp_explicit_set_signal(9)nfp_cpp_explicit_set_posted(9)nfp_cpp_explicit_put(9)nfp_cpp_explicit_do(9)nfp_cpp_explicit_get(9)nfp_cpp_explicit_release(9)nfp_cpp_explicit_cpp(9)nfp_cpp_explicit_priv(9)
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
- 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