ice_sched_set_eir_srl_excl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_sched_set_eir_srl_excl β€” Kernel API Manual ✨

okay so bestie, buckle up, we're diving into the ice driver's scheduler internals and honestly? it's giving main character energy. this one lives in the Kernel API Manual and it's here to help you set EIR/SRL exclusiveness. slay. πŸ’…


🌸 NAME 🌸

ice_sched_set_eir_srl_excl β€” set EIR/SRL exclusiveness. periodt. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

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

literally right there. iconic signature, no notes. πŸ¦‹


🫢 ARGUMENTS 🫢

okay so here's the rundown of every single thing you're passing in, no cap:

  • pi β€” port information structure. it's the big picture, the port's whole situation. πŸ’–
  • node β€” pointer to the node structure. yes, a pointer. you know the drill. πŸ”₯
  • layer_num β€” the layer number where rate limit profiles are saved. remember where you put them, bestie. 🌸
  • rl_type β€” rate limit type: min, max, or shared. pick your fighter. πŸ’…
  • bw β€” bandwidth value. it's a u32, it's the number, it's the whole point. ✨

πŸ’œ DESCRIPTION πŸ’œ

so what does this actually do? this function prepares the node element's bandwidth to be SRL or EIR β€” exclusively. like, mutually exclusive. you cannot have both. pick a lane, babe. 🚦

here's the tea: EIR BW and Shared BW profiles are mutually exclusive, so only one of them may be set for any given element. it's not a both situation, it's an either/or situation. iykyk. πŸŽ€

⚠️ important bestie warning: this function needs to be called with the scheduler lock held. do not skip this. do not pass go. hold the lock. πŸ”’πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

okay this list is long but we're gonna get through it together, bestie. every single one. no skipping. here's the whole squad from ./drivers/net/ethernet/intel/ice/ice_sched.c:

whew. that's the whole friend group. they're all in ./drivers/net/ethernet/intel/ice/ice_sched.c and honestly they all ate. πŸ’…πŸ”₯


and that's the page, bestie! 🌈 this little beauty comes from ./drivers/net/ethernet/intel/ice and the date on it is October 2026. go forth, set your EIR/SRL exclusiveness, hold that scheduler lock, and slay. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’œ

πŸ“¦ where this page comes from