STRUCT DPNI_BUFFER_LAYOUT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct dpni_buffer_layout (9) β€” Kernel API Manual ✨

okay bestie, gather round, because we're about to get into the literal shape of a DPNI buffer 🫢 this page lives in the Kernel API Manual and it's the whole glow-up guide for how your data gets laid out. no cap, it's giving "interior design but for packets" πŸ’…


πŸ’– NAME πŸ’–

struct dpni_buffer_layout β€” the structure that represents the DPNI buffer layout, periodt. it's literally the blueprint, the main character of buffer arrangement 🌈


πŸ¦‹ SYNOPSIS πŸ¦‹

struct dpni_buffer_layout {
    u32 options;
    int pass_timestamp;
    int pass_parser_result;
    int pass_frame_status;
    u16 private_data_size;
    u16 data_align;
    u16 data_head_room;
    u16 data_tail_room;
 };

look at her. iconic. every field copy-pasted exactly because we do not mess with source code in this house 😀


πŸŽ€ Members πŸŽ€

okay so here's the member-by-member vibe check, and yes every single one is here, i would never do you dirty like that πŸ’–

  • options β€” the flags that represent the suggested modifications to the buffer layout πŸ”§ use any combination of 'DPNI_BUF_LAYOUT_OPT_<X>' flags. mix and match, you're the stylist πŸ’…
  • pass_timestamp β€” passes the timestamp value ⏰
  • pass_parser_result β€” passes the parser results πŸ•΅οΈβ€β™€οΈ
  • pass_frame_status β€” passes the frame status πŸ“Š
  • private_data_size β€” the size kept for private data, in bytes πŸ”’ (bytes, bestie, bytes)
  • data_align β€” the data alignment πŸ“
  • data_head_room β€” the data head room 🧠✨
  • data_tail_room β€” the data tail room πŸ‘

ngl this whole struct is just "where does everything go and how much space does it get" and honestly? relatable 😭


⭐ SEE ALSO ⭐

the friend group 🫢 all of these are ride-or-die, go say hi:


and that's the whole page, bestie πŸ’œ this one came straight out of ./drivers/net/ethernet/freesca..., dated October 2026, and it's filed under struct dpni_buffer_layout(9) πŸŽ€ go forth and lay out those buffers, you absolute icon πŸ‘‘βœ¨

πŸ“¦ where this page comes from