STRUCT IDPF_VPORT_USER_CONFIG_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct idpf_..._config_data(9) πŸ’…

okay bestie, so this is a page straight out of the Kernel API Manual and it's genuinely iconic β€” it's the struct where a vport keeps all its user-defined configuration values. One of these per vport, no cap. 🫢


✨ NAME ✨

struct idpf_vport_user_config_data β€” the user defined configuration values for each vport. That's it, that's the whole vibe. πŸ’–


🌸 SYNOPSIS 🌸

struct idpf_vport_user_config_data {
    struct idpf_rss_data rss_data;
    struct idpf_q_coalesce *q_coalesce;
    u16 num_req_tx_qs;
    u16 num_req_rx_qs;
    u32 num_req_txq_desc;
    u32 num_req_rxq_desc;
    struct bpf_prog *xdp_prog;
    unsigned long user_flags[BITS_TO_LONGS( __IDPF_USER_FLAGS_NBITS)];
    struct list_head mac_filter_list;
    u32 num_fsteer_fltrs;
    struct list_head flow_steer_list;
        };

like. look at her. she's holding SO much. πŸ‘‘


πŸŽ€ Members πŸŽ€

  • rss_data β€” head over to struct idpf_rss_data for the details, iykyk.
  • q_coalesce β€” an array of per queue coalescing data. one for each queue, she's not playing favorites. ✨
  • num_req_tx_qs β€” the number of TX queues the user requested through ethtool.
  • num_req_rx_qs β€” the number of RX queues the user requested through ethtool.
  • num_req_txq_desc β€” the number of TX queue descriptors the user requested through ethtool.
  • num_req_rxq_desc β€” the number of RX queue descriptors the user requested through ethtool.
  • xdp_prog β€” the requested XDP program to install. πŸ¦‹
  • user_flags β€” the user toggled config flags. main character energy fr.
  • mac_filter_list β€” the list of MAC filters.
  • num_fsteer_fltrs β€” the number of flow steering filters.
  • flow_steer_list β€” the list of flow steering filters.

πŸ’œ Description πŸ’œ

So what's she for? She's used to restore configuration after a reset, because otherwise the vport will get wiped 😭. That's the whole reason she exists β€” the vport gets absolutely obliterated on reset, and this struct is the one holding the receipts so everything can come back. periodt. πŸ’€


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h and honestly like, the entire extended universe of friends:


ok that's the whole page bestie, go be great with your vports πŸ’–

and that's the tea β€” straight from ./drivers/net/ethernet/intel/idpf, dated October 2026, page struct idpf_..._config_data(9). mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from