module_dsa_tag_driver(9)
πΈ module_dsa_tag_driver(9) πΈ
okay so bestie, welcome to the Kernel API Manual π and today's main character is a macro. yes, a macro. and honestly? it's giving effortless.
β¨ NAME β¨
module_dsa_tag_driver β a helper macro for registering a single DSA tag driver, and it does exactly what it says on the tin π
π¦ SYNOPSIS π¦
module_dsa_tag_driver (__ops );
π ARGUMENTS π
__opsβ the tag driver structures, singular, one of them. "Single tag driver structures," as the elders say. Don't overthink it β¨
π₯ DESCRIPTION π₯
So here's the vibe: this is a helper macro for DSA tag drivers that literally don't do anything special in module init/exit. nothing. no extra chores, no little setup ritual, no dramatic goodbye scene. they just exist and slay π
β οΈ and this is the important part, bestie: each module may only use this macro once. once! one time! that's the limit. and calling it replacesmodule_initandmodule_exitβ so like, don't go calling those yourself too, or it's gonna be a whole mess π
π SEE ALSO π
Kernel file ./net/dsa/tag.h, plus these icons:
dsa_software_untag_vlan_aware_bridge(9)dsa_software_untag_vlan_unaware_bridge(9)dsa_software_vlan_untag(9)module_dsa_tag_drivers(9)
fr fr, that's the whole page. short, sweet, and it ate π«Ά
mwah π β brought to you from ./net/dsa, dated October 2026, and this has been module_dsa_tag_driver(9). go forth and register exactly one tag driver, bestie πβ
π¦ 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