STRUCT MXL862XX_VF_BLOCK(9)
π NAME π
okay so bestie, this is struct mxl862xx_vf_block(9) from the Kernel API Manual, and it's literally the per-port VLAN Filter block β that's the whole name, no cap. iconic little descriptor, honestly π«Ά
β¨ SYNOPSIS β¨
struct mxl862xx_vf_block {
bool allocated;
u16 block_id;
u16 block_size;
u16 active_count;
struct list_head vids;
};
π Members π
allocatedβ whether the HW block has been allocated viaVLANFILTER_ALLOC. basically the βis this thing claimed yet?β flag, fr fr.block_idβ HW VLAN Filter block ID fromVLANFILTER_ALLOC. the actual ID handed back by the hardware, iykyk.block_sizeβ total entries allocated in this block. the full size of the block, periodt.active_countβ number of ALLOW entries at indices[0, active_count). The bridge port config sendsmax(active_count, 1)asblock_sizeto narrow the HW scan window.discard_unmatched_taggedhandles frames outside this range. highkey important detail, don't skip it bestie πvidsβ list ofmxl862xx_vf_videntries programmed in this block. the little roster of vids chilling in here π¦
π¦ SEE ALSO π¦
Kernel file: ./drivers/net/dsa/mxl862xx/mxl862xx.h β yes, that's the spot π
mxl862xx_fw_portmap_set_bit(9)mxl862xx_fw_portmap_clear_bit(9)mxl862xx_fw_portmap_is_empty(9)struct mxl862xx_vf_vid(9)struct mxl862xx_evlan_block(9)struct mxl862xx_port_stats(9)struct mxl862xx_port(9)struct mxl862xx_pcs(9)struct mxl862xx_fw_version(9)struct mxl862xx_priv(9)
and that's the vibe check complete π
source/version: ./drivers/net/dsa/mxl862xx Β· date: October 2026 Β· page: struct mxl862xx_vf_block(9) π«Ά
π¦ 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