From 68f51394073b30ef8648f8516d5a7d40c68b1f8a Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Sun, 12 Jun 2011 02:19:04 +0000 Subject: [PATCH] ethoc: enable transmit time stamping. This patch enables software (and phy device) transmit time stamping for the OpenCores 10/100 MAC driver. Compile tested only. Cc: Thierry Reding Signed-off-by: Richard Cochran Signed-off-by: David S. Miller --- drivers/net/ethoc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c index 9162c705c4fa..0e8cc75bb5f4 100644 --- a/drivers/net/ethoc.c +++ b/drivers/net/ethoc.c @@ -875,6 +875,7 @@ static netdev_tx_t ethoc_start_xmit(struct sk_buff *skb, struct net_device *dev) } spin_unlock_irq(&priv->lock); + skb_tx_timestamp(skb); out: dev_kfree_skb(skb); return NETDEV_TX_OK; -- 2.20.1