diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-06-11 22:01:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-11 12:45:38 -0700 |
commit | 30b73242e679fb6cdee9f00aac6e05278fef48ca (patch) | |
tree | ee7dbd9527a583c6d5b6622b5eafaac0e8a5a21b /include/linux/dsa | |
parent | 4913b8ebf8a9c56ce66466b4daa07d7d4678cdd8 (diff) |
net: dsa: sja1105: add the RX timestamping procedure for SJA1110
This is really easy, since the full RX timestamp is in the DSA trailer
and the tagger code transfers it to SJA1105_SKB_CB(skb)->tstamp, we just
need to move it to the skb shared info region. This is as opposed to
SJA1105, where the RX timestamp was received in a meta frame (so there
needed to be a state machine to pair the 2 packets) and the timestamp
was partial (so the packet, once matched with its timestamp, needed to
be added to an RX timestamping queue where the PTP aux worker would
reconstruct that timestamp).
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/dsa')
0 files changed, 0 insertions, 0 deletions