STRUCT VIRTCHNL2_GET_LAN_MEMORY_REGIONS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct virtchnl2_get_lan_memory_regions(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– this one's a little struct with big "tell me where the memory lives" energy, and honestly? she ate.


🌸 NAME 🌸

struct virtchnl2_get_lan_memory_regions β€” literally just a list of LAN MMIO memory regions πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct virtchnl2_get_lan_memory_regions {
    __le16 num_memory_regions;
    u8 pad[6];
    struct virtchnl2_mem_region mem_reg[];
 };

no cap, that's the whole shape of her πŸ’…


πŸ‘‘ Members πŸ‘‘

  • num_memory_regions β€” the number of memory regions πŸ“ like, how many are we talking
  • pad β€” padding ✨ it's just vibes and empty space, don't think about it too hard
  • mem_reg β€” the list with memory region info 🧚 this is the main character, the actual data right here

🌈 Description 🌈

so here's the tea: the PF/VF sends this message to find out which LAN MMIO memory regions it should map 🫢 that's it, that's the whole errand. it's giving "hey bestie, which regions am I supposed to map?" and the answer comes back in mem_reg. iconic. πŸ”₯


⭐ SEE ALSO ⭐

kernel file ./include/linux/net/intel/virtchnl2.h

and the whole friend group πŸ’œ, all the related (9) pages:

  • 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_queue_vector_maps(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_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)

go read them all, iykyk πŸ’€βœ¨


aaaand that's the page!! this one lives in ./include/linux/net/intel, dated October 2026 πŸ—“οΈπŸ’– mwah, catch you in the next manpage bestie πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from