STRUCT MXL862XX_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mxl862xx_cfg(9) β€” like, the Kernel API Manual bestie ✨

okay so this is <pink>struct mxl862xx_cfg</pink>, and it lives in the <cyan>Kernel API Manual</cyan> β€” it's the Global Switch configuration Attributes struct, and honestly? she's the main character of the switch config world πŸ‘‘ no cap.


🌸 NAME 🌸

struct mxl862xx_cfg β€” the Global Switch configuration Attributes, periodt πŸ’…


✨ SYNOPSIS ✨

Here's the whole vibe, character for character, don't touch a thing:

struct mxl862xx_cfg {
    __le32 mac_table_age_timer;
    __le32 age_timer;
    __le16 max_packet_len;
    u8 learning_limit_action;
    u8 mac_locking_action;
    u8 mac_spoofing_action;
    u8 pause_mac_mode_src;
    u8 pause_mac_src[ETH_ALEN];
 };

ik she looks simple but every single field is doing something, ok? let's get into it 🫢


πŸŽ€ Members πŸŽ€

  • mac_table_age_timer β€” the aging timer for the MAC table, except you don't just pick a number here, you go see enum mxl862xx_age_timer. sibling energy, they're linked fr fr πŸ‘€
  • age_timer β€” a custom MAC table aging timer, measured in seconds. yes bestie, actual seconds, not vibes 🌸
  • max_packet_len β€” the Maximum Ethernet packet length. the ceiling. the limit. the "no packet may be longer than this" energy πŸ”₯
  • learning_limit_action β€” what happens when the MAC address table learning limitation gets hit consecutively β€” the automatic consecutive action, so you don't have to think about it πŸ’…
  • mac_locking_action β€” accept or discard the packets that violate MAC port locking. that's it, that's the choice: let 'em in or throw 'em out πŸ™ˆ
  • mac_spoofing_action β€” accept or discard MAC spoofing and port MAC locking violation packets. so this one's the double-threat version of the field above, she covers both πŸ¦‹
  • pause_mac_mode_src β€” the mode for the pause frame MAC source address. the mode, the whole mode, nothing but the mode ✨
  • pause_mac_src β€” the actual pause frame MAC source address itself, an ETH_ALEN-sized array, so like 6 bytes of pure address realness πŸŽ€

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/net/dsa/mxl862xx/mxl862xx-api.h plus this whole friend group right here β€” every single one, no skips:

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

like, that's the whole group chat and every one of them ate πŸ’€πŸ”₯


ngl bestie, this one's all struct fields β€” no commands to run, just go read the linked enum mxl862xx_age_timer(9) if you wanna know what mac_table_age_timer is actually allowed to be πŸ‘‘ iykyk

later, diva 🌈 this lil page came from ./drivers/net/dsa/mxl862xx, dated October 2026 β€” go off, kernel docs, you iconic thing πŸ’–βœ¨

πŸ“¦ where this page comes from