summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2012-04-27 13:04:06 +0400
committerDavid S. Miller <davem@davemloft.net>2012-05-01 05:33:27 +0400
commit8373c57d6fa59ca35ad3cf11d719060051ccd920 (patch)
tree17b6992d1c9baaf5d409578e6d5a8456c4717427 /drivers/net/ethernet
parent80be3129d7152fe73b7d5db4595e2f4267497f24 (diff)
downloadlinux-8373c57d6fa59ca35ad3cf11d719060051ccd920.tar.xz
bnx2x: add transmit timestamping support
Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Eilon Greenstein <eilong@broadcom.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
index 60d5b548f697..afa6cbb6b193 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
@@ -2953,6 +2953,8 @@ netdev_tx_t bnx2x_start_xmit(struct sk_buff *skb, struct net_device *dev)
netdev_tx_sent_queue(txq, skb->len);
+ skb_tx_timestamp(skb);
+
txdata->tx_pkt_prod++;
/*
* Make sure that the BD data is updated before updating the producer