[LEDE-DEV] [PATCH] kernel: Activate CONFIG_BRIDGE_VLAN_FILTERING

John Crispin john at phrozen.org
Fri Apr 27 00:06:21 PDT 2018



On 02/04/18 16:42, Hauke Mehrtens wrote:
> This allows to configure VLAN aware bridges in Linux, it is also
> possible to offload these VLAN aware bridges with DSA to some hardware,
> which is supported by most of the DSA drivers.
>
> This adds support for the VLAN features mentioned in bridge man page:
> http://man7.org/linux/man-pages/man8/bridge.8.html
>
> This increases the kernel size of an lzma compressed Lantiq xrx200
> kernel by 4.774 Bytes.
>
> Without brdige vlan:
> 1.771.351 bt_homehub-v5a-kernel.bin
>
> With brdige vlan:
> 1.776.125 bt_homehub-v5a-kernel.bin

maybe we should add a dsa FEATURES flag and tie this up together ?

     John

>
> Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
> ---
>   target/linux/generic/config-4.14 | 2 +-
>   target/linux/generic/config-4.9  | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14
> index a27198335d..05dbc834f3 100644
> --- a/target/linux/generic/config-4.14
> +++ b/target/linux/generic/config-4.14
> @@ -625,7 +625,7 @@ CONFIG_BRIDGE=y
>   CONFIG_BRIDGE_IGMP_SNOOPING=y
>   # CONFIG_BRIDGE_NETFILTER is not set
>   # CONFIG_BRIDGE_NF_EBTABLES is not set
> -# CONFIG_BRIDGE_VLAN_FILTERING is not set
> +CONFIG_BRIDGE_VLAN_FILTERING=y
>   # CONFIG_BROADCOM_PHY is not set
>   CONFIG_BROKEN_ON_SMP=y
>   # CONFIG_BSD_DISKLABEL is not set
> diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config-4.9
> index 3f050c205c..b34a094f69 100644
> --- a/target/linux/generic/config-4.9
> +++ b/target/linux/generic/config-4.9
> @@ -597,7 +597,7 @@ CONFIG_BRIDGE=y
>   CONFIG_BRIDGE_IGMP_SNOOPING=y
>   # CONFIG_BRIDGE_NETFILTER is not set
>   # CONFIG_BRIDGE_NF_EBTABLES is not set
> -# CONFIG_BRIDGE_VLAN_FILTERING is not set
> +CONFIG_BRIDGE_VLAN_FILTERING=y
>   # CONFIG_BROADCOM_PHY is not set
>   CONFIG_BROKEN_ON_SMP=y
>   # CONFIG_BSD_DISKLABEL is not set




More information about the Lede-dev mailing list