idpf_txq_group_alloc(9)
π idpf_txq_group_alloc(9) π
okay so bestie, welcome to the Kernel API Manual (section 9, the good section) β this is the page for idpf_txq_group_alloc, and it's literally the girl whose whole job is: allocate all txq group resources. that's the NAME, that's the vibe, no cap. π
β¨ SYNOPSIS β¨
int idpf_txq_group_alloc (struct idpf_vport *vport , struct
idpf_q_vec_rsrc *rsrc , u16 num_txq );
it returns an int and it takes three args, and yes the spacing in that signature is exactly how it ships β leave it alone, she's perfect π
πΈ ARGUMENTS πΈ
vportβ the vport you're allocating txq groups for. she's the main character here, everything gets built inside her π«Άrsrcβ a pointer to queue and vector resources. lowkey the supply drop: queues, vectors, all of it β¨num_txqβ number of txqs to allocate for each group. per group, bestie, not total β read it twice, iykyk π
π RETURN π
0 on success, negative on failure.
that's it. zero is the slay, negative is the "not me crying in the kernel log" π
π₯ SEE ALSO π₯
the source file is right here, go read it, she's iconic:
./drivers/net/ethernet/intel/idpf/idpf_txrx.c
and now the full guest list β every single one of them, because we do not gatekeep on this page π
π¦ the alloc / free resource squad
idpf_chk_linearize(9)idpf_tx_timeout(9)idpf_tx_buf_rel_all(9)idpf_tx_desc_rel(9)idpf_compl_desc_rel(9)idpf_tx_desc_rel_all(9)idpf_tx_buf_alloc_all(9)idpf_tx_desc_alloc(9)idpf_compl_desc_alloc(9)idpf_tx_desc_alloc_all(9)idpf_rx_page_rel(9)idpf_rx_hdr_buf_rel_all(9)idpf_rx_buf_rel_bufq(9)idpf_rx_buf_rel_all(9)idpf_rx_desc_rel(9)idpf_rx_desc_rel_bufq(9)idpf_rx_desc_rel_all(9)idpf_rx_buf_hw_update(9)idpf_rx_hdr_buf_alloc_all(9)idpf_post_buf_refill(9)idpf_rx_post_buf_desc(9)idpf_rx_post_init_bufs(9)idpf_rx_buf_alloc_singleq(9)idpf_rx_bufs_init_singleq(9)idpf_rx_buf_alloc_all(9)idpf_rx_bufs_init(9)idpf_rx_bufs_init_all(9)idpf_rx_desc_alloc(9)idpf_bufq_desc_alloc(9)idpf_rx_desc_alloc_all(9)
π§ vport + queue group era
idpf_vector_to_queue_set(9)idpf_qp_switch(9)idpf_txq_group_rel(9)idpf_rxq_sw_queue_rel(9)idpf_rxq_group_rel(9)idpf_vport_queue_grp_rel_all(9)idpf_vport_queues_rel(9)idpf_vport_init_fast_path_txqs(9)idpf_vport_init_num_qs(9)idpf_vport_calc_num_q_desc(9)idpf_vport_calc_total_qs(9)idpf_vport_calc_num_q_groups(9)idpf_vport_calc_numq_per_grp(9)idpf_rxq_set_descids(9)idpf_rxq_group_alloc(9)idpf_vport_queue_grp_alloc_all(9)idpf_vport_queues_alloc(9)
π tx path besties
idpf_tx_read_tstamp(9)idpf_tx_splitq_clean(9)idpf_tx_clean_bufs(9)idpf_tx_handle_rs_completion(9)idpf_tx_clean_complq(9)idpf_wait_for_sw_marker_completion(9)idpf_tx_splitq_build_ctb(9)idpf_tx_splitq_build_flow_desc(9)idpf_txq_has_room(9)idpf_tx_maybe_stop_splitq(9)idpf_tx_buf_hw_update(9)idpf_tx_res_count_required(9)idpf_tx_splitq_bump_ntu(9)idpf_tx_get_free_buf_id(9)idpf_tx_splitq_pkt_err_unmap(9)idpf_tx_splitq_map(9)idpf_tso(9)idpf_tx_splitq_get_ctx_desc(9)idpf_tx_drop_skb(9)idpf_tx_tstamp(9)idpf_tx_set_tstamp_desc(9)idpf_tx_splitq_need_re(9)idpf_tx_splitq_frame(9)idpf_tx_start(9)
π rx path besties
idpf_rx_hash(9)idpf_rx_csum(9)idpf_rx_splitq_extract_csum_bits(9)idpf_rx_rsc(9)idpf_rx_hwtstamp(9)__idpf_rx_process_skb_fields(9)idpf_rx_hsplit_wa(9)idpf_rx_splitq_test_staterr(9)idpf_rx_splitq_is_eop(9)idpf_rx_splitq_clean(9)idpf_rx_update_bufq_desc(9)idpf_rx_clean_refillq(9)idpf_rx_clean_refillq_all(9)
π interrupts, napi & DIM (the whole department)
idpf_vport_intr_clean_queues(9)idpf_vport_intr_napi_del_all(9)idpf_vport_intr_napi_dis_all(9)idpf_vport_intr_rel(9)idpf_vport_intr_rel_irq(9)idpf_vport_intr_dis_irq_all(9)idpf_vport_intr_buildreg_itr(9)idpf_update_dim_sample(9)idpf_net_dim(9)idpf_vport_intr_update_itr_ena_irq(9)idpf_vport_intr_req_irq(9)idpf_vport_intr_write_itr(9)idpf_vport_intr_ena_irq_all(9)idpf_vport_intr_dis_dim_all(9)idpf_vport_intr_deinit(9)idpf_tx_dim_work(9)idpf_rx_dim_work(9)idpf_init_dim(9)idpf_vport_intr_napi_ena_all(9)idpf_tx_splitq_clean_all(9)idpf_rx_splitq_clean_all(9)idpf_vport_splitq_napi_poll(9)idpf_vport_intr_map_vector_to_qs(9)idpf_vport_intr_init_vec_idx(9)idpf_vport_intr_napi_add_all(9)idpf_vport_intr_alloc(9)idpf_vport_intr_init(9)
β rss girlies
π that's every single cross-reference on the page, bestie β nothing skipped, nothing merged, nothing invented. if you need the real tea, the source lives in ./drivers/net/ethernet/intel/idpf. π«Ά
and that's the page!! this cutie shipped as part of the Kernel API Manual, out of ./drivers/net/ethernet/intel/idpf, dated October 2026 β periodt, go allocate some txq groups responsibly β¨ππΈ
π¦ 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