dpaa2_fd_set_len(9)
π
dpaa2_fd_set_len β like, the NAME section, bestie
okay so picture this: you've got a frame descriptor and you need to put a length in it. that's the whole gig. dpaa2_fd_set_len β Set the length field of frame descriptor β¨ it's a kernel API manual situation, and honestly? she ate. π
β¨ SYNOPSIS β¨
void dpaa2_fd_set_len (struct dpaa2_fd *fd , u32 len );
look at her. void. no return value, no drama, she just does the thing and dips. π
π«Ά ARGUMENTS π«Ά
two arguments, both iconic, both required:
fdβ the given frame descriptor. like, the actual frame descriptor you're working with. this is the main character of the operation, no cap. πlenβ the length needs to be set in frame descriptor. yes bestie, this is literally the number that's about to get written into that bad boy. π
π SEE ALSO π
okay this is the part where I need you to stay with me, because this list is long and I'm not skipping a single one of these, fr fr. every single one matters. π§
the header file + the big picture:
- Kernel file
./include/soc/fsl/dpaa2-fd.hβ DPAA2 FD - Frame Descriptor APIs for DPAA2(9) struct dpaa2_fd(9)β the struct herself π
the dpaa2_fd getters and setters (the whole squad):
dpaa2_fd_get_addr(9)dpaa2_fd_set_addr(9)dpaa2_fd_get_frc(9)dpaa2_fd_set_frc(9)dpaa2_fd_get_ctrl(9)dpaa2_fd_set_ctrl(9)dpaa2_fd_get_flc(9)dpaa2_fd_set_flc(9)dpaa2_fd_get_len(9)β the reverse twin of the page you're on rn π₯dpaa2_fd_get_offset(9)dpaa2_fd_set_offset(9)dpaa2_fd_get_format(9)dpaa2_fd_set_format(9)dpaa2_fd_get_bpid(9)dpaa2_fd_set_bpid(9)
the scatter-gather side of the family:
struct dpaa2_sg_entry(9)dpaa2_sg_get_addr(9)dpaa2_sg_set_addr(9)dpaa2_sg_get_len(9)dpaa2_sg_set_len(9)dpaa2_sg_get_offset(9)dpaa2_sg_set_offset(9)dpaa2_sg_get_format(9)dpaa2_sg_set_format(9)dpaa2_sg_get_bpid(9)dpaa2_sg_set_bpid(9)dpaa2_sg_is_final(9)dpaa2_sg_set_final(9)
and the frame-list crew:
struct dpaa2_fl_entry(9)dpaa2_fl_get_addr(9)dpaa2_fl_set_addr(9)dpaa2_fl_get_frc(9)dpaa2_fl_set_frc(9)dpaa2_fl_get_ctrl(9)dpaa2_fl_set_ctrl(9)dpaa2_fl_get_flc(9)dpaa2_fl_set_flc(9)dpaa2_fl_get_len(9)dpaa2_fl_set_len(9)dpaa2_fl_get_offset(9)dpaa2_fl_set_offset(9)dpaa2_fl_get_format(9)dpaa2_fl_set_format(9)dpaa2_fl_get_bpid(9)dpaa2_fl_set_bpid(9)dpaa2_fl_is_final(9)dpaa2_fl_set_final(9)
that's forty-something cross-references and not one of them got left behind. we don't do skipped references in this house. π
π¦ the sign-off π¦
this lil beauty lives in ./include/soc/fsl, and she's dated October 2026. go read the source, bestie, it's all there. π
stay hydrated, set your lengths correctly, and may your frame descriptors always be exactly as long as you say they are. 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