summaryrefslogtreecommitdiffstats
path: root/include/net/netevent.h
diff options
context:
space:
mode:
authorVladimir Oltean2019-06-08 14:04:27 +0200
committerDavid S. Miller2019-06-09 00:20:39 +0200
commit146d442c2357539589da14d374a25c9a82eb7f1e (patch)
tree9bdcb98e6f11c78de5e2c4ec9de5844cc4a13f5a /include/net/netevent.h
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadkernel-qcow2-linux-146d442c2357539589da14d374a25c9a82eb7f1e.tar.gz
kernel-qcow2-linux-146d442c2357539589da14d374a25c9a82eb7f1e.tar.xz
kernel-qcow2-linux-146d442c2357539589da14d374a25c9a82eb7f1e.zip
net: dsa: Keep a pointer to the skb clone for TX timestamping
For drivers that use deferred_xmit for PTP frames (such as sja1105), there is no need to perform matching between PTP frames and their egress timestamps, since the sending process can be serialized. In that case, it makes sense to have the pointer to the skb clone that DSA made directly in the skb->cb. It will be used for pushing the egress timestamp back in the application socket's error queue. Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netevent.h')
0 files changed, 0 insertions, 0 deletions