[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABM+yxmdJD2k1kA+fY9Yva24oB8BuDDhS-FQdY2EJM1ghf6xWw@mail.gmail.com>
Date: Mon, 1 May 2017 10:52:17 -0400
From: carl h <heyen2000@...il.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: netdev@...r.kernel.org
Subject: Re: How does vlan driver pass vlan info to the h/w ethernet driver
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 <andrew@...n.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
Powered by blists - more mailing lists