ice_sched_rm_vsi_subtree(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_sched_rm_vsi_subtree β€” a Kernel API Manual moment πŸŽ€

okay so real talk, this is a page from the Kernel API Manual, and it's about yeeting an entire VSI subtree out of the scheduler tree. bestie, it's giving cleanup era ✨

✨ NAME ✨

ice_sched_rm_vsi_subtree β€” remove all nodes assigned to a given VSI 🧹

πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_sched_rm_vsi_subtree (struct ice_port_info *pi , struct
       ice_sched_node *vsi_node , u8 owner , u8 tc );

🌸 ARGUMENTS 🌸

  • pi β€” the port information structure, your main character struct fr πŸ’–
  • vsi_node β€” pointer to the leftmost node of the VSI that's getting removed πŸ‘‘
  • owner β€” LAN or RDMA, pick your fighter πŸ₯Š
  • tc β€” the TC number, no cap πŸ”’

πŸ’« RETURN πŸ’«

Zero in case of success πŸŽ‰ β€” or -EBUSY if the VSI has leaf nodes in TC 😭 (yeah, it's gonna block you, that's the vibe check)

πŸ”₯ DESCRIPTION πŸ”₯

This function removes all the VSI support nodes associated with a given VSI and its LAN or RDMA children nodes from the scheduler tree. literally all of them. the whole subtree said bye πŸ‘‹πŸ¦‹

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/intel/ice/ice_sched.c β€” and honestly the whole friend group showed up, so here's the full guest list πŸ’œ:


okay and that's the whole page, bestie 🫢 this gem lives at ./drivers/net/ethernet/intel/ice and it's dated October 2026 ⭐ β€” that's a wrap, slay πŸ’…πŸŽ€

πŸ“¦ where this page comes from