Skip to content

Commit

Permalink
dnet: enable transmit time stamping.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Cochran authored and David S. Miller committed Jun 13, 2011
1 parent 2669069 commit ff9b307
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/dnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ff9b307

Please sign in to comment.