ENUM MXL862XX_BRIDGE_CONFIG_MASK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum mxl862xx_bridge_config_mask(9) β€” Kernel API Manual, section 9 πŸŽ€

okay so bestie, we're in the Kernel API Manual (section 9, the kernel-API girlies) and today's main character is enum mxl862xx_bridge_config_mask β€” literally the bridge configuration mask. it's giving "which bridge settings am i even talking about" energy and honestly? iconic. ✨


🌸 NAME 🌸

enum mxl862xx_bridge_config_mask β€” the Bridge configuration mask. that's it, that's the whole vibe check. ngl it's a mask for bridge config stuff, and we're about to meet every single one of its members. no skipping, bestie. 🫢


✨ SYNOPSIS ✨

here's the whole enum, laid out exactly like the kernel gods wrote it β€” copy it, don't touch it, don't "fix" the commas:

enum mxl862xx_bridge_config_mask {
    MXL862XX_BRIDGE_CONFIG_MASK_MAC_LEARNING_LIMIT ,
    MXL862XX_BRIDGE_CONFIG_MASK_MAC_LEARNED_COUNT ,
    MXL862XX_BRIDGE_CONFIG_MASK_MAC_DISCARD_COUNT ,
    MXL862XX_BRIDGE_CONFIG_MASK_SUB_METER ,
    MXL862XX_BRIDGE_CONFIG_MASK_FORWARDING_MODE ,
    MXL862XX_BRIDGE_CONFIG_MASK_ALL ,
    MXL862XX_BRIDGE_CONFIG_MASK_FORCE

};

seven constants. all of them matter. let's gooo πŸ”₯


πŸ¦‹ Constants πŸ¦‹

  • MXL862XX_BRIDGE_CONFIG_MASK_MAC_LEARNING_LIMIT β€” the mask for mac_learning_limit_enable and mac_learning_limit. two fields, one mask, we love efficiency πŸ’–
  • MXL862XX_BRIDGE_CONFIG_MASK_MAC_LEARNED_COUNT β€” the mask for mac_learning_count. that's it, that's the whole job πŸ’…
  • MXL862XX_BRIDGE_CONFIG_MASK_MAC_DISCARD_COUNT β€” the mask for learning_discard_event. learning! discarding! counting! the drama πŸ“
  • MXL862XX_BRIDGE_CONFIG_MASK_SUB_METER β€” the mask for sub_metering_enable and traffic_sub_meter_id. yes bestie, metering, but sub 🧚
  • MXL862XX_BRIDGE_CONFIG_MASK_FORWARDING_MODE β€” the mask for forward_broadcast, forward_unknown_multicast_ip, forward_unknown_multicast_non_ip and forward_unknown_unicast. that's a whole squad of forwarding fields under one flag, highkey efficient πŸ‘‘
  • MXL862XX_BRIDGE_CONFIG_MASK_ALL β€” Enable all. everything. the whole buffet. 🌈
  • MXL862XX_BRIDGE_CONFIG_MASK_FORCE β€” Bypass any check for debug purpose. read that again: it bypasses checks, and it's for debug. it's a debug tool, bestie, not a lifestyle. πŸ’€

πŸ” SEE ALSO πŸ”

first up, the source of truth lives in the kernel file ./drivers/net/dsa/mxl862xx/mxl862xx-api.h β€” go say hi to it, it has all the lore:

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

that's a lot of cross-references and every single one of them ate. periodt. πŸ’œ

lowkey reminder: the FORCE member bypasses checks for debug purposes β€” it's a debug escape hatch, not a personality trait. use it on purpose, bestie. πŸ™ˆ

okay and that's the whole page, mwah πŸŽ€ this one lives in ./drivers/net/dsa/mxl862xx, it's dated October 2026, and the page is enum mxl862x..._config_mask(9). iykyk πŸ’– slay responsibly ✨

πŸ“¦ where this page comes from