icc_set_bw(9)
π icc_set_bw(9) β the kernel API manual, but make it make sense
okay bestie, welcome to the icc_set_bw page π this one lives in the Kernel API Manual and it's literally the glow-up your interconnect path has been waiting for. no cap.
β¨ NAME β¨
icc_set_bw β set bandwidth constraints on an interconnect path π
πΈ SYNOPSIS πΈ
int icc_set_bw (struct icc_path *path , u32 avg_bw , u32 peak_bw );
π¦ ARGUMENTS π¦
pathβ the interconnect path. that's your lil route between two endpoints, the main character of this whole function β¨avg_bwβ average bandwidth, measured in kilobytes per second πpeak_bwβ peak bandwidth, also in kilobytes per second π₯ (yes, the spicy one)
π DESCRIPTION π
so here's the vibe: this function is what an interconnect consumer calls to say "hey, these are my needs" β in terms of bandwidth β for a path it already requested earlier between two endpoints. you're not creating anything here, you're just expressing your truth π
the requests get aggregated, and then each node along the way is updated accordingly. the entire path is locked by a mutex to make sure the whole set actually completes β nobody's cutting in mid-update, periodt. π
quick heads-up bestie:pathcan totally beNULLβ that happens when the"interconnects"DT properties are missing. in that case, it just means no constraints will be set. no drama, no constraints, we move on. π«Ά
returns 0 on success, or an appropriate error code otherwise. that's it, that's the return π
π SEE ALSO π
the kernel file lives at ./drivers/interconnect/core.c β go say hi π and while you're there, here's the whole friend group:
of_icc_get_from_provider(9)of_icc_get_by_index(9)of_icc_get(9)icc_get(9)icc_set_tag(9)icc_get_name(9)icc_put(9)icc_node_create_dyn(9)icc_node_create(9)icc_node_destroy(9)icc_node_set_name(9)icc_link_nodes(9)icc_link_create(9)icc_node_add(9)icc_node_del(9)icc_nodes_remove(9)icc_provider_init(9)icc_provider_register(9)icc_provider_deregister(9)
okay that's the whole page, you ate that π
β¨ this one's from ./drivers/interconnect, dated October 2026 β see you in the next manpage, bestie, mwah ππ
π¦ 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