linux/net/dsa
Florian Fainelli 5aed85cec2 net: dsa: allow switches to work without tagging
In case switch port tagging is disabled (voluntarily, or the switch just
does not support it), allow us to continue using the defined set of
dsa_device_ops in net/dsa/slave.c.

We introduce dsa_protocol_is_tagged() to check whether we need to
override skb->protocol and go through the DSA-specifif packet_type
function, or if we just go on and receive the SKB through the normal
path.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-08-27 22:59:40 -07:00
..
dsa_priv.h net: dsa: allow for more complex PHY setups 2014-08-27 22:59:40 -07:00
dsa.c net: dsa: allow for more complex PHY setups 2014-08-27 22:59:40 -07:00
Kconfig dsa: Hide core config options; make drivers select what they need 2012-11-26 17:10:44 -05:00
Makefile dsa: Move switch drivers to new directory drivers/net/dsa 2011-11-29 00:21:36 -05:00
slave.c net: dsa: allow switches to work without tagging 2014-08-27 22:59:40 -07:00
tag_dsa.c net: dsa: reduce number of protocol hooks 2014-08-27 22:59:39 -07:00
tag_edsa.c net: dsa: reduce number of protocol hooks 2014-08-27 22:59:39 -07:00
tag_trailer.c net: dsa: reduce number of protocol hooks 2014-08-27 22:59:39 -07:00