diff options
| author | Vladimir Oltean <olteanv@gmail.com> | 2019-06-08 15:04:35 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-06-08 15:20:40 -0700 |
| commit | 47ed985e97f513b7746270e8c5d1f3a3f959b2da (patch) | |
| tree | c70af72c3b2ca53b3f97d1f124d159b5c79ae8a1 /include/linux/debugobjects.h | |
| parent | bb77f36ac21d226b8ae4311daceb983be764f746 (diff) | |
| download | cachepc-linux-47ed985e97f513b7746270e8c5d1f3a3f959b2da.tar.gz cachepc-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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
