ENUM MXL862XX_BRIDGE_PORT_CONFIG_MASK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum mxl862xx_bridge_port_config_mask(9) β€” Kernel API Manual, but make it make sense

okay so bestie, welcome to the glow-up doc for enum mxl862xx_bridge_port_config_mask β€” it's a Kernel API Manual page and honestly it's giving "which parts of my bridge port config do you actually wanna touch?" energy ✨


🌸 NAME 🌸

enum mxl862xx_bridge_port_config_mask β€” the Bridge Port configuration mask, aka the little bitfield that decides which knobs on a bridge port you're allowed to spin πŸŽ›οΈ


✨ SYNOPSIS ✨

enum mxl862xx_bridge_port_config_mask {
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_BRIDGE_ID ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_INGRESS_VLAN ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_VLAN ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_INGRESS_MARKING ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_REMARKING ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_INGRESS_METER ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_SUB_METER ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_CTP_MAPPING ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_BRIDGE_PORT_MAP ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_MC_DEST_IP_LOOKUP ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_MC_SRC_IP_LOOKUP ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_MC_DEST_MAC_LOOKUP ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_MC_SRC_MAC_LEARNING ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_MAC_SPOOFING ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_PORT_LOCK ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_MAC_LEARNING_LIMIT ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_MAC_LEARNED_COUNT ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_INGRESS_VLAN_FILTER ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_VLAN_FILTER1 ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_VLAN_FILTER2 ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_VLAN_BASED_MAC_LEARNING ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_VLAN_BASED_MULTICAST_LOOKUP ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_LOOP_VIOLATION_COUNTER ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_ALL ,
    MXL862XX_BRIDGE_PORT_CONFIG_MASK_FORCE

};

πŸŽ€ Constants πŸŽ€

twenty-five little icons and every single one is a whole personality, ngl πŸ‘‘

  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_BRIDGE_ID β€” the mask for bridge_id 🫢
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_INGRESS_VLAN β€” the mask for ingress_extended_vlan_enable, ingress_extended_vlan_block_id and ingress_extended_vlan_block_size (yes, all three, they're a package deal)
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_VLAN β€” the mask for egress_extended_vlan_enable, egress_extended_vlan_block_id and egress_extended_vlan_block_size β€” the egress twin, she ate πŸ’…
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_INGRESS_MARKING β€” the mask for ingress_marking_mode
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_REMARKING β€” the mask for egress_remarking_mode
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_INGRESS_METER β€” the mask for ingress_metering_enable and ingress_traffic_meter_id
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_SUB_METER β€” the mask for egress_sub_metering_enable and egress_traffic_sub_meter_id
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_CTP_MAPPING β€” the mask for dest_logical_port_id, pmapper_enable, dest_sub_if_id_group, pmapper_mapping_mode, pmapper_id_valid and pmapper β€” that's six whole fields, she's an overachiever fr fr
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_BRIDGE_PORT_MAP β€” the mask for bridge_port_map
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_MC_DEST_IP_LOOKUP β€” the mask for mc_dest_ip_lookup_disable
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_MC_SRC_IP_LOOKUP β€” the mask for mc_src_ip_lookup_enable
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_MC_DEST_MAC_LOOKUP β€” the mask for dest_mac_lookup_disable
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_MC_SRC_MAC_LEARNING β€” the mask for src_mac_learning_disable
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_MAC_SPOOFING β€” the mask for mac_spoofing_detect_enable πŸ•΅οΈβ€β™€οΈ
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_PORT_LOCK β€” the mask for port_lock_enable πŸ”’
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_MAC_LEARNING_LIMIT β€” the mask for mac_learning_limit_enable and mac_learning_limit
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_MAC_LEARNED_COUNT β€” the mask for mac_learning_count
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_INGRESS_VLAN_FILTER β€” the mask for ingress_vlan_filter_enable, ingress_vlan_filter_block_id and ingress_vlan_filter_block_size
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_VLAN_FILTER1 β€” the mask for bypass_egress_vlan_filter1, egress_vlan_filter1enable, egress_vlan_filter1block_id and egress_vlan_filter1block_size (and yeah, egress_vlan_filter1enable really is spelled like that, no space, that's the actual name, don't @ me πŸ’€)
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_EGRESS_VLAN_FILTER2 β€” the mask for egress_vlan_filter2enable, egress_vlan_filter2block_id and egress_vlan_filter2block_size
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_VLAN_BASED_MAC_LEARNING β€” the mask for vlan_tag_selection, vlan_src_mac_priority_enable, vlan_src_mac_dei_enable, vlan_src_mac_vid_enable, vlan_dst_mac_priority_enable, vlan_dst_mac_dei_enable and vlan_dst_mac_vid_enable β€” seven fields, main character energy 🌈
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_VLAN_BASED_MULTICAST_LOOKUP β€” the mask for vlan_multicast_priority_enable, vlan_multicast_dei_enable and vlan_multicast_vid_enable
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_LOOP_VIOLATION_COUNTER β€” the mask for loop_violation_count πŸ”
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_ALL β€” Enable all. all of it. every last one. slay πŸŽ‰
  • MXL862XX_BRIDGE_PORT_CONFIG_MASK_FORCE β€” Bypass any check for debug purpose πŸ›
⚠️ bestie, clock that last one: MXL862XX_BRIDGE_PORT_CONFIG_MASK_FORCE bypasses any check and it's explicitly for debug purpose. that's a debug-only vibe, not a shipping vibe. handle with care πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

all her friends, in the order they were invited to the group chat, defined 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_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_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 lore drop πŸ’– this page lives in ./drivers/net/dsa/mxl862xx, dated October 2026 β€” so like, future girlie behavior honestly. go read your masks, bestie, you've got this πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from