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

2017-04-06 Thread Juergen Borleis
Hi Andrew, On Wednesday 05 April 2017 19:10:01 Andrew Lunn wrote: > [...] > > +static int lan9303_rcv(struct sk_buff *skb, struct net_device *dev, > > + struct packet_type *pt, struct net_device *orig_dev) > > +{ > > + u16 *lan9303_tag; > > + struct dsa_switch_tree *dst = dev-

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

2017-04-05 Thread Andrew Lunn
On Wed, Apr 05, 2017 at 11:20:21AM +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 1/4] net: dsa: add support for the SMSC-LAN9303 tagging format

2017-04-05 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