DPNI_BUF_LAY...T_DATA_ALIGN(9)
β¨ DPNI_BUF_LAYOUT_OPT_DATA_ALIGN β¨
okay bestie, so this one is a tiny little gem from the kernel API manual β like, the dpni.h corner of the universe, the Freescale/NXP DPA A2 networking spot, you know the vibe π
we're literally reading a macro name that's so long it needs its own zip code: DPNI_BUF_LAYOUT_OPT_DATA_ALIGN. no cap, that's the whole title.
πΈ NAME πΈ
DPNI_BUF_LAYOUT_OPT_DATA_ALIGN β the flag you pick when you wanna modify the data-alignment setting πβ¨
like, it's giving "hey, I have opinions about where my data sits in memory" and honestly? iconic. it's an option, it lives alongside its buffer-layout besties, and it's here to let you touch the data alignment. periodt.
π SYNOPSIS π
DPNI_BUF_LAYOUT_OPT_DATA_ALIGN
that's it. that's the whole synopsis. not me being obsessed with a one-liner π so clean, so minimal, so main-character.
π a lil vibe check π
so this is a macro (iykyk, all caps + underscores = macro energy) and it's one of the DPNI_BUF_LAYOUT_OPT_* family. its whole job is to say "yes hello I would like to modify the data-alignment setting" when you're setting up a struct dpni_buffer_layout. it's the "let me adjust this one thing" girlie in a sea of buffer-layout flags π¦
bestie if you're passing this flag around, make sure you're doing it in the right context β it's a data-alignment option, so it pairs with buffer layout setup, not with, like, your lunch order π₯²
π SEE ALSO π
okay so the cross-reference section is serving β this macro is not alone, she has a whole extended friend group and we are listing every single one because we don't do half-finished over here π
π§ the kernel file
Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.h
π the DPNI family (top-tier macro besties)
DPNI_MAX_TC(9)DPNI_MAX_DPBP(9)DPNI_ALL_TCS(9)DPNI_ALL_TC_FLOWS(9)DPNI_NEW_FLOW_ID(9)DPNI_OPT_TX_FRM_RELEASE(9)DPNI_OPT_NO_MAC_FILTER(9)DPNI_OPT_HAS_POLICING(9)DPNI_OPT_SHARED_CONGESTION(9)DPNI_OPT_HAS_KEY_MASKING(9)DPNI_OPT_NO_FS(9)DPNI_OPT_SHARED_FS(9)
π the structs & enums (the supporting cast)
struct dpni_pools_cfg(9)struct dpni_attr(9)enum dpni_error_action(9)struct dpni_error_cfg(9)struct dpni_buffer_layout(9)enum dpni_queue_type(9)enum dpni_offload(9)union dpni_statistics(9)struct dpni_link_cfg(9)struct dpni_link_state(9)enum dpni_dist_mode(9)enum dpni_fs_miss_action(9)struct dpni_fs_tbl_cfg(9)struct dpni_rx_tc_dist_cfg(9)struct dpni_rx_dist_cfg(9)struct dpni_qos_tbl_cfg(9)enum dpni_dest(9)struct dpni_queue(9)struct dpni_queue_id(9)enum dpni_congestion_unit(9)enum dpni_congestion_point(9)struct dpni_dest_cfg(9)struct dpni_congestion_notification_cfg(9)struct dpni_taildrop(9)struct dpni_rule_cfg(9)struct dpni_fs_action_cfg(9)struct dpni_tx_shaping_cfg(9)struct dpni_single_step_cfg(9)
π the error girlies
DPNI_ERROR_EOFHE(9)DPNI_ERROR_FLE(9)DPNI_ERROR_FPE(9)DPNI_ERROR_PHE(9)DPNI_ERROR_L3CE(9)DPNI_ERROR_L4CE(9)
π the buffer-layout sister macros (our direct siblings, hi fam)
DPNI_BUF_LAYOUT_OPT_TIMESTAMP(9)DPNI_BUF_LAYOUT_OPT_PARSER_RESULT(9)DPNI_BUF_LAYOUT_OPT_FRAME_STATUS(9)DPNI_BUF_LAYOUT_OPT_PRIVATE_DATA_SIZE(9)DPNI_BUF_LAYOUT_OPT_DATA_HEAD_ROOM(9)DPNI_BUF_LAYOUT_OPT_DATA_TAIL_ROOM(9)
π₯ the flow-steering & FS option besties
DPNI_FS_MISS_DROP(9)DPNI_FS_OPT_DISCARD(9)DPNI_FS_OPT_SET_FLC(9)DPNI_FS_OPT_SET_STASH_CONTROL(9)DPNI_CONG_OPT_FLOW_CONTROL(9)
fr fr, that's the whole guest list and nobody got left off π
ngl, if you ever feel like renaming this macro to something shorter, don't β it's DPNI_BUF_LAYOUT_OPT_DATA_ALIGN and that's her name, that's her brand, we respect it π
and that's the page, bestie π«Ά this little icon was served up from ./drivers/net/ethernet/freesca... in October 2026 β so yeah, kernel manual energy, dated and everything, slay π
β¨
π¦ 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