net: dsa: make tag_8021q operations part of the core
Make tag_8021q a more central element of DSA and move the 2 driver specific operations outside of struct dsa_8021q_context (which is supposed to hold dynamic data and not really constant function pointers). Signed-off-by:Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/dsa/ocelot/felix.c 3 additions, 7 deletionsdrivers/net/dsa/ocelot/felix.c
- drivers/net/dsa/sja1105/sja1105_main.c 3 additions, 7 deletionsdrivers/net/dsa/sja1105/sja1105_main.c
- include/linux/dsa/8021q.h 1 addition, 9 deletionsinclude/linux/dsa/8021q.h
- include/net/dsa.h 7 additions, 0 deletionsinclude/net/dsa.h
- net/dsa/tag_8021q.c 3 additions, 7 deletionsnet/dsa/tag_8021q.c
Loading
Please register or sign in to comment