]> 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)
commitb67145e5f85f5e5fcf8b22af51fc42b79db42a61
tree5da175f1b127d764059a4d649f548d20805f1188
parent66f79ab97adfc23c8bb3431c199663df1957f18a
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