Explorar o código

mv643xx_eth: enable transmit time stamping.

This patch enables software (and phy device) transmit time stamping.
Compile tested only.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
Richard Cochran %!s(int64=14) %!d(string=hai) anos
pai
achega
3b182d7d42
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      drivers/net/mv643xx_eth.c

+ 2 - 0
drivers/net/mv643xx_eth.c

@@ -840,6 +840,8 @@ no_csum:
 
 
 	__skb_queue_tail(&txq->tx_skb, skb);
 	__skb_queue_tail(&txq->tx_skb, skb);
 
 
+	skb_tx_timestamp(skb);
+
 	/* ensure all other descriptors are written before first cmd_sts */
 	/* ensure all other descriptors are written before first cmd_sts */
 	wmb();
 	wmb();
 	desc->cmd_sts = cmd_sts;
 	desc->cmd_sts = cmd_sts;