From: Toshiaki Makita Subject: Re: [PATCH net-next 5/5] rocker: remove support for legacy VLAN ndo ops Date: Tue, 02 Jun 2015 13:51:06 +0900 Message-ID: <556D363A.5010005@lab.ntt.co.jp> References: <1433183947-13095-1-git-send-email-sfeldma@gmail.com> <1433183947-13095-6-git-send-email-sfeldma@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Cc: jiri@resnulli.us, simon.horman@netronome.com To: sfeldma@gmail.com, netdev@vger.kernel.org Return-path: Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]:59881 "EHLO tama500.ecl.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751600AbbFBEvP (ORCPT ); Tue, 2 Jun 2015 00:51:15 -0400 In-Reply-To: <1433183947-13095-6-git-send-email-sfeldma@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: 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... Toshiaki Makita