STRUCT DPNI_QOS_TBL_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dpni_qos_tbl_cfg β€” Kernel API Manual ✨

okay bestie, we're in struct dpni_qos_tbl_cfg(9) territory and honestly? this one's a lil cutie. it's a kernel API manual page, and it's giving "small struct, big responsibilities" πŸŽ€


🌸 NAME 🌸

struct dpni_qos_tbl_cfg β€” the structure that represents your QOS table configuration, no cap πŸ’–


✨ SYNOPSIS ✨

struct dpni_qos_tbl_cfg {
    u64 key_cfg_iova;
    int discard_on_miss;
    u8 default_tc;
 };

like, three members. three. and yet she's iconic πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • key_cfg_iova β€” this is the I/O virtual address of 256 bytes of DMA-able memory, and that memory is filled with key extractions that get used as the QoS criteria β€” you set those up by calling dpkg_prepare_key_cfg. so yeah, it's your key config's address, and the DMA memory better be there, bestie 🫢
  • discard_on_miss β€” set this to '1' if you want frames discarded whenever there's no match (a miss). literally "no match, no mercy" πŸ’€
  • default_tc β€” the fallback TC that gets used when there's no match AND 'discard_on_miss' = 0. she's the understudy, and she's ready 🌟

πŸ‘‘ SEE ALSO πŸ‘‘

first up, the kernel file herself:

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.h

and then the whole extended friend group β€” every single one, in order, because we do NOT leave anyone out πŸ’œ:


ngl, that SEE ALSO list is a whole group chat and we love that for her πŸ’…

source is ./drivers/net/ethernet/freesca... (yes it's literally written all truncated like that, don't come for me πŸ™ˆ), dated October 2026, and the page footer signs off as struct dpni_qos_tbl_cfg(9) again β€” main character energy, repeating her own name at the bottom πŸ˜­πŸ’– periodt.

πŸ“¦ where this page comes from