]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: sja1105: Add a global sja1105_tagger_data structure
authorVladimir Oltean <olteanv@gmail.com>
Sat, 8 Jun 2019 12:04:40 +0000 (15:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jun 2019 22:20:40 +0000 (15:20 -0700)
commit4deb63711f87753d91ab7f9866f8ca268d7544f0
tree5da175f1b127d764059a4d649f548d20805f1188
parent21689bd14df025a7a109ac134c96b681849244a3
net: dsa: sja1105: Add a global sja1105_tagger_data structure

This will be used to keep state for RX timestamping. It is global
because the switch serializes timestampable and meta frames when
trapping them towards the CPU port (lower port indices have higher
priority) and therefore having one state machine per port would create
unnecessary complications.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105.h
drivers/net/dsa/sja1105/sja1105_main.c
include/linux/dsa/sja1105.h