[06/10] dnet: enable transmit time stamping.

Submitted by Richard Cochran on June 10, 2011, 3:07 p.m.

Details

Message ID fa729a4eb4698e8eb0b0dfa89170b95f6e95f7b5.1307717675.git.richard.cochran@omicron.at
State Superseded
Delegated to: David Miller
Headers show

Commit Message

Richard Cochran June 10, 2011, 3:07 p.m.
This patch enables software (and phy device) transmit time stamping
in the "Dave ethernet interface." Compile tested only.

Cc: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
---
 drivers/net/dnet.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c
index 8318ea0..c36763c 100644
--- a/drivers/net/dnet.c
+++ b/drivers/net/dnet.c
@@ -587,6 +587,8 @@  static netdev_tx_t dnet_start_xmit(struct sk_buff *skb, struct net_device *dev)
 		dnet_writel(bp, irq_enable, INTR_ENB);
 	}
 
+	skb_tx_timestamp(skb);
+
 	/* free the buffer */
 	dev_kfree_skb(skb);