nfp_xpb_writel(9)
π nfp_xpb_writel(9)
okay so bestie, welcome to the kernel API manual page for nfp_xpb_writel β yeah it's a mouthful, i know, but it's literally a tiny little function and it's about to be your new fave π«Ά
β¨ NAME β¨
nfp_xpb_writel β write a u32 word to a XPB location, and honestly? slay. that's the whole job. π
πΈ SYNOPSIS πΈ
int nfp_xpb_writel (struct nfp_cpp *cpp , u32 xpb_addr , u32 value );
like look at her. three args, one return type, zero drama. main character energy fr fr β¨
π ARGUMENTS π
cppβ the CPP device handle, aka your VIP pass to the device π³ you gotta hand it over so the function knows which device we're talking to.xpb_addrβ the address for the operation. this is where you're pointing at, so get it right bestie πvalueβ the value to write. the actual u32 word that goes into that spot. this is the payload, the moment, the star of the show β
π¦ RETURN π¦
returns 0 on success, or -ERRNO if it goes sideways π so like, zero means we ate and left no crumbs, negative errno means something went wrong and you should probably go read what that errno is saying.
π SEE ALSO π
the kernel file lives at ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c β yes that's the whole path, no i'm not abbreviating it, we don't do that here π
and now the entourage π β every single one of these is linked, no cap:
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_size(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_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)
like i said. entourage. π
and that's the whole page diva β¨ this one's from ./drivers/net/ethernet/netrono..., dated October 2026 β go forth and write your u32 words, you've got this ππ§ββοΈ
π¦ 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