ENUM MXL862XX_SS_SP_TAG_RX_PEN(9)
π
enum mxl862xx_ss_sp_tag_rx_pen (9) β from the Kernel API Manual, bestie β¨
okay so this is a page straight out of the Kernel API Manual, and it's literally all about one little enum that decides what goes into the RX special tag over the preamble π no cap, that's the whole vibe.
πΈ NAME πΈ
enum mxl862xx_ss_sp_tag_rx_pen β RX special tag info over preamble. that's it, that's the queen π
β¨ SYNOPSIS β¨
enum mxl862xx_ss_sp_tag_rx_pen {
MXL862XX_SS_SP_TAG_RX_PEN_ALL_0 ,
MXL862XX_SS_SP_TAG_RX_PEN_BYTE_5_IS_16 ,
MXL862XX_SS_SP_TAG_RX_PEN_BYTE_5_FROM_PREAMBLE ,
MXL862XX_SS_SP_TAG_RX_PEN_BYTE_2_TO_7_FROM_PREAMBLE
};
like, four whole constants, and every single one is iconic in its own way π«Ά
π¦ Constants π¦
MXL862XX_SS_SP_TAG_RX_PEN_ALL_0β the special tag info that gets inserted from byte 2 to 7 is all 0. yep, all of it. zeroes. slay πMXL862XX_SS_SP_TAG_RX_PEN_BYTE_5_IS_16β special tag byte 5 is16, and the other bytes from 2 to 7 are0. byte 5 said "main character energy" and the rest said "we're background dancers" πMXL862XX_SS_SP_TAG_RX_PEN_BYTE_5_FROM_PREAMBLEβ special tag byte 5 comes from the preamble field, and the others are0. so byte 5 is literally pulling its content from the preamble, iykyk πMXL862XX_SS_SP_TAG_RX_PEN_BYTE_2_TO_7_FROM_PREAMBLEβ special tag byte 2 to 7 are all from the preamble field. the whole squad got invited, periodt π₯
π SEE ALSO π
first up, the source of truth lives in the kernel file at ./drivers/net/dsa/mxl862xx/mxl862xx-api.h β go pay your respects π
and then the whole extended friend group, fr fr:
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_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)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 the whole thing bestie!! π§π this page lives under ./drivers/net/dsa/mxl862xx and it's dated October 2026 β mwah, go read the other (9) pages, ily ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms