diff options
author | Willem de Bruijn <willemb@google.com> | 2012-04-27 09:04:05 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-01 01:33:26 (GMT) |
commit | 80be3129d7152fe73b7d5db4595e2f4267497f24 (patch) | |
tree | 890991859ea481524cce4c090c8bffffbe3db193 /drivers/net | |
parent | eab467f56371b85c937a5b5969bd15150044b6f9 (diff) | |
download | linux-fsl-qoriq-80be3129d7152fe73b7d5db4595e2f4267497f24.tar.xz |
e1000e: 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')
-rw-r--r-- | drivers/net/ethernet/intel/e1000e/netdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c index cdfb1d6..140fee1 100644 --- a/drivers/net/ethernet/intel/e1000e/netdev.c +++ b/drivers/net/ethernet/intel/e1000e/netdev.c @@ -5131,6 +5131,8 @@ static netdev_tx_t e1000_xmit_frame(struct sk_buff *skb, /* if count is 0 then mapping error has occurred */ count = e1000_tx_map(tx_ring, skb, first, max_per_txd, nr_frags, mss); if (count) { + skb_tx_timestamp(skb); + netdev_sent_queue(netdev, skb->len); e1000_tx_queue(tx_ring, tx_flags, count); /* Make sure there is space in the ring for the next send. */ |