]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: make tag_8021q operations part of the core
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 19 Jul 2021 17:14:49 +0000 (20:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2021 13:36:42 +0000 (06:36 -0700)
commit536562097e3f5b7d6539b78f10a12d37c62963aa
tree5d38aff912ff78029a00d98619452c0abcd34364
parentd512cac38ebdfba831f4571d1a53cfda36da4879
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>
drivers/net/dsa/ocelot/felix.c
drivers/net/dsa/sja1105/sja1105_main.c
include/linux/dsa/8021q.h
include/net/dsa.h
net/dsa/tag_8021q.c