idpf_txq_group_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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

🧚 vport + queue group era

πŸ’œ tx path besties

πŸ“ rx path besties

🌈 interrupts, napi & DIM (the whole department)

⭐ 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