提交 3b182d7d 编写于 作者: R Richard Cochran 提交者: 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: NRichard Cochran <richard.cochran@omicron.at>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册