aboutsummaryrefslogtreecommitdiff
path: root/net/dsa
diff options
context:
space:
mode:
authorGravatar Vladimir Oltean <olteanv@gmail.com> 2019-06-08 15:04:35 +0300
committerGravatar David S. Miller <davem@davemloft.net> 2019-06-08 15:20:40 -0700
commit47ed985e97f513b7746270e8c5d1f3a3f959b2da (patch)
treec70af72c3b2ca53b3f97d1f124d159b5c79ae8a1 /net/dsa
parentnet: dsa: sja1105: Add support for the PTP clock (diff)
downloadlinux-47ed985e97f513b7746270e8c5d1f3a3f959b2da.tar.gz
linux-47ed985e97f513b7746270e8c5d1f3a3f959b2da.tar.bz2
linux-47ed985e97f513b7746270e8c5d1f3a3f959b2da.zip
net: dsa: sja1105: Add logic for TX timestamping
On TX, timestamping is performed synchronously from the port_deferred_xmit worker thread. In management routes, the switch is requested to take egress timestamps (again partial), which are reconstructed and appended to a clone of the skb that was just sent. The cloning is done by DSA and we retrieve the pointer from the structure that DSA keeps in skb->cb. Then these clones are enqueued to the socket's error queue for application-level processing. Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions