STRUCT TRAFFIC_SHAPER_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct traffic_shaper_cfg(9) β€” like, the traffic shaper config era

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” this is the page for struct traffic_shaper_cfg, which is literally just the traffic shaper configuration. no cap, that's the whole vibe. it's a struct, it holds config, it shapes traffic. iconic behavior only.


✨ SYNOPSIS ✨

here's the whole thing, copy it exactly, don't @ me:

struct traffic_shaper_cfg {
    bool en;
    bool rd_client;
    u32 client_id;
    u32 bpc_denom;
    u64 bpc_numer;
 };

look at her. five fields. main character energy fr fr 🫢


🌸 Members 🌸

okay let's go through the squad one by one, each one ate and left no crumbs:

  • en β€” enable/disable the traffic shaper. that's it, that's the whole job. the on/off switch of the group chat πŸ’…
  • rd_client β€” true if this is a read client, false if it's a write client. literally the "are you a reader or a writer" vibe check πŸ¦‹
  • client_id β€” the client identifier. who is she? her ID, obviously ✨
  • bpc_denom β€” the denominator of byte per clk. it's a u32, bestie, keep that in mind πŸ‘‘
  • bpc_numer β€” the numerator of byte per clk. and this one's a u64! big girl numbers, we love to see it πŸ”₯
ngl the bpc_denom / bpc_numer pairing is giving fraction, and you KNOW bytes per clk is a rate β€” respect the ratio, periodt.

🧚 SEE ALSO 🧚

go read these next, iykwup, they're all in Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.h:

  • struct split_pipe_cfg(9)
  • struct dpu_danger_safe_status(9)
  • struct dpu_vsync_source_cfg(9)
  • struct dpu_hw_mdp_ops(9)

that's the whole page, no skips, no crumbs left behind πŸ“

✨ mwah ✨ this cutie lives in ./drivers/gpu/drm/msm/disp/dpu1, the source/version vibes are dated October 2026, and yes we're still on struct traffic_shaper_cfg(9) β€” signing off, stay slay, go read your headers πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from