dpaa2_sg_set_bpid(9)
π dpaa2_sg_set_bpid(9) β like, the Kernel API Manual page, bestie
okay so real talk: this is a page straight outta the Kernel API Manual, and it's honestly smol but iconic. we're setting one single field in a scatter-gather entry. that's it. that's the whole vibe. and yet?? it matters. periodt.
β¨ NAME β¨
dpaa2_sg_set_bpid β sets the buffer pool id in an SG entry π
like, you hand it an SG entry, you hand it a bpid, and it puts that bpid in there. no cap.
πΈ SYNOPSIS πΈ
void dpaa2_sg_set_bpid (struct dpaa2_sg_entry *sg , u16 bpid );
the way this is literally a void functionβ¦ she does her job and returns nothing, because she doesn't need to prove anything to anyone. main character energy fr fr. π
π¦ ARGUMENTS π¦
sgβ the given scatter-gathering object π (yes, this one, the one you're about to poke at, the SG entry itself)bpidβ the bpid to be set β¨ (au16, and it's the value that goes in β that's the whole assignment, iykyk)
π SEE ALSO π
bestie there is a whole friend group here, and I'm not about to leave anybody out. π«Ά
- the kernel file
./include/soc/fsl/dpaa2-fd.hβ aka DPAA2 FD - Frame Descriptor APIs for DPAA2(9) - the frame descriptor 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) - the scatter-gather crew (this page's own fam π₯Ή):
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_is_final(9),dpaa2_sg_set_final(9) - the frame-list besties:
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)
ngl this list is giving "the whole group chat got tagged." go read them tho, they're all lowkey relevant π
π sign-off π
source: ./include/soc/fsl β dated October 2026. slay, and good luck out there with your buffer pool ids ππ₯
π¦ 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