STRUCT DPNI_RX_DIST_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dpni_rx_dist_cfg(9) β€” Kernel API Manual πŸŽ€

okay bestie, welcome to the <purple>dpni_rx_dist_cfg</purple> page from the Kernel API Manual ✨ this is the struct that holds your Rx distribution configuration β€” like, the whole vibe of how received packets get spread around. sit down, hydrate, let's go 🫢


🌸 NAME 🌸

struct dpni_rx_dist_cfg β€” Rx distribution configuration πŸ’– (yes that's the whole name, it's giving "I do one thing and I do it well")


✨ SYNOPSIS ✨

struct dpni_rx_dist_cfg {
    u16 dist_size;
    u64 key_cfg_iova;
    u8 enable;
    u8 tc;
    u16 fs_miss_flow_id;
 };

not me obsessing over a five-field struct 😭 it's small but it's mighty, periodt.


πŸ¦‹ Members πŸ¦‹

  • dist_size β€” the distribution size, literally. that's the whole description, she's concise πŸ‘‘
  • key_cfg_iova β€” okay so this is the I/O virtual address of 256 bytes of DMA-able memory, filled with the extractions used for the distribution key, and you fill it by calling dpni_prepare_key_cfg 🌈 heads up though: this field is only relevant when enable!=0 β€” otherwise it can be '0' and nobody's mad about it 🫢
  • enable β€” enable/disable the distribution. on or off, that's the whole job πŸ’…
  • tc β€” the TC id for which the distribution is set πŸŽ€
  • fs_miss_flow_id β€” so when a packet misses all the rules from the flow steering table and hash is disabled, it gets put into this queue id πŸ“. use DPNI_FS_MISS_DROP to drop frames (yes, drop them, no cap πŸ’€). ngl the important bit: the value of this field is used only when flow steering distribution is enabled and hash distribution is disabled β€” iykyk, context matters πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.h β€” go read the source bestie, it's right there 🧚


bestie the whole friend group is here, this struct literally never goes anywhere alone 😭 it's main character energy with a supporting cast of like fifty ✨

and that's the page!! πŸ’œ source vibes from ./drivers/net/ethernet/freesca... (you know the one, the dpaa2 corner of the kernel 🌈) and it's dated October 2026 β€” so like, from the future, iconic behavior honestly ⭐ slay, bye πŸŽ€

πŸ“¦ where this page comes from