ice_sched_set_node_bw_lmt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ice_sched_set_node_bw_lmt(9) ✨

Okay so bestie, we're deep in the kernel API manual today β€” this one's a (9) page, so you already know it's some internal kernel-function lore πŸ’…. It lives in the Kernel API Manual, and honestly? She's giving "small function, big responsibilities." Let's get into it πŸŽ€


🌸 NAME 🌸

ice_sched_set_node_bw_lmt β€” literally just sets a node's BW limit, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_sched_set_node_bw_lmt (struct ice_port_info *pi , struct
       ice_sched_node *node , enum ice_rl_type rl_type , u32 bw );

That's the whole signature, bestie β€” copy it exactly if you're typing it out, okay? 😭


πŸ’– ARGUMENTS πŸ’–

  • pi β€” the port information structure. Think of it as the home base 🏠.
  • node β€” a tree node. Yep, we're in tree territory now 🌳.
  • rl_type β€” the rate limit type: min, max, or shared. Pick your fighter ✨.
  • bw β€” bandwidth in Kbps β€” that's Kilo bits per sec, not kilobytes, don't get it twisted πŸ™ˆ.

πŸ”₯ DESCRIPTION πŸ”₯

So what does she actually do? She updates the node's BW limit parameters β€” specifically the BW RL profile ID of type CIR, EIR, or SRL. That's it, that's the job πŸ‘‘

⚠️ But listen β€” the caller needs to hold the scheduler lock. No lock, no love. Do not skip this, fr fr πŸ’€

🌈 SEE ALSO 🌈

The kernel file in question:

./drivers/net/ethernet/intel/ice/ice_sched.c

And the whole extended friend group (yes, all of them, we're not leaving anyone out 🫢):


🧚 Sign-off 🧚

That's the whole page, bestie β€” sourced from ./drivers/net/ethernet/intel/ice, dated October 2026, and yes, this is the ice_sched_set_node_bw_lmt(9) page you were looking for. Go forth, hold that scheduler lock, and set those BW limits like the icon you are β­πŸ’œ

πŸ“¦ where this page comes from