summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2012-04-27 09:04:04 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-05-01 01:33:25 (GMT)
commiteab467f56371b85c937a5b5969bd15150044b6f9 (patch)
treefb22187577476f8157802d103e496d567e3729d4 /drivers/net/ethernet/intel
parentbb63f1f8a08cf8028564ad04831ebd7a8ffb9cba (diff)
downloadlinux-eab467f56371b85c937a5b5969bd15150044b6f9.tar.xz
e1000: add transmit timestamping support
Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r--drivers/net/ethernet/intel/e1000/e1000_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c b/drivers/net/ethernet/intel/e1000/e1000_main.c
index 3d712f2..40438ea 100644
--- a/drivers/net/ethernet/intel/e1000/e1000_main.c
+++ b/drivers/net/ethernet/intel/e1000/e1000_main.c
@@ -3261,6 +3261,8 @@ static netdev_tx_t e1000_xmit_frame(struct sk_buff *skb,
nr_frags, mss);
if (count) {
+ skb_tx_timestamp(skb);
+
e1000_tx_queue(adapter, tx_ring, tx_flags, count);
/* Make sure there is space in the ring for the next send. */
e1000_maybe_stop_tx(netdev, tx_ring, MAX_SKB_FRAGS + 2);