提交 d13d6bff 编写于 作者: R Richard Cochran 提交者: David S. Miller

ucc_geth: enable transmit time stamping.

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

Cc: Shlomi Gridish <gridish@freescale.com>
Cc: Li Yang <leoli@freescale.com>
Signed-off-by: NRichard Cochran <richard.cochran@omicron.at>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1f6e44a6
...@@ -3165,6 +3165,8 @@ static int ucc_geth_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -3165,6 +3165,8 @@ static int ucc_geth_start_xmit(struct sk_buff *skb, struct net_device *dev)
ugeth->txBd[txQ] = bd; ugeth->txBd[txQ] = bd;
skb_tx_timestamp(skb);
if (ugeth->p_scheduler) { if (ugeth->p_scheduler) {
ugeth->cpucount[txQ]++; ugeth->cpucount[txQ]++;
/* Indicate to QE that there are more Tx bds ready for /* Indicate to QE that there are more Tx bds ready for
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册