Sat, Oct 10, 2015 at 05:20:28AM CEST, sfel...@gmail.com wrote: >On Fri, Oct 9, 2015 at 3:44 PM, Vivien Didelot ><vivien.dide...@savoirfairelinux.com> wrote: >> Hi Jiri, >> >> On Oct. Friday 09 (41) 01:54 PM, Jiri Pirko wrote: >>> From: Jiri Pirko <j...@mellanox.com> >>> >>> Some drivers need to implement both switchdev vlan ops and >>> vid_add/kill ndos. For that to work in bridge code, we need to try >>> switchdev op first when adding/deleting vlan id. >> >> Just curious, when would a driver need to have both operations? > >Ya, I was kind of curious of that myself. Is this because the driver >wants to support standalone VLANs using 802.1q module and vconfig, as >well as bridge vlans? With the vlan support built into the bridge, >I've been working under the assumption that 802.1q module (and >vconfig) aren't needed, and vlans for a bridged and non-bridge port >can be managed using the "bridge" iproute2 cmd.
Sure, but this is for standalone port device, without being bridged. In that case if you want to use vlan on top of that, you need these ndos. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html