Re: [PATCH v3 net-next 01/17] net: dsa: Keep a pointer to the skb clone for TX timestamping
From: Florian Fainelli
Date: Tue Jun 04 2019 - 16:36:01 EST
On 6/4/2019 10:07 AM, Vladimir Oltean wrote:
> 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@xxxxxxxxx>
Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>