From: Toshiaki Makita Subject: Re: [PATCH net-next 5/5] rocker: remove support for legacy VLAN ndo ops Date: Tue, 02 Jun 2015 15:47:51 +0900 Message-ID: <556D5197.2070300@lab.ntt.co.jp> References: <1433183947-13095-1-git-send-email-sfeldma@gmail.com> <1433183947-13095-6-git-send-email-sfeldma@gmail.com> <556D363A.5010005@lab.ntt.co.jp> <20150601.222442.1854333703599698362.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: sfeldma@gmail.com, netdev@vger.kernel.org, jiri@resnulli.us, simon.horman@netronome.com To: David Miller Return-path: Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]:33260 "EHLO tama500.ecl.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752585AbbFBGsG (ORCPT ); Tue, 2 Jun 2015 02:48:06 -0400 In-Reply-To: <20150601.222442.1854333703599698362.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: On 2015/06/02 14:24, David Miller wrote: > From: Toshiaki Makita > Date: Tue, 02 Jun 2015 13:51:06 +0900 > >> On 2015/06/02 3:39, sfeldma@gmail.com wrote: >>> From: Scott Feldman >>> >>> Remove support for legacy ndo ops >>> .ndo_vlan_rx_add_vid/.ndo_vlan_rx_kill_vid. Rocker will use >>> bridge_setlink/dellink exclusively for VLAN add/del operations. >>> >>> The legacy ops are needed if using 8021q driver module to setup VLANs on >>> the port. But an alternative exists in using bridge_setlink/delink to >>> setup VLANs, which doesn't depend on 8021q module. So rocker will switch >>> to the newer setlink/dellink ops. VLANs can added/delete from the port, >>> regardless if port is bridged or not, using the bridge commands: >>> >>> bridge vlan [add|del] vid VID dev DEV self >> >> Hi Scott, >> >> This doesn't look transparent with bridge. >> >> Before this patch, I was able to add vid in the same way as software bridge: >> >> ip link set DEV master br0 >> bridge vlan add vid VID dev DEV >> >> Now I need to add "self", which is different from software bridge... > > I'm already not liking the looks of this.... I thought one of purposes of implementing ndo_vlan_rx_add_vid() is to make "bridge vlan add (master)" for bridged-ports work like software bridges. Sorry if I misunderstood. Toshiaki Makita