dnet: enable transmit time stamping.
authorRichard Cochran <richardcochran@gmail.com>
Sun, 12 Jun 2011 02:19:03 +0000 (02:19 +0000)
committerDavid S. Miller <davem@conan.davemloft.net>
Mon, 13 Jun 2011 21:26:15 +0000 (17:26 -0400)
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>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
drivers/net/dnet.c

index b22691046678a0166042d0d8f84faddbcbb904a2..c1063d1540c2acd993e7d695803c64917cafc18d 100644 (file)
@@ -588,6 +588,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);