STRUCT MXL862XX_EXTENDEDVLAN_FILTER_VLAN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct mxl862xx_extendedvlan_filter_vlan β€” the per-tag filter in Extended VLAN, bestie ✨

Ok so real talk, this little struct is part of the Kernel API Manual (yes that one, the struct mxl86..._filter_vlan(9) page 🫢), and it's literally the thing that says "hey, does this tag match or not" for one single tag. One tag. One filter. Very main character, very focused πŸ’…


✨ SYNOPSIS ✨

struct mxl862xx_extendedvlan_filter_vlan {
    __le32 type;
    u8 priority_enable;
    __le32 priority_val;
    u8 vid_enable;
    __le32 vid_val;
    __le32 tpid;
    __le32 dei;
 };

That's the whole vibe check right there πŸ‘‘ every field copied exactly, no cap.


🌸 MEMBERS 🌸

  • type β€” the tag presence/type match, and it works off enum mxl862xx_extended_vlan_filter_type πŸŽ€ so like, what kind of tag are we even looking for energy.
  • priority_enable β€” turns on PCP value matching. u8, so it's the little on/off switch for "do we care about priority" πŸ™ˆ
  • priority_val β€” the actual PCP value to match. This is the one you're comparing against when priority_enable said yes πŸ’–
  • vid_enable β€” enables VID matching. Same deal, it's the gate before vid_val even gets a look in ✨
  • vid_val β€” the VID value to match. The VLAN ID you're hunting for πŸ¦‹
  • tpid β€” TPID match mode, and it's an enum mxl862xx_extended_vlan_filter_tpid situation. Literally which TPID flavour you're matching πŸ”₯
  • dei β€” DEI match mode β€” enum mxl862xx_extended_vlan_filter_dei. Yes DEI, no we're not getting into it, it's the drop eligible indicator field ok 😭
ngl bestie, notice how priority_enable and vid_enable are u8 while all the value fields are __le32 β€” that's little-endian on the wire, so don't go writing raw host-order numbers in there and then acting surprised πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Ok this is the part where the manpage just dumps its entire friend group on you, and honestly? iconic. All of these live in the Kernel file ./drivers/net/dsa/mxl862xx/mxl862xx-api.h πŸ’œ

  • 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(9)
  • struct mxl862xx_extendedvlan_treatment_vlan(9)
  • struct mxl862xx_extendedvlan_treatment(9)
  • struct mxl862xx_extendedvlan_alloc(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 ✨

This beauty ships out of ./drivers/net/dsa/mxl862xx, dated October 2026, and it answers to struct mxl86..._filter_vlan(9) πŸŽ€ go forth and filter those tags, you absolute icon πŸ’–πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from