STRUCT MXL862XX_VF_BLOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 via VLANFILTER_ALLOC. basically the β€œis this thing claimed yet?” flag, fr fr.
  • block_id β€” HW VLAN Filter block ID from VLANFILTER_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 sends max(active_count, 1) as block_size to narrow the HW scan window. discard_unmatched_tagged handles frames outside this range. highkey important detail, don't skip it bestie 😭
  • vids β€” list of mxl862xx_vf_vid entries 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 πŸ‘‘


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