STRUCT DPAA2_SG_ENTRY(9)
πΈ struct dpaa2_sg_entry(9) β the scatter-gathering structure πΈ
okay bestie, buckle up π this is a page from the Kernel API Manual, and it's about one tiny little struct that holds your scatter-gather vibes together. no cap, it's short but it's iconic.
β¨ NAME β¨
struct dpaa2_sg_entry β literally the scatter-gathering structure. that's her. that's the whole name. π
π¦ SYNOPSIS π¦
here's the whole glow-up, exactly as she ships:
struct dpaa2_sg_entry {
__le64 addr;
__le32 len;
__le16 bpid;
__le16 format_offset;
};
four fields, zero drama. periodt. π
π Members π
okay so each of these is a little main character in the struct, let's meet them π«Ά
addrβ the address of the sg entry. where the goods live, basically. πlenβ the length in this sg entry. how much of the goods we're talking about. πbpidβ the buffer pool id. which pool this buffer came from, iykyk. πformat_offsetβ the format and offset fields. two vibes, one field, efficiency queen. β¨
ngl, these descriptions are short and sweet, so don't go reading extra behaviour into them β the page tells you what each field is, and that's the whole story. π
π SEE ALSO π
the friend group is huge, bestie. everybody's linked. first up, the source of truth:
- Kernel file
./include/soc/fsl/dpaa2-fd.hβ DPAA2 FD - Frame Descriptor APIs
then the DPAA2(9) crew and the frame descriptor squad π§:
DPAA2(9)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 besties (aka her own getters and setters, obsessed) π₯:
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 fam πΈ:
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)
like, that's the whole group chat. go say hi. π
and that's the page, bestie! π this cutie lives in ./include/soc/fsl and the version stamps her at October 2026 β so yeah, mark your calendar, struct dpaa2_sg_entry(9) is out here slaying in the ./include/soc/fsl directory. 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