Re: [PATCH net-next] be2net: Use Kconfig flag to support for enabling/disabling adapters

From: David Miller
Date: Thu Aug 09 2018 - 17:09:25 EST


From: Petr Oros <poros@xxxxxxxxxx>
Date: Wed, 8 Aug 2018 13:35:01 +0200

> Add flags to enable/disable supported chips in be2net.
>
> With disable support are removed coresponding PCI IDs and
> also codepaths with [BE2|BE3|BEx|lancer|skyhawk]_chip checks.
>
> Disable chip will reduce module size by:
> BE2 ~2kb
> BE3 ~3kb
> Lancer ~10kb
> Skyhawk ~9kb
>
> When enable skyhawk only it will reduce module size by ~20kb
>
> New help style in Kconfig
>
> Reviewed-by: Ivan Vecera <ivecera@xxxxxxxxxx>
> Signed-off-by: Petr Oros <poros@xxxxxxxxxx>

Applied.