nfp_cpp_writeq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfp_cpp_writeq πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is nfp_cpp_writeq, and honestly? it's giving simple icon energy. no cap 🫢


🌸 NAME 🌸

nfp_cpp_writeq β€” write a u64 word to a CPP location. that's it. that's the whole vibe. one chonky 64-bit word, one address, done πŸ’…


✨ SYNOPSIS ✨

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

like, literally just hand it the handle, the ID, the address and the value and it slays πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • cpp β€” CPP device handle πŸ’– this is your lil' connection to the device, your backstage pass, iykyk
  • cpp_id β€” CPP ID for operation πŸ¦‹ the ID that tells the operation where it's going
  • address β€” address for operation 🌸 where the magic happens, lowkey the destination
  • value β€” value to write ⭐ the actual u64 word you're yeeting into that location. precious cargo. protect it πŸ₯Ί

🌈 RETURN 🌈

returns 0 on success πŸŽ‰ β€” or -ERRNO if things did not go off πŸ‘‘ (so, y'know, vibe check your return value, fr fr)


πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c β€” the source, the origin story, the blueprint πŸ“–
  • nfp_cpp_readl(9) β€” the 32-bit read bestie
  • nfp_cpp_writel(9) β€” the 32-bit write bestie
  • nfp_cpp_readq(9) β€” the 64-bit read bestie (this one's sibling πŸ’«)
  • nfp_cpp_map_area(9) β€” the mapping one, also iconic

bestie reminder: this manpage comes from ./drivers/net/ethernet/netrono... and the date on it is October 2026 πŸ“ so if you're reading this from the future, hi, ily, and remember β€” grab the -ERRNO, don't ignore it πŸ™ˆ

and that's the whole page, periodt πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from