STRUCT VIRTCHNL2_QUEUE_VECTOR_MAPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

bestie, welcome to the struct virtchnl2_queue_vector_maps(9) page in the Kernel API Manual β€” yes, it’s that kernel-API manual energy, and this struct is literally Map/unmap queues info. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here’s the shape of it, character-for-character:

struct virtchnl2_queue_vector_maps {
    __le32 vport_id;
    __le16 num_qv_maps;
    u8 pad[10];
    struct virtchnl2_queue_vector qv_maps[];
};

🌸 Members 🌸

  • vport_id β€” Vport id. that’s the whole note, bestie.
  • num_qv_maps β€” Number of queue vector maps. count those maps, periodt.
  • pad β€” Padding. it’s giving β€œwe reserved some space” energy, no thoughts.
  • qv_maps β€” Queue to vector maps. the actual queue-to-vector map payload, iykyk.

πŸ’… Description πŸ’…

So the PF sends this message to map or unmap queues to vectors and interrupt throttling rate index registers. The external data buffer contains a virtchnl2_queue_vector_maps structure, and that structure contains num_qv_maps of virtchnl2_queue_vector structures. Then CP maps the requested queue vector maps after validating the queue and vector ids and returns a status code. that’s the flow, no cap.

It’s associated with VIRTCHNL2_OP_MAP_QUEUE_VECTOR and VIRTCHNL2_OP_UNMAP_QUEUE_VECTOR. ✨

πŸ”Ž SEE ALSO πŸ”Ž

Kernel file: ./include/linux/net/intel/virtchnl2.h β€” go read the source, bestie, it’s right there.

  • enum virtchnl2_vport_type(9)
  • enum virtchnl2_queue_model(9)
  • enum virtchnl2_action_types(9)
  • enum virtchnl2_txq_sched_mode(9)
  • enum virtchnl2_rxq_flags(9)
  • enum virtchnl2_mac_addr_type(9)
  • struct virtchnl2_edt_caps(9)
  • struct virtchnl2_version_info(9)
  • struct virtchnl2_get_capabilities(9)
  • struct virtchnl2_queue_reg_chunk(9)
  • struct virtchnl2_queue_reg_chunks(9)
  • enum virtchnl2_vport_flags(9)
  • struct virtchnl2_create_vport(9)
  • struct virtchnl2_vport(9)
  • struct virtchnl2_txq_info(9)
  • struct virtchnl2_config_tx_queues(9)
  • struct virtchnl2_rxq_info(9)
  • struct virtchnl2_config_rx_queues(9)
  • struct virtchnl2_add_queues(9)
  • struct virtchnl2_vector_chunk(9)
  • struct virtchnl2_vector_chunks(9)
  • struct virtchnl2_alloc_vectors(9)
  • struct virtchnl2_rss_lut(9)
  • struct virtchnl2_rss_hash(9)
  • struct virtchnl2_sriov_vfs_info(9)
  • struct virtchnl2_ptype(9)
  • struct virtchnl2_get_ptype_info(9)
  • struct virtchnl2_vport_stats(9)
  • struct virtchnl2_event(9)
  • struct virtchnl2_rss_key(9)
  • struct virtchnl2_queue_chunk(9)
  • struct virtchnl2_del_ena_dis_queues(9)
  • struct virtchnl2_queue_vector(9)
  • struct virtchnl2_loopback(9)
  • struct virtchnl2_mac_addr_list(9)
  • struct virtchnl2_promisc_info(9)
  • enum virtchnl2_ptp_caps(9)
  • struct virtchnl2_ptp_clk_reg_offsets(9)
  • struct virtchnl2_ptp_cross_time_reg_offsets(9)
  • struct virtchnl2_ptp_clk_adj_reg_offsets(9)
  • struct virtchnl2_ptp_tx_tstamp_latch_caps(9)
  • struct virtchnl2_ptp_get_vport_tx_tstamp_caps(9)
  • struct virtchnl2_ptp_get_caps(9)
  • struct virtchnl2_ptp_tx_tstamp_latch(9)
  • struct virtchnl2_ptp_get_vport_tx_tstamp_latches(9)
  • struct virtchnl2_ptp_get_dev_clk_time(9)
  • struct virtchnl2_ptp_get_cross_time(9)
  • struct virtchnl2_ptp_set_dev_clk_time(9)
  • struct virtchnl2_ptp_adj_dev_clk_fine(9)
  • struct virtchnl2_ptp_adj_dev_clk_time(9)
  • struct virtchnl2_mem_region(9)
  • struct virtchnl2_get_lan_memory_regions(9)
  • struct virtchnl2_proto_hdr(9)
  • struct virtchnl2_proto_hdrs(9)
  • struct virtchnl2_rule_action(9)
  • struct virtchnl2_rule_action_set(9)
  • struct virtchnl2_flow_rule(9)
  • struct virtchnl2_flow_rule_info(9)
  • struct virtchnl2_flow_rule_add_del(9)

mwah πŸ’‹ β€” source/version: ./include/linux/net/intel, date: October 2026. that’s the cute sign-off, and yes this whole page is struct virtchnl2_queue_vector_maps(9) 🫢

πŸ“¦ where this page comes from