ice_sched_set_node_bw_dflt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_sched_set_node_bw_dflt β€” the Kernel API Manual glow-up ✨

okay so bestie, welcome to the ice scheduler corner of the kernel, because we are literally about to reset a node's bandwidth rate limit profile back to default and honestly? iconic behaviour. this page lives in the Kernel API Manual and it's giving "small function, big scheduler energy" 🫢


🌸 NAME 🌸

ice_sched_set_node_bw_dflt β€” set node's bandwidth limit to default. that's it, that's the whole vibe. no cap πŸ’–


✨ SYNOPSIS ✨

int ice_sched_set_node_bw_dflt (struct ice_port_info *pi , struct
       ice_sched_node *node , enum ice_rl_type rl_type , u8 layer_num );

like, copy it exactly bestie, character for character, because the compiler does not care about your feelings 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • pi β€” port information structure. yes it's the port info, she's the main character here, show her some respect πŸ‘‘
  • node β€” pointer to the node structure. this is the node we're about to give the default treatment to πŸ¦‹
  • rl_type β€” rate limit type: min, max, or shared. three flavours, pick your girl πŸ’…
  • layer_num β€” layer number where RL profiles are saved. that's where the profile lives, that's where we're going 🧚

πŸ’– DESCRIPTION πŸ’–

so what does she actually DO? this function configures the node element's BW rate limit profile ID β€” of type CIR, EIR, or SRL β€” to default. periodt. that's the assignment and she ate πŸ”₯

⚠️ okay this is the important part, do NOT skip it: this function needs to be called with the scheduler lock held. like, actually held. not "I think I held it", not "my friend held it". HELD. fr fr, respect the lock πŸ™ˆ

🌈 SEE ALSO 🌈

the whole extended friend group, in all her glory β€” every single one of these, no skipping πŸ’œ


that's the whole page bestie, go forth and set some default bandwidth limits responsibly πŸ’™

🌟 little sign-off moment: this one comes from ./drivers/net/ethernet/intel/ice, dated October 2026, and the page itself is ice_sched_set_node_bw_dflt(9) β€” write it on your hand if you have to, iykyk πŸŽ€βœ¨
πŸ“¦ where this page comes from