STRUCT IDPF_TXQ_GROUP(9)
β¨ struct idpf_txq_group(9) β¨
okay bestie, welcome to the kernel API manual π«Ά this one's a struct page from ./drivers/net/ethernet/intel/idpf, and it's literally the group chat for your TX queues π
let's get into it.
πΈ NAME πΈ
struct idpf_txq_group β no cap, that's the whole name section, they left it blank and honestly? iconic minimalism π
π¦ SYNOPSIS π¦
struct idpf_txq_group {
struct idpf_vport *vport;
u16 num_txq;
struct idpf_tx_queue *txqs[IDPF_LARGE_MAX_Q];
struct idpf_compl_queue *complq;
aligned_u64 num_completions_pending;
};
like, that's the whole squad right there π
π Members π
vportβ the back pointer to the vport, aka where this whole thing came from, its origin story fr fr π§num_txqβ how many TX queues are associated with this group. the headcount, basically β¨txqsβ an array of TX queue pointers, sizedIDPF_LARGE_MAX_Q. yes, an array, it's giving main character energy πcomplqβ the associated completion queue pointer β and bestie, listen: this one is split queue only πnum_completions_pendingβ the total number of completions pending for the completion queue, accumulated for all TX queues associated with that completion queue. that's a lot of pending, lowkey π
π₯ Description π₯
okay so here's the tea β between singleq and splitq, a txq_group is largely the same except for the complq. that's the one difference, periodt.
in splitq, a single complq is responsible for handling completions for some number of txqs associated in this txq_group. so like, one complq carrying the whole team on its back π slay.
π SEE ALSO π
kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.h β and all these besties:
struct idpf_tx_offload_params(9)struct idpf_tx_splitq_params(9)enum idpf_queue_flags_t(9)struct idpf_vec_regs(9)struct idpf_intr_reg(9)struct idpf_q_vector(9)struct idpf_rx_queue(9)struct idpf_tx_queue(9)struct idpf_buf_queue(9)struct idpf_compl_queue(9)struct idpf_sw_queue(9)struct idpf_rxq_set(9)struct idpf_bufq_set(9)struct idpf_rxq_group(9)idpf_size_to_txd_count(9)idpf_tx_singleq_build_ctob(9)idpf_tx_splitq_build_desc(9)idpf_vport_intr_set_wb_on_itr(9)idpf_tx_splitq_get_free_bufs(9)
π sign-off π
this lil page lives at ./drivers/net/ethernet/intel/idpf, dated October 2026, and it's page struct idpf_txq_group(9) of your Kernel API Manual π go forth and slay those queues, bestie π¦β¨
π¦ 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