STRUCT DPNI_RULE_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dpni_rule_cfg(9) β€” the Kernel API Manual tea πŸ«–

okay bestie, so this is a page from the Kernel API Manual and it's about one struct: struct dpni_rule_cfg, which is literally the rule configuration for table lookup. that's the whole vibe. let's get into it ✨


🌸 NAME 🌸

struct dpni_rule_cfg β€” Rule configuration for table lookup. yes, that's what it does, no notes πŸ’…


✨ SYNOPSIS ✨

here's the whole squad, exactly as it appears:

struct dpni_rule_cfg {
    u64 key_iova;
    u64 mask_iova;
    u8 key_size;
 };

three members, three little icons, periodt πŸŽ€


πŸ¦‹ Members (the cast πŸ’–)

  • key_iova β€” the I/O virtual address of the key. and it must be in DMA-able memory, no cap, that's a requirement not a suggestion πŸ‘‘
  • mask_iova β€” the I/O virtual address of the mask. same deal: must be in DMA-able memory. matching bestie energy 🫢
  • key_size β€” the key and mask size, measured in bytes. yeah, one size for both, it's giving efficient 🌈

πŸŽ€ SEE ALSO πŸŽ€

okay this list is long but we don't skip, we don't summarise, we list every single one because that's the assignment πŸ’€

first up, the kernel file herself:

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

and the whole extended friend group:

like, that's the whole group chat and every single one of them made it into the list πŸ˜­πŸ’œ


ngl the only thing this page is strict about: those two addresses have to be DMA-able memory. everything else is just sizes and vibes 🧚

and that's the tea, bestie πŸ“ this page came from the source ./drivers/net/ethernet/freesca... and it's dated October 2026 β€” so yeah, it's from the future, main character energy only πŸ‘‘βœ¨ bye ily πŸ«ΆπŸ’–

πŸ“¦ where this page comes from