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

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
......@@ -840,6 +840,8 @@ static int txq_submit_skb(struct tx_queue *txq, struct sk_buff *skb)
__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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment