Thread (26 messages) read the whole thread 26 messages, 4 authors, 2011-06-22
STALE5519d

Revision v1 of 3 in this series.

Revisions (3)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]

[PATCH 11/11] ucc_geth: enable transmit time stamping.

From: Richard Cochran <richardcochran@gmail.com>
Date: 2011-06-19 11:20:33
Subsystem: networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

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

Cc: Shlomi Gridish <redacted>
Cc: Li Yang <redacted>
Signed-off-by: Richard Cochran <redacted>
---
 drivers/net/ucc_geth.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index ef04105..b091108 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3179,6 +3179,7 @@ static int ucc_geth_start_xmit(struct sk_buff *skb, struct net_device *dev)
 	out_be16(uccf->p_utodr, UCC_FAST_TOD);
 #endif
 	spin_unlock_irqrestore(&ugeth->lock, flags);
+	skb_tx_timestamp(skb);
 
 	return NETDEV_TX_OK;
 }
-- 
1.7.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help