The Ethernet hardware *is* a 2 port switch in a phone which does support vlan tag insertion in the switch and driver. The driver is third party which I'm trying to get working with vlans.
But i can't see how the vlan info propagates down to the switch driver. On Mon, May 1, 2017 at 10:37 AM, Andrew Lunn <and...@lunn.ch> wrote: >> > By what mechanism does the vlan driver (8021q.ko) tell the Ethernet >> > hardware about a vlan? > > Why would the Ethernet hardware need to know? > > An Ethernet Switch might need to know. If so, then switchdev would be > used, include/net/switchdev.h > > Andrew