[net-next PATCH v18 4/8] net: dsa: tag_mtk: add Airoha variant usage of this TAG
Vladimir Oltean
olteanv at gmail.com
Wed Sep 17 03:03:53 PDT 2025
On Wed, Sep 17, 2025 at 11:42:13AM +0200, Christian Marangi wrote:
> On Wed, Sep 17, 2025 at 12:35:41PM +0300, Vladimir Oltean wrote:
> > Unless the few tens of bytes saved matter on OpenWRT, I think this is
> > overkill (and you went too far with my previous suggestion).
> > Two Kconfig options are unnecessary from a maintainance point of view
> > (and config NET_DSA_AN8855 isn't even selecting the correct one!).
> > I suggest you register both tag drivers as part of CONFIG_NET_DSA_TAG_MTK,
> > at least until the differences increase to justify a new option.
> >
>
> Ok, was following the pattern done by the other. Will drop the
> additional kconfig.
tag_ocelot.c is another example which registers 2 taggers under the same
Kconfig option.
More information about the linux-arm-kernel
mailing list