Re: [net-next, v2, 1/7] net: dsa: check tx timestamp request in core driver

From: Florian Fainelli
Date: Mon Apr 26 2021 - 14:36:45 EST


On 4/26/21 2:37 AM, Yangbo Lu wrote:
> Check tx timestamp request in core driver at very beginning of
> dsa_skb_tx_timestamp(), so that most skbs not requiring tx
> timestamp just return. And drop such checking in device drivers.
>
> Signed-off-by: Yangbo Lu <yangbo.lu@xxxxxxx>
> Tested-by: Kurt Kanzenbach <kurt@xxxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian