STRUCT VIRTCHNL2_RSS_LUT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct virtchnl2_rss_lut(9) β€” the RSS LUT info glow-up πŸŽ€

okay so bestie, welcome to the struct virtchnl2_rss_lut(9) page in the Kernel API Manual. yes it's a struct, yes it's about the RSS lookup table, and yes we're gonna make it make sense πŸ’…


✨ NAME ✨

struct virtchnl2_rss_lut β€” RSS LUT info. that's it, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

struct virtchnl2_rss_lut {
    __le32 vport_id;
    __le16 lut_entries_start;
    __le16 lut_entries;
    u8 pad[4];
    __le32 lut[];
};

look at her. five members, one flexible array, zero notes. she's giving minimal main character energy πŸ‘‘


πŸ’– Members πŸ’–

  • vport_id β€” the Vport id. which vport is this LUT for? this one. periodt.
  • lut_entries_start β€” start of LUT entries. where the entries begin, fr fr.
  • lut_entries β€” Number of LUT entrties. 🫢 (yep, "entrties" β€” that's literally how it's spelled in the source, and honestly? iconic. keeping it exactly as-is, no cap.)
  • pad β€” Padding. it's here to keep things aligned and looking cute. do not perceive it. πŸ™ˆ
  • lut β€” RSS lookup table. the actual star of the show, the flexible array, the reason we're all here πŸ’«

πŸ’œ Description πŸ’œ

so the PF sends this message to get or set the RSS lookup table. that's the whole job.

⚠️ important caveat bestie: this is only supported if both PF and CP drivers set the VIRTCHNL2_CAP_RSS bit during configuration negotiation. both of them. if either one skips it, this whole thing is a no-go, so do the vibe check first 😭

it's associated with VIRTCHNL2_OP_GET_RSS_LUT and VIRTCHNL2_OP_SET_RSS_LUT β€” those are the two ops she rolls with πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

all the siblings, linked from the Kernel file ./include/linux/net/intel/virtchnl2.h. yes, the whole family reunion, we're listing every single one because every single one matters 🫢

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

okay that's the whole page bestie, you ate that πŸ’…βœ¨

and a lil cute sign-off: this one comes from ./include/linux/net/intel and it's dated October 2026 🌈 so like, future-coded but make it kernel. mwah πŸ’‹ πŸŽ€

πŸ“¦ where this page comes from