Return-Path: Date: Fri, 24 Jan 2020 12:58:33 +0100 (CET) Message-Id: <20200124.125833.809170017035214921.davem@davemloft.net> From: David Miller In-Reply-To: <20200124114022.10883-1-nikolay@cumulusnetworks.com> References: <20200124114022.10883-1-nikolay@cumulusnetworks.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] [PATCH net-next v2 0/4] net: bridge: add per-vlan state option List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: nikolay@cumulusnetworks.com Cc: netdev@vger.kernel.org, roopa@cumulusnetworks.com, bridge@lists.linux-foundation.org From: Nikolay Aleksandrov Date: Fri, 24 Jan 2020 13:40:18 +0200 > This set adds the first per-vlan option - state, which uses the new vlan > infrastructure that was recently added. It gives us forwarding control on > per-vlan basis. The first 3 patches prepare the vlan code to support option > dumping and modification. We still compress vlan ranges which have equal > options, each new option will have to add its own equality check to > br_vlan_opts_eq(). The vlans are created in forwarding state by default to > be backwards compatible and vlan state is considered only when the port > state is forwarding (more info in patch 4). > I'll send the selftest for the vlan state with the iproute2 patch-set. > > v2: patch 3: do full (all-vlan) notification only on vlan > create/delete, otherwise use the per-vlan notifications only, > rework how option change ranges are detected, add more verbose error > messages when setting options and add checks if a vlan should be used. Series applied, thanks.