DPNI_OPT_HAS_POLICING(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– DPNI_OPT_HAS_POLICING(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for DPNI_OPT_HAS_POLICING(9) β€” yes the manual name is literally in the title, we're fancy like that ✨


πŸŽ€ NAME πŸŽ€

DPNI_OPT_HAS_POLICING β€” the flag that says "allocate policers for this DPNI" πŸ’…

And like, what are those policers for? They can be used to rate-limit traffic per traffic class (TC) basis. That's the whole vibe. Traffic shaping but make it per-TC, no cap 🚦


✨ SYNOPSIS ✨

DPNI_OPT_HAS_POLICING

that's it. that's the synopsis. she's short, she's iconic, she doesn't need a synopsis essay 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

okay so this is where it gets real β€” the related-reading list is genuinely enormous and I'm obsessed. First up, the actual kernel file this lives in:

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

then the flag besties:

the pool / attr era:

  • struct dpni_pools_cfg(9), struct dpni_attr(9)

error-code girlies (we love a good error enum):

buffer layout squad β€” truly the main characters of "where do my bytes go":

queues, stats, links, distribution:

  • 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), DPNI_FS_MISS_DROP(9), struct dpni_rx_dist_cfg(9), struct dpni_qos_tbl_cfg(9)

destinations & queues, part two:

  • enum dpni_dest(9), struct dpni_queue(9), struct dpni_queue_id(9)

congestion notification (the rate-limit-adjacent lore πŸ‘€):

  • enum dpni_congestion_unit(9), enum dpni_congestion_point(9), struct dpni_dest_cfg(9), DPNI_CONG_OPT_FLOW_CONTROL(9), struct dpni_congestion_notification_cfg(9), struct dpni_taildrop(9)

rules & flow steering:

and the final two absolute icons:

  • struct dpni_tx_shaping_cfg(9), struct dpni_single_step_cfg(9)
bestie that's 58 references, I counted, and every single one is here. go read them. or don't. but like, they're there πŸ’€

🌸 okay that's the whole page!! love u, go rate-limit something per TC πŸ’–

this was DPNI_OPT_HAS_POLICING(9) from the Kernel API Manual, sourced from ./drivers/net/ethernet/freesca..., dated October 2026 β€” mwah, signing off, periodt πŸŽ€βœ¨

πŸ“¦ where this page comes from