From: Richard Cochran Date: Tue, 21 Jun 2011 23:01:11 +0000 (-0700) Subject: mv643xx_eth: enable transmit time stamping. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3b182d7d4287f38711f70d58d68cf2a34e582992;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git mv643xx_eth: enable transmit time stamping. This patch enables software (and phy device) transmit time stamping. Compile tested only. Signed-off-by: Richard Cochran Signed-off-by: David S. Miller --- diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 1b7d2c1c34b..77dc6abe186 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c @@ -840,6 +840,8 @@ no_csum: __skb_queue_tail(&txq->tx_skb, skb); + skb_tx_timestamp(skb); + /* ensure all other descriptors are written before first cmd_sts */ wmb(); desc->cmd_sts = cmd_sts;