Commit 3b182d7d authored by Richard Cochran's avatar Richard Cochran Committed by David S. Miller
Browse files

mv643xx_eth: enable transmit time stamping.



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

Signed-off-by: default avatarRichard Cochran <richard.cochran@omicron.at>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 73151ce3
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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;