Re: [PATCH v2 1/4] net: dsa: add support for the SMSC-LAN9303 tagging format

2017-04-10 Thread Andrew Lunn
> Hmm. In the transmit path the driver adds four bytes of explicit data after > the two MACs to define the outgoing port. And the hardware uses the first > TAG after the two MACs to forward the packet to a specific port. How should > a userspace app manipulate this behaviour? Juergen Yes, you

Re: [PATCH v2 1/4] net: dsa: add support for the SMSC-LAN9303 tagging format

2017-04-10 Thread Juergen Borleis
Hi Andrew, On Friday 07 April 2017 15:06:10 Andrew Lunn wrote: > On Fri, Apr 07, 2017 at 10:14:59AM +0200, Juergen Borleis wrote: > > To define the outgoing port and to discover the incoming port a regular > > VLAN tag is used by the LAN9303. But its VID meaning is 'special'. > > > > This tag hand

Re: [PATCH v2 1/4] net: dsa: add support for the SMSC-LAN9303 tagging format

2017-04-07 Thread Andrew Lunn
On Fri, Apr 07, 2017 at 10:14:59AM +0200, Juergen Borleis wrote: > To define the outgoing port and to discover the incoming port a regular > VLAN tag is used by the LAN9303. But its VID meaning is 'special'. > > This tag handler/filter depends on some hardware features which must be > enabled in t

[PATCH v2 1/4] net: dsa: add support for the SMSC-LAN9303 tagging format

2017-04-07 Thread Juergen Borleis
To define the outgoing port and to discover the incoming port a regular VLAN tag is used by the LAN9303. But its VID meaning is 'special'. This tag handler/filter depends on some hardware features which must be enabled in the device to provide and make use of this special VLAN tag to control the d