cppi5_desc_set_retpolicy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cppi5_desc_set_retpolicy(9) β€” the Kernel API Manual glow-up πŸŽ€

okay bestie, so you're in the Kernel API Manual (yes, the real one, not a vibe) and this is the page for cppi5_desc_set_retpolicy. Say it three times fast, iykyk. 🌸


✨ NAME ✨

cppi5_desc_set_retpolicy β€” sets the Packet Return Policy in the Desc. That's the whole assignment, no cap. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void cppi5_desc_set_retpolicy (struct cppi5_desc_hdr_t *desc_hdr , u32
flags , u32 return_ring_id );

look at her. void return, three args, absolutely iconic. πŸ‘‘


🌈 ARGUMENTS 🌈

  • desc_hdr β€” the packet/TR descriptor header. this is the main character of the function, everything happens to her.
  • flags β€” the flags bestie, and here are the supported values you're allowed to pass:
    • CPPI5_INFO2_HDESC_RETPOLICY
    • CPPI5_INFO2_HDESC_EARLYRET
    • CPPI5_INFO2_DESC_RETPUSHPOLICY
  • return_ring_id β€” the Packet Return Queue/Ring id. and listen: the value 0xFFFF is reserved, so don't you dare, that one's taken 🫢
lowkey important: those three flag values are the supported ones. don't freestyle with random bits and then come crying to me 😭

πŸ’œ SEE ALSO πŸ’œ

bestie this list is giving extended universe, grab a snack πŸ“ β€” Kernel file ./include/linux/dma/ti-cppi5.h, plus:

like, the whole friend group showed up. we love a supportive cast πŸ’–


that's the page, periodt. this little gem lives in ./include/linux/dma, dated October 2026, and it's filed under cppi5_desc_set_retpolicy(9) β€” go forth and set those return policies responsibly, bestie πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from