]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/net/dsa.h
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)
commit5da11eb407340233a6111c563419e19685a062a4
tree5d38aff912ff78029a00d98619452c0abcd34364
parentd7b1fd520d5d4271f4ab9b1671afbdcd868039d3
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