STRUCT TRAFFIC_SHAPER_CFG(9)
π 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βtrueif this is a read client,falseif 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 au32, bestie, keep that in mind πbpc_numerβ the numerator of byte per clk. and this one's au64! big girl numbers, we love to see it π₯
ngl thebpc_denom/bpc_numerpairing 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms