ice_sched_get_free_qgrp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_sched_get_free_qgrp πŸ’…

okay bestie, welcome to the Kernel API Manual, section 9 β€” yes this is a kernel function page and yes it's about to be the most fun you've ever had with queue groups ✨


🌸 NAME 🌸

ice_sched_get_free_qgrp β€” scan all queue group siblings and find a free node πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

struct ice_sched_node * ice_sched_get_free_qgrp (struct ice_port_info
*pi , struct ice_sched_node *vsi_node , struct ice_sched_node *qgrp_node
, u8 owner );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pi β€” the port information structure, aka the whole vibe of this port 🫢
  • vsi_node β€” the software VSI handle, your main character node πŸ’«
  • qgrp_node β€” the first queue group node that got picked for scanning β€” the starting point of the search, not the winner (yet) πŸ‘€
  • owner β€” LAN or RDMA, pick your fighter πŸ₯Š

πŸ’– DESCRIPTION πŸ’–

so what this function does is it goes and retrieves a free LAN or RDMA queue group node πŸ”₯ and the way it does that is iconic: it scans qgrp_node and its siblings and picks the queue group with the fewest number of queues currently assigned to it. literally the least-busy sibling wins. lowkey a popularity contest but in reverse πŸ’€

so if you're like "which queue group is the most free rn", this is the function you call, no cap 🧚


🌈 SEE ALSO 🌈

first up, the kernel file itself lives right here, go read the source bestie:

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_sched.c

and then the entire ice_sched extended family showed up to the group chat, in this exact order, don't @ me:


okay that's the whole page, you ate that πŸ’… mwah 🫢

so cute, so official: this one's from ./drivers/net/ethernet/intel/ice, dated October 2026. the manual calls itself ice_sched_get_free_qgrp(9) in the corner, but we already knew that πŸ’– byeee πŸ¦‹βœ¨
πŸ“¦ where this page comes from