From patchwork Mon Apr 2 14:42:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 894283 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=hauke-m.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pm5K6ax8"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="K1VqZsoJ"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40FFj20QH3z9s29 for ; Tue, 3 Apr 2018 00:58:30 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vtGb/ss+e7MfDHvS5NZnfC7b0RV+n4gC1PDLQhGImS4=; b=pm5K6ax8zMPRVU +wQtjyNIDlbu8429NrKFevke3xoRoV4UaXd369ho+iznAYl9orXFgrHkmBzdNOyNDuI6LFlP16ueB 2xf4m1lwf/SfrP571Wqul5UUCpVCTl/0pgQ2ZP10Fc0x/JRxHOY014hNNBsRe/qQrzGe93QVLk5jU Mt1yCLGi2KjtrqIfZo3+PXTxXejPOa/yCw2AIW5zhh5fBYhBJfaUccH6gfHpcFCSBpIqQZ08ilkCs QUMO49e9l1bvL1f6G2y7axKLocvj7IL+gf8TJZTctiXEBGNPVmulIUIu/zqwKzSswQACLfGFDQqvU f4rwOZss4gxvJ+PujJuA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f30uX-0004Lt-KE; Mon, 02 Apr 2018 14:58:17 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f30gF-00017E-IW for lede-dev@bombadil.infradead.org; Mon, 02 Apr 2018 14:43:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7Q8J3EMgxmix+pUcDuLOxbSHkoQgq/pegR1WvfsTCcs=; b=K1VqZsoJlMv8lmzYrzn82IXJU DRFuuvdSPVyUz4Emhhz69MvbhdQdQl/t68hQ87KAlbE2klm9JZ60dinNrw2pfZWhny1NGjJx+tUz3 JiV3L98REs4D1r8/xK9IoWK9JbtxRRf1sIPD2urDPXyUR3JCDUjBhJKtPdGpJYb+WV67C6Fdkf3kV MxJL2ThJRO0Ue0QQZwGpj3uUlB1ZKofH4kxcfJbNsstY6QmhqWcNVYhHggQjz3AixWZYE389l6To6 9Voy98ORb3F/uU6NBcbXW0Cv47Q5AR6bbQhZ9H03WaRe9QTSJ++YNW+RYXDmCkplGlkMhiDi5cjJz UMe8d3quA==; Received: from mx2.mailbox.org ([80.241.60.215]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f30gC-0008Mp-KM for lede-dev@lists.infradead.org; Mon, 02 Apr 2018 14:43:29 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 3922140E9D; Mon, 2 Apr 2018 16:42:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id TulRf7Vpd6FA; Mon, 2 Apr 2018 16:42:53 +0200 (CEST) From: Hauke Mehrtens To: lede-dev@lists.infradead.org Date: Mon, 2 Apr 2018 16:42:44 +0200 Message-Id: <20180402144244.21811-1-hauke@hauke-m.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180402_104328_781347_ECD14F98 X-CRM114-Status: GOOD ( 15.61 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.1 on merlin.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [80.241.60.215 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record Subject: [LEDE-DEV] [PATCH] kernel: Activate CONFIG_BRIDGE_VLAN_FILTERING X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hauke Mehrtens MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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 Signed-off-by: Hauke Mehrtens --- 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