dpaa2_fl_set_bpid(9)
π dpaa2_fl_set_bpid(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in kernel land, you've got a frame list entry, and it's just sitting there with no buffer pool id. tragic. this little function is the glow-up. it sets the bpid field of the FLE, and honestly? it ate. π
β¨ NAME β¨
dpaa2_fl_set_bpid β the one that sets the bpid field of FLE π«
πΈ SYNOPSIS πΈ
void dpaa2_fl_set_bpid (struct dpaa2_fl_entry *fle , u16 bpid );
no cap, that's the whole signature. returns nothing (void), takes two things, does one job. iconic behavior fr fr. π
π¦ ARGUMENTS π¦
fleβ the given frame list entry π like, the actual entry you're editing. your main character struct.bpidβ the buffer pool id to be set π«Ά au16, and yes it's going exactly where you think it's going.
π₯ SEE ALSO π₯
the whole friend group, iykyk:
- kernel file
./include/soc/fsl/dpaa2-fd.h DPAA2 FD - Frame Descriptor APIs for DPAA2(9)- FD squad:
struct dpaa2_fd(9),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),dpaa2_fd_set_len(9),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) - SG squad:
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) - FL squad (our people π):
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_is_final(9),dpaa2_fl_set_final(9)
ngl bestie, if you're setting the bpid you probably also wanna peek at dpaa2_fl_get_bpid(9) to confirm it actually landed. vibe check your work. π
that's the whole page, mwah π β brought to you by the source tree at ./include/soc/fsl, dated October 2026, straight out of the Kernel API Manual. slay, stay hydrated, and may your buffer pools never run dry πβ¨π
π¦ 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