__ice_vsi_get_qs_sc(9)
π NAME π
okay so bestie, this is the page for __ice_vsi_get_qs_sc(9) from the Kernel API Manual, and it's lowkey here to do one job: assign a scattered queues from PF to VSI β¨. Not me being obsessed with a tiny kernel helper, but the vibe is very main character does queue assignment π. Slay.
π¦ SYNOPSIS π¦
int __ice_vsi_get_qs_sc (struct ice_qs_cfg *qs_cfg );
π ARGUMENTS π
qs_cfgβ gathered variables needed forpf->vsiqueues assignment. That's the whole bag this function needs, iykyk π«Ά.
πΈ DESCRIPTION πΈ
This function returns 0 on success. And if there's literally no left space in the PF queue bitmap? It returns -ENOMEM, no cap π. That's the whole story β dramatic enough for a kernel function, periodt π.
π SEE ALSO π
Kernel file first, because she's iconic:
./drivers/net/ethernet/intel/ice/ice_base.c
Then the whole squad:
__ice_vsi_get_qs_contig(9)ice_pf_rxq_wait(9)ice_vsi_alloc_q_vector(9)ice_free_q_vector(9)ice_cfg_itr_gran(9)ice_calc_txq_handle(9)ice_cfg_xps_tx_ring(9)ice_set_txq_ctx_vmvf(9)ice_setup_tx_ctx(9)ice_setup_txtime_ctx(9)ice_calc_ts_ring_count(9)ice_setup_rx_ctx(9)ice_vsi_cfg_rxq(9)ice_vsi_cfg_frame_size(9)ice_vsi_cfg_rxqs(9)__ice_vsi_get_qs(9)ice_vsi_ctrl_one_rx_ring(9)ice_vsi_wait_one_rx_ring(9)ice_vsi_alloc_q_vectors(9)ice_vsi_map_rings_to_vectors(9)ice_vsi_free_q_vectors(9)ice_cfg_tstamp(9)ice_vsi_cfg_txq(9)ice_vsi_cfg_txqs(9)ice_vsi_cfg_lan_txqs(9)ice_vsi_cfg_xdp_txqs(9)ice_cfg_itr(9)ice_cfg_txq_interrupt(9)ice_cfg_rxq_interrupt(9)ice_trigger_sw_intr(9)ice_vsi_stop_tx_ring(9)ice_fill_txq_meta(9)ice_qp_reset_stats(9)ice_qp_clean_rings(9)ice_qp_dis(9)ice_qp_ena(9)
mwah π β source/version: ./drivers/net/ethernet/intel/ice; date: October 2026; title: __ice_vsi_get_qs_sc(9). byeee π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms