STRUCT IDPF_VECTOR_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct idpf_vector_info(9) πŸ’…

okay so this is a page straight out of the Kernel API Manual (section 9, bestie, we're in the kernel docs now πŸ”₯) and it's about struct idpf_vector_info β€” a literal utility structure whose whole entire job is to pass function arguments as a structure. that's it. that's the gig. she's a little carrier pigeon for your args πŸ•ŠοΈβœ¨


πŸŽ€ NAME πŸŽ€

struct idpf_vector_info β€” a utility structure to pass function arguments as a structure πŸ’–

like, she doesn't do anything, she just holds things. main character energy, honestly πŸ‘‘


✨ SYNOPSIS ✨

struct idpf_vector_info {
    u16 num_req_vecs;
    u16 num_curr_vecs;
    u16 index;
    bool default_vport;
 };

(no cap, that trailing }; with the space before it is exactly how it's written, we do not touch it πŸ™ˆ)


πŸ¦‹ MEMBERS πŸ¦‹

  • num_req_vecs β€” the vectors you actually need, based on how many queues the user updated via ethtool. this is the wishlist πŸ“
  • num_curr_vecs β€” the current number of vectors. and heads up bestie, this one must be >= num_req_vecs ⚠️ β€” that's not a suggestion, that's the rule, periodt.
  • index β€” the relative starting index for vectors. like where you're hopping on the bus 🚌
  • default_vport β€” yep, a bool, and if it's set, the vectors are for the default vport. simple as πŸ“

🌈 SEE ALSO 🌈

this is the part where the whole friend group shows up, and i mean the whole friend group β€” they all live in the kernel file ./drivers/net/ethernet/intel/idpf/idpf.h:

like i said. everyone. bring snacks πŸ«ΆπŸ“πŸ’œ


fr fr though β€” num_curr_vecs >= num_req_vecs is the one thing to remember. don't be the person who forgets πŸ’€

and that's the page!! credit where it's due: this one comes from ./drivers/net/ethernet/intel/idpf, dated October 2026, and it's filed under the Kernel API Manual, section struct idpf_vector_info(9). slay, documented, iconic, periodt πŸ‘‘βœ¨πŸ’…

πŸ“¦ where this page comes from