cppi5_hdesc_..._psdata_size(9)
π cppi5_hdesc_update_psdata_size β your girl's guide to the kernel API manual β¨
okay so bestie, this page lives in the Linux kernel API manual, and today's main character is a tiny little function that swaps out the PSDATA size on a host packet descriptor. no cap, it's short, it's sweet, and it does exactly one thing. let's get into it π
πΈ NAME πΈ
cppi5_hdesc_update_psdata_size β Replace PSdata size π
like, literally just replace the PSdata size. that's the whole vibe. she's not complicated, she's not doing extra credit, she's just here to update a number. periodt.
β¨ SYNOPSIS β¨
void cppi5_hdesc_update_psdata_size (struct cppi5_host_desc_t *desc ,
u32 psdata_size );
note the void β she doesn't return anything, she doesn't gossip back to you, she just does the job and leaves. iconic behaviour tbh π«Ά
π¦ ARGUMENTS π¦
descβ Host packet descriptor. this is the descriptor you're updating, and yes you have to actually pass one, she's not gonna go find it for you πpsdata_sizeβ PSDATA size. au32, and it's the new value going in. that's it. that's the tea π
π SEE ALSO π
bestie there are so many friends in this friend group, buckle up π
β all of these live in the kernel file ./include/linux/dma/ti-cppi5.h:
struct cppi5_desc_hdr_t(9)struct cppi5_host_desc_t(9)struct cppi5_desc_epib_t(9)struct cppi5_monolithic_desc_t(9)cppi5_desc_is_tdcm(9)cppi5_desc_get_type(9)cppi5_desc_get_errflags(9)cppi5_desc_get_pktids(9)cppi5_desc_set_pktids(9)cppi5_desc_set_retpolicy(9)cppi5_desc_get_tags_ids(9)cppi5_desc_set_tags_ids(9)cppi5_hdesc_calc_size(9)cppi5_hdesc_init(9)cppi5_hdesc_update_flags(9)cppi5_hdesc_get_psdata_size(9)cppi5_hdesc_get_pktlen(9)cppi5_hdesc_set_pktlen(9)cppi5_hdesc_get_psflags(9)cppi5_hdesc_set_psflags(9)cppi5_hdesc_get_pkttype(9)cppi5_hdesc_set_pkttype(9)cppi5_hdesc_attach_buf(9)cppi5_hdesc_link_hbdesc(9)cppi5_hdesc_epib_present(9)cppi5_hdesc_get_psdata(9)cppi5_hdesc_get_swdata(9)enum cppi5_tr_types(9)enum cppi5_tr_event_size(9)enum cppi5_tr_trigger(9)enum cppi5_tr_trigger_type(9)struct cppi5_tr_type0_t(9)struct cppi5_tr_type1_t(9)struct cppi5_tr_type2_t(9)struct cppi5_tr_type3_t(9)struct cppi5_tr_type15_t(9)struct cppi5_tr_resp_t(9)enum cppi5_tr_resp_status_type(9)enum cppi5_tr_resp_status_submission(9)enum cppi5_tr_resp_status_unsupported(9)cppi5_trdesc_calc_size(9)cppi5_trdesc_init(9)cppi5_tr_init(9)cppi5_tr_set_trigger(9)cppi5_tr_csf_set(9)
like I said. huge friend group. iykyk π
lowkey obsessed with how a one-line function still gets a whole SEE ALSO section. that's main character energy fr fr π₯
and that's the whole page, bestie!! sourced straight outta ./include/linux/dma, dated October 2026 β consider this your cute little sign-off, 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