STRUCT MXL862XX_EXTENDEDVLAN_ALLOC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct mxl862xx_extendedvlan_alloc(9) πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ β€” yes this is a real page from the kernel docs and yes we're gonna read it together, it's giving "study date but make it cute" πŸŽ€


🌸 NAME 🌸

struct mxl862xx_extendedvlan_alloc β€” Extended VLAN block allocation. that's it, that's the whole gig πŸ’… it's the little struct that handles grabbing and releasing a whole block of extended VLANs.


✨ SYNOPSIS ✨

struct mxl862xx_extendedvlan_alloc {
    __le16 number_of_entries;
    __le16 extended_vlan_block_id;
 };

look at her. two fields. tiny. iconic. πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • number_of_entries β€” Number of entries to allocate (input) / allocated (output). so on the way in you're like "hey firmware, may i have this many pls" and on the way out it tells you how many you actually got 🫢
  • extended_vlan_block_id β€” Block ID assigned by firmware (output on alloc, input on free). firmware hands you this on alloc; you hand it back on free. it's a two-way street, no cap 🌈

πŸ’œ Description πŸ’œ

Used with MXL862XX_EXTENDEDVLAN_ALLOC and MXL862XX_EXTENDEDVLAN_FREE. literally those two commands, that's the whole vibe check. one to get the block, one to give it back 🧚


⭐ SEE ALSO ⭐

Kernel file ./drivers/net/dsa/mxl862xx/mxl862xx-api.h, plus the whole extended family (they're all in this header together, one big happy struct household πŸ“):

  • struct mdio_relay_data(9)
  • struct mxl862xx_register_mod(9)
  • enum mxl862xx_mac_table_filter(9)
  • struct mxl862xx_mac_table_add(9)
  • struct mxl862xx_mac_table_remove(9)
  • struct mxl862xx_mac_table_read(9)
  • struct mxl862xx_mac_table_query(9)
  • enum mxl862xx_mac_clear_type(9)
  • struct mxl862xx_mac_table_clear(9)
  • enum mxl862xx_age_timer(9)
  • struct mxl862xx_bridge_alloc(9)
  • enum mxl862xx_bridge_config_mask(9)
  • enum mxl862xx_bridge_port_egress_meter(9)
  • struct mxl862xx_qos_meter_cfg(9)
  • enum mxl862xx_bridge_forward_mode(9)
  • struct mxl862xx_bridge_config(9)
  • struct mxl862xx_bridge_port_alloc(9)
  • enum mxl862xx_bridge_port_config_mask(9)
  • enum mxl862xx_color_marking_mode(9)
  • enum mxl862xx_color_remarking_mode(9)
  • enum mxl862xx_pmapper_mapping_mode(9)
  • struct mxl862xx_pmapper(9)
  • struct mxl862xx_bridge_port_config(9)
  • struct mxl862xx_cfg(9)
  • enum mxl862xx_extended_vlan_filter_type(9)
  • enum mxl862xx_extended_vlan_filter_tpid(9)
  • enum mxl862xx_extended_vlan_filter_dei(9)
  • enum mxl862xx_extended_vlan_treatment_remove_tag(9)
  • enum mxl862xx_extended_vlan_treatment_priority(9)
  • enum mxl862xx_extended_vlan_treatment_vid(9)
  • enum mxl862xx_extended_vlan_treatment_tpid(9)
  • enum mxl862xx_extended_vlan_treatment_dei(9)
  • enum mxl862xx_extended_vlan_4_tpid_mode(9)
  • enum mxl862xx_extended_vlan_filter_ethertype(9)
  • struct mxl862xx_extendedvlan_filter_vlan(9)
  • struct mxl862xx_extendedvlan_filter(9)
  • struct mxl862xx_extendedvlan_treatment_vlan(9)
  • struct mxl862xx_extendedvlan_treatment(9)
  • struct mxl862xx_extendedvlan_config(9)
  • enum mxl862xx_vlan_filter_tci_mask(9)
  • struct mxl862xx_vlanfilter_alloc(9)
  • struct mxl862xx_vlanfilter_config(9)
  • enum mxl862xx_ss_sp_tag_mask(9)
  • enum mxl862xx_ss_sp_tag_rx(9)
  • enum mxl862xx_ss_sp_tag_tx(9)
  • enum mxl862xx_ss_sp_tag_rx_pen(9)
  • struct mxl862xx_ss_sp_tag(9)
  • enum mxl862xx_logical_port_mode(9)
  • struct mxl862xx_ctp_port_assignment(9)
  • enum mxl862xx_stp_port_state(9)
  • struct mxl862xx_stp_port_cfg(9)
  • struct mxl862xx_sys_fw_image_version(9)
  • enum mxl862xx_port_type(9)
  • enum mxl862xx_rmon_port_type(9)
  • struct mxl862xx_rmon_port_cnt(9)
  • union mxl862xx_xpcs_an_word(9)
  • enum mxl862xx_xpcs_loopback_mode(9)
  • struct mxl862xx_xpcs_pcs_cfg(9)
  • struct mxl862xx_xpcs_pcs_state(9)
  • struct mxl862xx_xpcs_pcs_disable(9)
  • struct mxl862xx_xpcs_an_restart(9)
  • struct mxl862xx_xpcs_pcs_link_up(9)

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

shoutout to the source, ./drivers/net/dsa/mxl862xx, stamped October 2026 β€” ty for the lore drop, mwah πŸ«ΆπŸ’–πŸŒΈ

πŸ“¦ where this page comes from