Thread (26 messages) flat view 26 messages, 4 authors, 2011-06-22

Re: [PATCH 07/11] fs_enet: enable transmit time stamping.

From: Eric Dumazet <hidden>
Date: 2011-06-19 11:58:14

Le dimanche 19 juin 2011 à 13:20 +0200, Richard Cochran a écrit :
quoted hunk ↗ jump to hunk
This patch enables software (and phy device) transmit time stamping.
Compile tested only.

Cc: Pantelis Antoniou <pantelis.antoniou@gmail.com>
Cc: Vitaly Bordug <redacted>
Signed-off-by: Richard Cochran <redacted>
---
 drivers/net/fs_enet/fs_enet-main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c
index 21abb5c..8dcb272 100644
--- a/drivers/net/fs_enet/fs_enet-main.c
+++ b/drivers/net/fs_enet/fs_enet-main.c
@@ -701,6 +701,8 @@ static int fs_enet_start_xmit(struct sk_buff *skb, struct net_device *dev)
 
 	spin_unlock_irqrestore(&fep->tx_lock, flags);
 
+	skb_tx_timestamp(skb);
+
 	return NETDEV_TX_OK;
 }
 
Well, I'll stop my review here, there is the same problem I guess in all
your patches.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help