ENUM MXL862XX_MAC_CLEAR_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum mxl862xx_mac_clear_type(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so this one is from the Kernel API Manual (section 9, the kernel-y one), and it's literally just an enum β€” but a very important enum. It's giving "small but mighty" fr fr. πŸ¦‹


✨ NAME ✨

enum mxl862xx_mac_clear_type β€” the MAC table clear type πŸ§ΉπŸ’–


🌸 SYNOPSIS 🌸

enum mxl862xx_mac_clear_type {
    MXL862XX_MAC_CLEAR_PHY_PORT ,
    MXL862XX_MAC_CLEAR_DYNAMIC

};

that's the whole thing. two (2) members, no cap. she's lowkey minimalist. ✨


πŸ‘‘ Constants πŸ‘‘

  • MXL862XX_MAC_CLEAR_PHY_PORT β€” clears the dynamic entries based on port_id 🎯 so like… scoped clearing, main character energy, only touching what belongs to that port.
  • MXL862XX_MAC_CLEAR_DYNAMIC β€” clears all the dynamic entries πŸ’€ the full sweep. no filter, no survivors, just vibes and an empty dynamic table. 🧼
highkey important to know which one you're reaching for β€” one is a targeted lil cleanup and one is the whole-group-chat-leave situation. 😭

πŸ”₯ SEE ALSO πŸ”₯

lowkey the longest guest list ever, but every single one of them made it onto the list, so here we go β€” starting with the kernel file she lives in: 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)
  • 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_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 I said. the whole friend group. 🫢


that's the whole page bestie β€” go clear some MAC entries, but pick your constant on purpose okay? πŸ’œ

source + version + date, cute sign-off style: the path is ./drivers/net/dsa/mxl862xx, dated October 2026, and this lil enum page is titled enum mxl862xx_mac_clear_type(9) β€” mwah, periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from