nfp_cpp_readq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfp_cpp_readq(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so picture this: you're deep in the kernel, and you need to pull a whole u64 word out of a CPP location. that's it. that's the whole vibe. this function is the main character of that exact moment ✨


🌸 NAME 🌸

nfp_cpp_readq β€” literally just read a u64 word from a CPP location. one job. slays it. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int nfp_cpp_readq (struct nfp_cpp *cpp , u32 cpp_id , unsigned long long
address , u64 *value );

✨ ARGUMENTS ✨

  • cpp β€” the CPP device handle 🫢 this is your whole ticket in, no handle no entry, periodt.
  • cpp_id β€” the CPP ID for the operation πŸ’… which operation? this operation. be specific bestie.
  • address β€” the address for the operation ⭐ yeah she's just the address. iconic of her honestly.
  • value β€” pointer to the read buffer πŸŽ€ this is where the word lands when it comes home. it's giving "destination" energy.

πŸ”₯ RETURN πŸ”₯

0 on success, or -ERRNO 😭 so like... zero means we ate, and anything negative means check your errno, ngl.

no cap, that -ERRNO is doing a lot of heavy lifting there β€” it's not one specific error, it's the whole errno family. keep that in mind πŸ™ˆ

🧚 SEE ALSO 🧚

like, if reading a q isn't enough for you, the l version and the write versions and the mapping one are all right there. the whole friend group fr fr 🌈


and that's the page!! πŸ’œ this masterpiece of a manpage came to you courtesy of the source/version line ./drivers/net/ethernet/netrono... and it's stamped October 2026 β€” so yeah, she's from the future, she's from nfp_cpp_readq(9), and she's perfect. mwah πŸ’…βœ¨

πŸ“¦ where this page comes from